diff --git a/examples/chip-tool/templates/partials/test_cluster.zapt b/examples/chip-tool/templates/partials/test_cluster.zapt index db477a2268768d..7729459b86e4a0 100644 --- a/examples/chip-tool/templates/partials/test_cluster.zapt +++ b/examples/chip-tool/templates/partials/test_cluster.zapt @@ -226,17 +226,23 @@ class {{filename}}: public TestCommand void {{>failureResponse}}({{>failureArguments}}) { - {{~#unless response.error}} - {{#if optional}}(status == EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE) ? NextTest() : {{/if}}ThrowFailureResponse(); + {{#if response.error}} + VerifyOrReturn(CheckValue("status", status, {{response.error}})); + {{#unless async}}NextTest();{{/unless}} + {{else if response.errorWrongValue}} + VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); + {{#unless async}}NextTest();{{/unless}} {{else}} - {{#unless async}}NextTest();{{/unless}} - {{/unless}} + {{#if optional}}(status == EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE) ? NextTest() : {{/if}}ThrowFailureResponse(); + {{/if}} } void {{>successResponse}}({{>successArguments}}) { {{~#if response.error}} - ThrowSuccessResponse(); + ThrowSuccessResponse(); + {{else if response.errorWrongValue}} + ThrowSuccessResponse(); {{else}} {{! This block can be removed if there is a mechanism to remove the report handler}} {{#if isWaitForReport}} diff --git a/src/app/tests/suites/TestCluster.yaml b/src/app/tests/suites/TestCluster.yaml index e91438c5b4ded4..9c566f158f06fd 100644 --- a/src/app/tests/suites/TestCluster.yaml +++ b/src/app/tests/suites/TestCluster.yaml @@ -25,7 +25,7 @@ tests: - label: "Send Test Not Handled Command" command: "testNotHandled" response: - error: 1 + error: 0x85 # INVALID_COMMAND - label: "Send Test Specific Command" command: "testSpecific" @@ -56,7 +56,7 @@ tests: - name: "arg2" value: 6 response: - error: 1 + error: 0x85 # INVALID_COMMAND # Tests for Boolean attribute @@ -624,7 +624,7 @@ tests: arguments: value: "TestValueLongerThan10" response: - error: true + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute OCTET_STRING" command: "readAttribute" @@ -690,7 +690,7 @@ tests: arguments: value: "☉TestValueLongerThan10☉" response: - error: true + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute CHAR_STRING" command: "readAttribute" @@ -814,8 +814,17 @@ tests: command: "test" endpoint: 200 response: - # No cluster on that endpoint, so expect an error. - error: 1 + # No such endpoint, so expect an error. + # SDK returning wrong error code here so far. + errorWrongValue: 0x7F # UNSUPPORTED_ENDPOINT + + - label: "Send Test Command to unsupported cluster" + command: "test" + endpoint: 0 + response: + # No TestCluster on that, so expect an error. + # SDK returning wrong error code here so far. + errorWrongValue: 0xC3 # UNSUPPORTED_CLUSTER # Tests for vendor id @@ -1471,7 +1480,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_BITMAP8 unchanged Value" command: "readAttribute" @@ -1511,7 +1520,7 @@ tests: arguments: value: 65535 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_BITMAP16 unchanged Value" command: "readAttribute" @@ -1551,7 +1560,7 @@ tests: arguments: value: 4294967295 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_BITMAP32 unchanged Value" command: "readAttribute" @@ -1591,7 +1600,7 @@ tests: arguments: value: "18446744073709551615" response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_BITMAP64 unchanged Value" command: "readAttribute" @@ -1631,7 +1640,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT8U unchanged Value" command: "readAttribute" @@ -1671,7 +1680,7 @@ tests: arguments: value: 65535 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT16U unchanged Value" command: "readAttribute" @@ -1711,7 +1720,7 @@ tests: arguments: value: 4294967295 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT32U unchanged Value" command: "readAttribute" @@ -1751,7 +1760,7 @@ tests: arguments: value: "18446744073709551615" response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT64U unchanged Value" command: "readAttribute" @@ -1791,7 +1800,7 @@ tests: arguments: value: -128 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT8S unchanged Value" command: "readAttribute" @@ -1831,7 +1840,7 @@ tests: arguments: value: -32768 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT16S unchanged Value" command: "readAttribute" @@ -1871,7 +1880,7 @@ tests: arguments: value: -2147483648 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT32S unchanged Value" command: "readAttribute" @@ -1914,7 +1923,7 @@ tests: # work around that. value: "-9223372036854775807LL - 1" response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_INT64S unchanged Value" command: "readAttribute" @@ -1954,7 +1963,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_ENUM8 unchanged Value" command: "readAttribute" @@ -1994,7 +2003,7 @@ tests: arguments: value: 65535 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR - label: "Read attribute NULLABLE_ENUM16 unchanged Value" command: "readAttribute" @@ -2103,9 +2112,18 @@ tests: response: value: "" - - label: "Read nonexistent attribute." + - label: "Read attribute from nonexistent endpoint." endpoint: 200 command: "readAttribute" attribute: "list_int8u" response: - error: 0x86 # UNSUPPORTED_ATTRIBUTE + # SDK returning wrong error code here so far. + errorWrongValue: 0x7F # UNSUPPORTED_ENDPOINT + + - label: "Read attribute from nonexistent cluster." + endpoint: 0 + command: "readAttribute" + attribute: "list_int8u" + response: + # SDK returning wrong error code here so far. + errorWrongValue: 0xC3 # UNSUPPORTED_CLUSTER diff --git a/src/app/tests/suites/TestModeSelectCluster.yaml b/src/app/tests/suites/TestModeSelectCluster.yaml index 1c63a6826024be..44b3b2fcd61dac 100644 --- a/src/app/tests/suites/TestModeSelectCluster.yaml +++ b/src/app/tests/suites/TestModeSelectCluster.yaml @@ -80,4 +80,4 @@ tests: - name: "NewMode" value: 2 response: - error: 1 + error: 0x87 # CONSTRAINT_ERROR diff --git a/src/app/tests/suites/certification/Test_TC_BI_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BI_1_1.yaml index ebaf03afc462ef..9d389f31c051c6 100644 --- a/src/app/tests/suites/certification/Test_TC_BI_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BI_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BI_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BI_2_1.yaml index 4af977b998213a..687f57035305f6 100644 --- a/src/app/tests/suites/certification/Test_TC_BI_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BI_2_1.yaml @@ -90,7 +90,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back the mandatory non-global attribute: StatusFlags" command: "readAttribute" @@ -214,7 +214,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back the optional non-global attribute: Polarity" disabled: true @@ -273,7 +273,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back the optional non-global attribute: ApplicationType" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml index e8f9a9bec501ea..899eff727eec19 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml index 69a46931581529..b96f166e6ad3bc 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml @@ -39,7 +39,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back the mandatory non-global attribute: StateValue" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml index a9dce4c2d47ddb..6f4e025ea0790e 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 4 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml index f5d15b7fc93d98..7af07b6feda8f7 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml @@ -40,7 +40,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: CurrentHue" command: "readAttribute" @@ -69,7 +69,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: CurrentSaturation" command: "readAttribute" @@ -98,7 +98,7 @@ tests: arguments: value: 24939 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: CurrentX" command: "readAttribute" @@ -127,7 +127,7 @@ tests: arguments: value: 24701 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: CurrentY" command: "readAttribute" @@ -160,7 +160,7 @@ tests: arguments: value: 250 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorTemperatureMireds" disabled: true @@ -192,7 +192,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorMode" disabled: true @@ -246,7 +246,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: EnhancedCurrentHue" command: "readAttribute" @@ -276,7 +276,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: EnhancedColorMode" disabled: true @@ -304,7 +304,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorLoopActive" command: "readAttribute" @@ -332,7 +332,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorLoopDirection" command: "readAttribute" @@ -359,7 +359,7 @@ tests: arguments: value: 25 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorLoopTime" command: "readAttribute" @@ -388,7 +388,7 @@ tests: arguments: value: 8960 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorLoopStartEnhancedHue" command: "readAttribute" @@ -417,7 +417,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorLoopStoredEnhancedHue" command: "readAttribute" @@ -447,7 +447,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorCapabilities" command: "readAttribute" @@ -478,7 +478,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorTempPhysicalMinMireds" command: "readAttribute" @@ -509,7 +509,7 @@ tests: arguments: value: 65279 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: ColorTempPhysicalMaxMireds" command: "readAttribute" @@ -532,7 +532,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: CoupleColorTempToLevelMinMireds" command: "readAttribute" @@ -584,7 +584,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: RemainingTime" command: "readAttribute" @@ -607,7 +607,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: DriftCompensation" command: "readAttribute" @@ -630,7 +630,7 @@ tests: arguments: value: "" response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: CompensationText" disabled: true @@ -656,7 +656,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: NumberOfPrimaries" command: "readAttribute" @@ -679,7 +679,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary1X" command: "readAttribute" @@ -702,7 +702,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary1Y" command: "readAttribute" @@ -724,7 +724,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary1Intensity" disabled: true @@ -748,7 +748,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary2X" command: "readAttribute" @@ -771,7 +771,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary2Y" command: "readAttribute" @@ -793,7 +793,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary2Intensity" disabled: true @@ -817,7 +817,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary3X" command: "readAttribute" @@ -840,7 +840,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary3Y" command: "readAttribute" @@ -862,7 +862,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary3Intensity" disabled: true @@ -887,7 +887,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary4X" command: "readAttribute" @@ -910,7 +910,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary4Y" command: "readAttribute" @@ -932,7 +932,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary4Intensity" disabled: true @@ -956,7 +956,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary5X" command: "readAttribute" @@ -979,7 +979,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary5Y" command: "readAttribute" @@ -1001,7 +1001,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary5Intensity" disabled: true @@ -1025,7 +1025,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary6X" command: "readAttribute" @@ -1048,7 +1048,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary6Y" command: "readAttribute" @@ -1070,7 +1070,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back the mandatory attribute: Primary6Intensity" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DIAGTH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DIAGTH_1_1.yaml index ad82f4f0ac1fed..a8c8de7ebf1093 100644 --- a/src/app/tests/suites/certification/Test_TC_DIAGTH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DIAGTH_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" @@ -55,7 +55,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_EMR_1_1.yaml b/src/app/tests/suites/certification/Test_TC_EMR_1_1.yaml index 84183517b32b73..583a2046328cb3 100644 --- a/src/app/tests/suites/certification/Test_TC_EMR_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_EMR_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml index 5f234c018adf51..d85605f11d621d 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 2 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml index 89fe838951588c..bbcebc7cdf0287 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml @@ -47,7 +47,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write the default value to optional attribute: MinMeasuredValue" command: "writeAttribute" @@ -55,7 +55,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write the default value to optional attribute: MaxMeasuredValue" command: "writeAttribute" @@ -63,7 +63,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "read the mandatory attribute: MeasuredValue" command: "readAttribute" @@ -110,7 +110,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "read the optional attribute: Tolerance" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml index 181029d5572e24..9e5eefd04863bb 100644 --- a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml index 680454ae74ef71..0d2a46c4d93a9a 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 4 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_MC_1_1.yaml index d91e39561c6f25..3f1b1ebf93eac8 100644 --- a/src/app/tests/suites/certification/Test_TC_MC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MC_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_MC_3_1.yaml index 619aca4076148a..868e771606a6d9 100644 --- a/src/app/tests/suites/certification/Test_TC_MC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MC_3_1.yaml @@ -138,5 +138,5 @@ tests: - name: "keyCode" value: 0xFF response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE # TODO: Add Step 10 (TH sends Keycode to DUT, when DUT in a processing state) diff --git a/src/app/tests/suites/certification/Test_TC_MC_3_7.yaml b/src/app/tests/suites/certification/Test_TC_MC_3_7.yaml index 310ac4cce8284d..106c34819c10e0 100644 --- a/src/app/tests/suites/certification/Test_TC_MC_3_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_MC_3_7.yaml @@ -54,7 +54,7 @@ tests: - name: "applicationId" value: "NonAvailableApp" response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE # TODO: Update the corresponding values when feature is supported - label: "Launch an app with the provided a application ID" diff --git a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml index 101f7cade87193..d858b61a3c7d22 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 2 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml index 8bf1a7583ac679..c8e37ae6357b24 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml @@ -42,7 +42,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: Occupancy" command: "readAttribute" @@ -74,7 +74,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: OccupancySensorType" command: "readAttribute" @@ -106,7 +106,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: OccupancySensorTypeBitmap" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml index 1d7afedb4c421b..531ae03ff568d1 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 3 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" @@ -53,7 +53,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml index 31a71b217dff39..ff86ffd281191e 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml @@ -32,7 +32,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back mandatory attribute: OnOff" command: "readAttribute" @@ -71,7 +71,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write the default value to LT attribute: OnTime" command: "writeAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml index ecec5e755a94c7..221c4706240212 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 3 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml index 722aad1c69e39f..e0b7884b0cc1ca 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml @@ -112,7 +112,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the mandatory attribute: MaxSpeed" disabled: true @@ -121,7 +121,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the mandatory attribute: MaxFlow" disabled: true @@ -130,7 +130,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the mandatory attribute: EffectiveOperationMode" disabled: true @@ -139,7 +139,7 @@ tests: arguments: value: desc response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the mandatory attribute: EffectiveControlMode" disabled: true @@ -148,7 +148,7 @@ tests: arguments: value: desc response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the mandatory attribute: Capacity" disabled: true @@ -157,7 +157,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "read the mandatory attribute: MaxPressure" disabled: true @@ -479,7 +479,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MaxConstPressure" disabled: true @@ -488,7 +488,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MinCompPressure" disabled: true @@ -497,7 +497,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MaxCompPressure" disabled: true @@ -506,7 +506,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MinConstSpeed" disabled: true @@ -515,7 +515,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MaxConstSpeed" disabled: true @@ -524,7 +524,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MinConstFlow" disabled: true @@ -533,7 +533,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MaxConstFlow" disabled: true @@ -542,7 +542,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MinConstTemp" disabled: true @@ -551,7 +551,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: MaxConstTemp" disabled: true @@ -560,7 +560,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: PumpStatus" disabled: true @@ -569,7 +569,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: Speed" disabled: true @@ -578,7 +578,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: LifetimeRunningHours" disabled: true @@ -596,7 +596,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "write to the optional attribute: LifetimeEnergyConsumed" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml index f933fa94faf83d..99972df2a85a5a 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml @@ -40,7 +40,7 @@ tests: arguments: value: 2 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back global attribute: ClusterRevision" command: "readAttribute" @@ -71,7 +71,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory global attribute: AttributeList" disabled: true @@ -103,7 +103,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory global attribute: CommandList" disabled: true @@ -134,7 +134,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory global attribute: EventList" disabled: true @@ -165,7 +165,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml index 6cd4ff6ec99522..e6a59094d197aa 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml @@ -32,7 +32,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: MeasuredValue" command: "readAttribute" @@ -53,7 +53,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: MinMeasuredValue" command: "readAttribute" @@ -74,7 +74,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back mandatory attribute: MaxMeasuredValue" command: "readAttribute" @@ -96,7 +96,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: Tolerance" disabled: true @@ -120,7 +120,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: ScaledValue" disabled: true @@ -143,7 +143,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: MinScaledValue" disabled: true @@ -166,7 +166,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: MaxScaledValue" disabled: true @@ -189,7 +189,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: ScaledTolerance" disabled: true @@ -212,7 +212,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Reads back optional attribute: Scale" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml index 908d498f2b0216..4bb7859efadf98 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 1 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TM_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TM_1_1.yaml index 4985f0d8006f86..210bd0068db40e 100644 --- a/src/app/tests/suites/certification/Test_TC_TM_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TM_1_1.yaml @@ -33,7 +33,7 @@ tests: arguments: value: 3 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml index d3014413f0a368..c2aef38be7097e 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 5 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml index 128e085d00f0d3..58bdea35932bd6 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml @@ -44,7 +44,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: LocalTemperature" disabled: true @@ -78,7 +78,7 @@ tests: arguments: value: 700 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: AbsMinHeatSetpointLimit" command: "readAttribute" @@ -111,7 +111,7 @@ tests: arguments: value: 3000 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: AbsMaxHeatSetpointLimit" command: "readAttribute" @@ -144,7 +144,7 @@ tests: arguments: value: 1600 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: AbsMinCoolSetpointLimit" command: "readAttribute" @@ -177,7 +177,7 @@ tests: arguments: value: 3200 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: AbsMaxCoolSetpointLimit" command: "readAttribute" @@ -205,7 +205,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: PICoolingDemand" disabled: true @@ -234,7 +234,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back mandatory attributes from DUT: PIHeatingDemand" disabled: true @@ -787,7 +787,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: AlarmMask" disabled: true @@ -824,7 +824,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: ThermostatRunningMode" disabled: true @@ -850,7 +850,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: StartOfWeek" command: "readAttribute" @@ -883,7 +883,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: NumberOfWeeklyTransitions" disabled: true @@ -917,7 +917,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: NumberOfDailyTransitions" disabled: true @@ -1059,7 +1059,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: ThermostatRunningState" disabled: true @@ -1096,7 +1096,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: SetpointChangeSource" disabled: true @@ -1131,7 +1131,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: SetpointChangeAmount" disabled: true @@ -1166,7 +1166,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: SetpointChangeSourceTimestamp" @@ -1203,7 +1203,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: OccupiedSetback" disabled: true @@ -1307,7 +1307,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: UnoccupiedSetback" disabled: true @@ -1640,7 +1640,7 @@ tests: arguments: value: null response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "Read back optional attributes from DUT: ACCoilTemperature" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml index 8eab81fcbbeb86..379044e479db86 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml @@ -34,7 +34,7 @@ tests: arguments: value: 2 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back global attribute: ClusterRevision" disabled: true @@ -57,7 +57,7 @@ tests: arguments: value: 0 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "reads back optional global attribute: FeatureMap" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml index 62b53512042997..76d11c08e4ac19 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml @@ -38,7 +38,7 @@ tests: arguments: value: 201 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back global attribute: ClusterRevision" command: "readAttribute" @@ -65,7 +65,7 @@ tests: arguments: value: 32769 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back global attribute: FeatureMap" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml index b2a5d01ab915f9..6a76205605021f 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml @@ -38,7 +38,7 @@ tests: arguments: value: 250 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO mandatory attribute: Type" command: "readAttribute" @@ -64,7 +64,7 @@ tests: arguments: value: 128 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO mandatory attribute: ConfigStatus" command: "readAttribute" @@ -91,7 +91,7 @@ tests: arguments: value: 128 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO mandatory attribute: OperationalStatus" command: "readAttribute" @@ -117,7 +117,7 @@ tests: arguments: value: 250 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO mandatory attribute: EndProductType" command: "readAttribute" @@ -172,7 +172,7 @@ tests: arguments: value: 20000 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: @@ -204,7 +204,7 @@ tests: arguments: value: 20000 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: @@ -236,7 +236,7 @@ tests: arguments: value: 20000 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: @@ -268,7 +268,7 @@ tests: arguments: value: 20000 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: @@ -298,7 +298,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: InstalledOpenLimitLift" command: "readAttribute" @@ -328,7 +328,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: InstalledClosedLimitLift" @@ -358,7 +358,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: InstalledOpenLimitTilt" command: "readAttribute" @@ -388,7 +388,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "3b: reads back the RO optional attribute: InstalledClosedLimitTilt" @@ -417,7 +417,7 @@ tests: arguments: value: 4096 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO mandatory attribute: SafetyStatus" command: "readAttribute" @@ -448,7 +448,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: PhysicalClosedLimitLift" disabled: true @@ -481,7 +481,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: PhysicalClosedLimitTilt" disabled: true @@ -510,7 +510,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: CurrentPositionLift" command: "readAttribute" @@ -538,7 +538,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: CurrentPositionTilt" command: "readAttribute" @@ -569,7 +569,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: NumberOfActuationsLift" disabled: true @@ -601,7 +601,7 @@ tests: arguments: value: 255 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: NumberOfActuationsTilt" disabled: true @@ -633,7 +633,7 @@ tests: arguments: value: 200 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: @@ -665,7 +665,7 @@ tests: arguments: value: 200 response: - error: 1 + error: 0x88 # UNSUPPORTED_WRITE - label: "5b: reads back the RO optional attribute: diff --git a/src/app/util/af-enums.h b/src/app/util/af-enums.h index 93473655c10d83..945c1204d91555 100644 --- a/src/app/util/af-enums.h +++ b/src/app/util/af-enums.h @@ -26,18 +26,22 @@ enum EmberAfStatus : uint8_t { EMBER_ZCL_STATUS_SUCCESS = 0x00, EMBER_ZCL_STATUS_FAILURE = 0x01, - EMBER_ZCL_STATUS_NOT_AUTHORIZED = 0x7E, + EMBER_ZCL_STATUS_UNSUPPORTED_ACCESS = 0x7E, + EMBER_ZCL_STATUS_NOT_AUTHORIZED = 0x7E, // Deprecated; same as UNSUPPORTED_ACCESS + EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT = 0x7F, EMBER_ZCL_STATUS_MALFORMED_COMMAND = 0x80, - EMBER_ZCL_STATUS_UNSUP_COMMAND = 0x81, + EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND = 0x81, + EMBER_ZCL_STATUS_UNSUP_COMMAND = 0x81, // Deprecated; same as UNSUPPORTED_COMMAND EMBER_ZCL_STATUS_UNSUP_GENERAL_COMMAND = 0x82, EMBER_ZCL_STATUS_UNSUP_MANUF_CLUSTER_COMMAND = 0x83, EMBER_ZCL_STATUS_UNSUP_MANUF_GENERAL_COMMAND = 0x84, EMBER_ZCL_STATUS_INVALID_COMMAND = 0x85, - EMBER_ZCL_STATUS_INVALID_FIELD = 0x85, // Same as INVALID_COMMAND + EMBER_ZCL_STATUS_INVALID_FIELD = 0x85, // Deprecated; same as INVALID_COMMAND EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE = 0x86, EMBER_ZCL_STATUS_CONSTRAINT_ERROR = 0x87, - EMBER_ZCL_STATUS_INVALID_VALUE = 0x87, // Same as CONSTRAINT_ERROR - EMBER_ZCL_STATUS_READ_ONLY = 0x88, + EMBER_ZCL_STATUS_INVALID_VALUE = 0x87, // Deprecated; same as CONSTRAINT_ERROR + EMBER_ZCL_STATUS_UNSUPPORTED_WRITE = 0x88, + EMBER_ZCL_STATUS_READ_ONLY = 0x88, // Deprecated; same as UNSUPPORTED_WRITE EMBER_ZCL_STATUS_INSUFFICIENT_SPACE = 0x89, EMBER_ZCL_STATUS_DUPLICATE_EXISTS = 0x8A, EMBER_ZCL_STATUS_NOT_FOUND = 0x8B, diff --git a/src/app/util/error-mapping.cpp b/src/app/util/error-mapping.cpp index 7745abf5dd68e7..51a19157104994 100644 --- a/src/app/util/error-mapping.cpp +++ b/src/app/util/error-mapping.cpp @@ -34,7 +34,7 @@ EmberAfStatus ToEmberAfStatus(Protocols::InteractionModel::Status code) case imcode::UnsupportedAccess: // 0x7e return EMBER_ZCL_STATUS_NOT_AUTHORIZED; case imcode::UnsupportedEndpoint: // 0x7f - return EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER; + return EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT; case imcode::InvalidAction: // 0x80 return EMBER_ZCL_STATUS_MALFORMED_COMMAND; case imcode::UnsupportedCommand: // 0x81 @@ -123,6 +123,8 @@ Protocols::InteractionModel::Status ToInteractionModelStatus(EmberAfStatus code) return imcode::Failure; case EMBER_ZCL_STATUS_NOT_AUTHORIZED: // 0x7E return imcode::UnsupportedAccess; + case EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT: // 0x7F + return imcode::UnsupportedEndpoint; case EMBER_ZCL_STATUS_MALFORMED_COMMAND: // 0x80 return imcode::InvalidAction; case EMBER_ZCL_STATUS_UNSUP_COMMAND: // 0x81 diff --git a/src/darwin/Framework/CHIP/CHIPError.h b/src/darwin/Framework/CHIP/CHIPError.h index 69c13374293219..ea0c6c32652f21 100644 --- a/src/darwin/Framework/CHIP/CHIPError.h +++ b/src/darwin/Framework/CHIP/CHIPError.h @@ -31,7 +31,13 @@ typedef NS_ERROR_ENUM(CHIPErrorDomain, CHIPErrorCode){ CHIPErrorCodeWrongAddressType = 7, CHIPErrorCodeIntegrityCheckFailed = 8, CHIPErrorCodeDuplicateExists = 9, - CHIPErrorCodeUnsupportedAttribute = 10, + CHIPErrorCodeUnsupportedEndpoint = 0x7F, + CHIPErrorCodeUnsupportedCommand = 0x81, + CHIPErrorCodeInvalidCommand = 0x85, + CHIPErrorCodeUnsupportedAttribute = 0x86, + CHIPErrorCodeConstraintError = 0x87, + CHIPErrorCodeUnsupportedWrite = 0x88, + CHIPErrorCodeUnsupportedCluster = 0xC3, }; NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/CHIPError.mm b/src/darwin/Framework/CHIP/CHIPError.mm index 9e205991884ccf..0cf8db0c967ceb 100644 --- a/src/darwin/Framework/CHIP/CHIPError.mm +++ b/src/darwin/Framework/CHIP/CHIPError.mm @@ -86,10 +86,42 @@ + (NSError *)errorForZCLErrorCode:(uint8_t)errorCode errorWithDomain:CHIPErrorDomain code:CHIPErrorCodeDuplicateExists userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"A Duplicate entry or setting exists.", nil) }]; + case EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT: + return + [NSError errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeUnsupportedEndpoint + userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"Target endpoint does not exist.", nil) }]; + case EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND: + return + [NSError errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeUnsupportedCommand + userInfo:@{ + NSLocalizedDescriptionKey : NSLocalizedString(@"Command is not supported on target cluster.", nil) + }]; + case EMBER_ZCL_STATUS_INVALID_COMMAND: + return [NSError errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeInvalidCommand + userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"Command payload is invalid.", nil) }]; case EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE: return [NSError errorWithDomain:CHIPErrorDomain code:CHIPErrorCodeUnsupportedAttribute userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"Attribute is not supported.", nil) }]; + case EMBER_ZCL_STATUS_CONSTRAINT_ERROR: + return [NSError errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeConstraintError + userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"Value out of range.", nil) }]; + case EMBER_ZCL_STATUS_UNSUPPORTED_WRITE: + return [NSError + errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeUnsupportedWrite + userInfo:@{ NSLocalizedDescriptionKey : NSLocalizedString(@"Attempt to write read-only attribute.", nil) }]; + case EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER: + return + [NSError errorWithDomain:CHIPErrorDomain + code:CHIPErrorCodeUnsupportedCluster + userInfo:@{ + NSLocalizedDescriptionKey : NSLocalizedString(@"Cluster is not supported on target endpoint.", nil) + }]; default: return [NSError errorWithDomain:CHIPErrorDomain code:CHIPErrorCodeUndefinedError @@ -140,8 +172,20 @@ + (uint8_t)errorToZCLErrorCode:(NSError * _Nullable)error switch (error.code) { case CHIPErrorCodeDuplicateExists: return EMBER_ZCL_STATUS_DUPLICATE_EXISTS; + case CHIPErrorCodeUnsupportedEndpoint: + return EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT; + case CHIPErrorCodeUnsupportedCommand: + return EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND; + case CHIPErrorCodeInvalidCommand: + return EMBER_ZCL_STATUS_INVALID_COMMAND; case CHIPErrorCodeUnsupportedAttribute: return EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE; + case CHIPErrorCodeConstraintError: + return EMBER_ZCL_STATUS_CONSTRAINT_ERROR; + case CHIPErrorCodeUnsupportedWrite: + return EMBER_ZCL_STATUS_UNSUPPORTED_WRITE; + case CHIPErrorCodeUnsupportedCluster: + return EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER; case CHIPSuccess: return EMBER_ZCL_STATUS_SUCCESS; default: diff --git a/src/darwin/Framework/CHIP/templates/partials/test_cluster.zapt b/src/darwin/Framework/CHIP/templates/partials/test_cluster.zapt index 820969ceb68f64..163650e05e568e 100644 --- a/src/darwin/Framework/CHIP/templates/partials/test_cluster.zapt +++ b/src/darwin/Framework/CHIP/templates/partials/test_cluster.zapt @@ -76,10 +76,14 @@ bool testSendCluster{{parent.filename}}_{{asTestIndex index}}_{{asUpperCamelCase } {{/if}} - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], {{response.error}}); - {{#unless (isStrEqual "0" response.error)}} - [expectation fulfill]; + {{#if response.error}} + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], {{response.error}}); + [expectation fulfill]; + {{else if response.errorWrongValue}} + XCTAssertNotEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + [expectation fulfill]; {{else}} + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); {{#unless isSubscribeAttribute}} {{#chip_tests_item_response_parameters}} @@ -153,7 +157,7 @@ bool testSendCluster{{parent.filename}}_{{asTestIndex index}}_{{asUpperCamelCase {{else}} testSendCluster{{parent.filename}}_{{asTestIndex index}}_{{asUpperCamelCase command}}_Fulfilled = true; {{/unless}} - {{/unless}} + {{/if}} }]; {{/if}} diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m index d9fc391c3743a2..97cb01ca6fa604 100644 --- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m +++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m @@ -221,7 +221,7 @@ - (void)testSendClusterTest_TC_BI_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -479,7 +479,7 @@ - (void)testSendClusterTest_TC_BI_2_1_000009_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory non-global attribute: StatusFlags Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -745,7 +745,7 @@ - (void)testSendClusterTest_TC_BOOL_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -836,7 +836,7 @@ - (void)testSendClusterTest_TC_BOOL_2_1_000002_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default value to mandatory non-global attribute: StateValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -885,7 +885,7 @@ - (void)testSendClusterTest_TC_CC_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -956,7 +956,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000002_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default value to mandatory attribute: CurrentHue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1050,7 +1050,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000006_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default value to mandatory attribute: CurrentSaturation Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1143,7 +1143,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000010_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default value to mandatory attribute: CurrentX Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1237,7 +1237,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000014_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: CurrentY Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1465,7 +1465,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000024_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: EnhancedCurrentHue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1573,7 +1573,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000029_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: ColorLoopActive Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1663,7 +1663,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000033_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: ColorLoopDirection Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1752,7 +1752,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000037_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: ColorLoopTime Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1844,7 +1844,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000041_WriteAttribute @"Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -1937,7 +1937,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000045_WriteAttribute @"ColorLoopStoredEnhancedHue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2032,7 +2032,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000049_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: ColorCapabilities Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2130,7 +2130,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000053_WriteAttribute @"Write the default values to mandatory attribute: ColorTempPhysicalMinMireds Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2229,7 +2229,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000057_WriteAttribute @"Write the default values to mandatory attribute: ColorTempPhysicalMaxMireds Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2299,7 +2299,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000060_WriteAttribute @"CoupleColorTempToLevelMinMireds Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2472,7 +2472,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000067_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to optional attribute: RemainingTime Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2542,7 +2542,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000070_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to optional attribute: DriftCompensation Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2635,7 +2635,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000074_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: NumberOfPrimaries Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2704,7 +2704,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000077_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary1X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2773,7 +2773,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000080_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary1Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2861,7 +2861,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000084_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary2X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -2930,7 +2930,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000087_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary2Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3018,7 +3018,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000091_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary3X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3087,7 +3087,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000094_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary3Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3175,7 +3175,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000098_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary4X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3244,7 +3244,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000101_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary4Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3332,7 +3332,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000105_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary5X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3401,7 +3401,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000108_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary5Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3489,7 +3489,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000112_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary6X Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -3558,7 +3558,7 @@ - (void)testSendClusterTest_TC_CC_2_1_000115_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default mandatory attribute: Primary6Y Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9100,7 +9100,7 @@ - (void)testSendClusterTest_TC_EMR_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9148,7 +9148,7 @@ - (void)testSendClusterTest_TC_FLW_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9228,7 +9228,7 @@ - (void)testSendClusterTest_TC_FLW_2_1_000003_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default value to optional attribute: MinMeasuredValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9250,7 +9250,7 @@ - (void)testSendClusterTest_TC_FLW_2_1_000004_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default value to optional attribute: MaxMeasuredValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9398,7 +9398,7 @@ - (void)testSendClusterTest_TC_ILL_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -9448,7 +9448,7 @@ - (void)testSendClusterTest_TC_LVL_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10359,7 +10359,7 @@ - (void)testSendClusterTest_TC_MC_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10427,7 +10427,7 @@ - (void)testSendClusterTest_TC_OCC_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10474,7 +10474,7 @@ - (void)testSendClusterTest_TC_OCC_2_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Writes the respective default value to mandatory attribute: Occupancy Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10547,7 +10547,7 @@ - (void)testSendClusterTest_TC_OCC_2_1_000004_WriteAttribute @"Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10624,7 +10624,7 @@ - (void)testSendClusterTest_TC_OCC_2_1_000007_WriteAttribute @"OccupancySensorTypeBitmap Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10736,7 +10736,7 @@ - (void)testSendClusterTest_TC_OO_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -10806,7 +10806,7 @@ - (void)testSendClusterTest_TC_OO_1_1_000004_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to optional global attribute: FeatureMap Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -12491,7 +12491,7 @@ - (void)testSendClusterTest_TC_PRS_1_1_000002_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -12557,7 +12557,7 @@ - (void)testSendClusterTest_TC_PRS_2_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: MeasuredValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -12623,7 +12623,7 @@ - (void)testSendClusterTest_TC_PRS_2_1_000004_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: MinMeasuredValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -12689,7 +12689,7 @@ - (void)testSendClusterTest_TC_PRS_2_1_000007_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write the default values to mandatory attribute: MaxMeasuredValue Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -12739,7 +12739,7 @@ - (void)testSendClusterTest_TC_PCC_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13061,7 +13061,7 @@ - (void)testSendClusterTest_TC_RH_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13204,7 +13204,7 @@ - (void)testSendClusterTest_TC_TM_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13319,7 +13319,7 @@ - (void)testSendClusterTest_TC_TSTAT_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13418,7 +13418,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000003_WriteAttribute @"AbsMinHeatSetpointLimit Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13521,7 +13521,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000007_WriteAttribute @"AbsMaxHeatSetpointLimit Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13624,7 +13624,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000011_WriteAttribute @"AbsMinCoolSetpointLimit Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -13727,7 +13727,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000015_WriteAttribute @"AbsMaxCoolSetpointLimit Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -14721,7 +14721,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000054_WriteAttribute NSLog(@"Writes the respective default value to optional attributes to DUT: StartOfWeek Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -14789,7 +14789,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000057_WriteAttribute @"NumberOfWeeklyTransitions Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -14833,7 +14833,7 @@ - (void)testSendClusterTest_TC_TSTAT_2_1_000059_WriteAttribute @"NumberOfDailyTransitions Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16067,7 +16067,7 @@ - (void)testSendClusterTest_TC_TSUIC_1_1_000000_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16711,7 +16711,7 @@ - (void)testSendClusterTest_TC_DIAGTH_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"write the default values to mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16789,7 +16789,7 @@ - (void)testSendClusterTest_TC_WNCV_1_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write a value into the RO mandatory global attribute: ClusterRevision Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16859,7 +16859,7 @@ - (void)testSendClusterTest_TC_WNCV_1_1_000004_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write the default value to optional global attribute: FeatureMap Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16929,7 +16929,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000001_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write a value into the RO mandatory attribute: Type Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -16999,7 +16999,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000004_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write a value into the RO mandatory attribute: ConfigStatus Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17071,7 +17071,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000007_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write a value into the RO mandatory attribute: OperationalStatus Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17143,7 +17143,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000010_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"3a: write a value into the RO mandatory attribute: EndProductType Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17288,7 +17288,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000016_WriteAttribute @"TargetPositionLiftPercent100ths Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17364,7 +17364,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000019_WriteAttribute @"TargetPositionTiltPercent100ths Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17440,7 +17440,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000022_WriteAttribute @"CurrentPositionLiftPercent100ths Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17516,7 +17516,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000025_WriteAttribute @"CurrentPositionTiltPercent100ths Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17591,7 +17591,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000028_WriteAttribute NSLog(@"3a: write a value into the RO optional attribute: InstalledOpenLimitLift Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17665,7 +17665,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000031_WriteAttribute @"Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17739,7 +17739,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000034_WriteAttribute NSLog(@"3a: write a value into the RO optional attribute: InstalledOpenLimitTilt Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17813,7 +17813,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000037_WriteAttribute @"Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17884,7 +17884,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000040_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"5a: write a value into the RO mandatory attribute: SafetyStatus Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -17956,7 +17956,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000043_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"5a: write a value into the RO optional attribute: CurrentPositionLift Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -18029,7 +18029,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000046_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"5a: write a value into the RO optional attribute: CurrentPositionTilt Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -18104,7 +18104,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000049_WriteAttribute @"CurrentPositionLiftPercentage Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -18180,7 +18180,7 @@ - (void)testSendClusterTest_TC_WNCV_2_1_000052_WriteAttribute @"CurrentPositionTiltPercentage Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 136); [expectation fulfill]; }]; @@ -18531,7 +18531,7 @@ - (void)testSendClusterTestCluster_000001_TestNotHandled [cluster testNotHandledWithCompletionHandler:^(NSError * _Nullable err) { NSLog(@"Send Test Not Handled Command Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 133); [expectation fulfill]; }]; @@ -18608,7 +18608,7 @@ - (void)testSendClusterTestCluster_000004_TestAddArguments CHIPTestClusterClusterTestAddArgumentsResponseParams * _Nullable values, NSError * _Nullable err) { NSLog(@"Send failing Test Add Arguments Command Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 133); [expectation fulfill]; }]; @@ -20669,7 +20669,7 @@ - (void)testSendClusterTestCluster_000093_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute OCTET_STRING Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], true); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; @@ -20908,7 +20908,7 @@ - (void)testSendClusterTestCluster_000103_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute CHAR_STRING - Value too long Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], true); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; @@ -21359,13 +21359,31 @@ - (void)testSendClusterTestCluster_000122_Test [cluster testWithCompletionHandler:^(NSError * _Nullable err) { NSLog(@"Send Test Command to unsupported endpoint Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertNotEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000123_ReadAttribute +- (void)testSendClusterTestCluster_000123_Test +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command to unsupported cluster"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPTestTestCluster * cluster = [[CHIPTestTestCluster alloc] initWithDevice:device endpoint:0 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster testWithCompletionHandler:^(NSError * _Nullable err) { + NSLog(@"Send Test Command to unsupported cluster Error: %@", err); + + XCTAssertNotEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterTestCluster_000124_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute vendor_id Default Value"]; @@ -21389,7 +21407,7 @@ - (void)testSendClusterTestCluster_000123_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000124_WriteAttribute +- (void)testSendClusterTestCluster_000125_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute vendor_id"]; @@ -21411,7 +21429,7 @@ - (void)testSendClusterTestCluster_000124_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000125_ReadAttribute +- (void)testSendClusterTestCluster_000126_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute vendor_id"]; @@ -21435,7 +21453,7 @@ - (void)testSendClusterTestCluster_000125_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000126_WriteAttribute +- (void)testSendClusterTestCluster_000127_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Restore attribute vendor_id"]; @@ -21457,7 +21475,7 @@ - (void)testSendClusterTestCluster_000126_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000127_TestEnumsRequest +- (void)testSendClusterTestCluster_000128_TestEnumsRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send a command with a vendor_id and enum"]; @@ -21490,7 +21508,7 @@ - (void)testSendClusterTestCluster_000127_TestEnumsRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000128_TestStructArgumentRequest +- (void)testSendClusterTestCluster_000129_TestStructArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With Struct Argument and arg1.b is true"]; @@ -21528,7 +21546,7 @@ - (void)testSendClusterTestCluster_000128_TestStructArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000129_TestStructArgumentRequest +- (void)testSendClusterTestCluster_000130_TestStructArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With Struct Argument and arg1.b is false"]; @@ -21566,7 +21584,7 @@ - (void)testSendClusterTestCluster_000129_TestStructArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000130_SimpleStructEchoRequest +- (void)testSendClusterTestCluster_000131_SimpleStructEchoRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With Struct Argument and see what we get back"]; @@ -21613,7 +21631,7 @@ - (void)testSendClusterTestCluster_000130_SimpleStructEchoRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000131_TestListInt8UArgumentRequest +- (void)testSendClusterTestCluster_000132_TestListInt8UArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With List of INT8U and none of them is set to 0"]; @@ -21654,7 +21672,7 @@ - (void)testSendClusterTestCluster_000131_TestListInt8UArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000132_TestListInt8UArgumentRequest +- (void)testSendClusterTestCluster_000133_TestListInt8UArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With List of INT8U and one of them is set to 0"]; @@ -21696,7 +21714,7 @@ - (void)testSendClusterTestCluster_000132_TestListInt8UArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000133_TestListInt8UReverseRequest +- (void)testSendClusterTestCluster_000134_TestListInt8UReverseRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With List of INT8U and get it reversed"]; @@ -21745,7 +21763,7 @@ - (void)testSendClusterTestCluster_000133_TestListInt8UReverseRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000134_TestListInt8UReverseRequest +- (void)testSendClusterTestCluster_000135_TestListInt8UReverseRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With empty List of INT8U and get an empty list back"]; @@ -21777,7 +21795,7 @@ - (void)testSendClusterTestCluster_000134_TestListInt8UReverseRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000135_TestListStructArgumentRequest +- (void)testSendClusterTestCluster_000136_TestListStructArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With List of Struct Argument and arg1.b of first item is true"]; @@ -21832,7 +21850,7 @@ - (void)testSendClusterTestCluster_000135_TestListStructArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000136_TestListStructArgumentRequest +- (void)testSendClusterTestCluster_000137_TestListStructArgumentRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command With List of Struct Argument and arg1.b of first item is false"]; @@ -21887,7 +21905,7 @@ - (void)testSendClusterTestCluster_000136_TestListStructArgumentRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000137_WriteAttribute +- (void)testSendClusterTestCluster_000138_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute LIST With List of INT8U and none of them is set to 0"]; @@ -21917,7 +21935,7 @@ - (void)testSendClusterTestCluster_000137_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000138_ReadAttribute +- (void)testSendClusterTestCluster_000139_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute LIST With List of INT8U"]; @@ -21945,7 +21963,7 @@ - (void)testSendClusterTestCluster_000138_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000139_WriteAttribute +- (void)testSendClusterTestCluster_000140_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute LIST With List of OCTET_STRING"]; @@ -21974,7 +21992,7 @@ - (void)testSendClusterTestCluster_000139_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000140_ReadAttribute +- (void)testSendClusterTestCluster_000141_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute LIST With List of OCTET_STRING"]; @@ -22002,7 +22020,7 @@ - (void)testSendClusterTestCluster_000140_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000141_WriteAttribute +- (void)testSendClusterTestCluster_000142_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute LIST With List of LIST_STRUCT_OCTET_STRING"]; @@ -22044,7 +22062,7 @@ - (void)testSendClusterTestCluster_000141_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000142_ReadAttribute +- (void)testSendClusterTestCluster_000143_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute LIST With List of LIST_STRUCT_OCTET_STRING"]; @@ -22085,7 +22103,7 @@ - (void)testSendClusterTestCluster_000142_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000143_TestNullableOptionalRequest +- (void)testSendClusterTestCluster_000144_TestNullableOptionalRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command with optional arg set."]; @@ -22126,7 +22144,7 @@ - (void)testSendClusterTestCluster_000143_TestNullableOptionalRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000144_TestNullableOptionalRequest +- (void)testSendClusterTestCluster_000145_TestNullableOptionalRequest { XCTestExpectation * expectation = [self expectationWithDescription:@"Send Test Command without its optional arg."]; @@ -22153,7 +22171,7 @@ - (void)testSendClusterTestCluster_000144_TestNullableOptionalRequest [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000145_WriteAttribute +- (void)testSendClusterTestCluster_000146_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BOOLEAN null"]; @@ -22175,7 +22193,7 @@ - (void)testSendClusterTestCluster_000145_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000146_ReadAttribute +- (void)testSendClusterTestCluster_000147_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BOOLEAN null"]; @@ -22199,7 +22217,7 @@ - (void)testSendClusterTestCluster_000146_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000147_WriteAttribute +- (void)testSendClusterTestCluster_000148_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BOOLEAN True"]; @@ -22221,7 +22239,7 @@ - (void)testSendClusterTestCluster_000147_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000148_ReadAttribute +- (void)testSendClusterTestCluster_000149_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BOOLEAN True"]; @@ -22246,7 +22264,7 @@ - (void)testSendClusterTestCluster_000148_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000149_WriteAttribute +- (void)testSendClusterTestCluster_000150_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 Max Value"]; @@ -22268,7 +22286,7 @@ - (void)testSendClusterTestCluster_000149_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000150_ReadAttribute +- (void)testSendClusterTestCluster_000151_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 Max Value"]; @@ -22293,7 +22311,7 @@ - (void)testSendClusterTestCluster_000150_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000151_WriteAttribute +- (void)testSendClusterTestCluster_000152_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 Invalid Value"]; @@ -22308,13 +22326,13 @@ - (void)testSendClusterTestCluster_000151_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_BITMAP8 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000152_ReadAttribute +- (void)testSendClusterTestCluster_000153_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 unchanged Value"]; @@ -22339,7 +22357,7 @@ - (void)testSendClusterTestCluster_000152_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000153_WriteAttribute +- (void)testSendClusterTestCluster_000154_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP8 null Value"]; @@ -22361,7 +22379,7 @@ - (void)testSendClusterTestCluster_000153_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000154_ReadAttribute +- (void)testSendClusterTestCluster_000155_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP8 null Value"]; @@ -22385,7 +22403,7 @@ - (void)testSendClusterTestCluster_000154_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000155_WriteAttribute +- (void)testSendClusterTestCluster_000156_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 Max Value"]; @@ -22407,7 +22425,7 @@ - (void)testSendClusterTestCluster_000155_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000156_ReadAttribute +- (void)testSendClusterTestCluster_000157_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 Max Value"]; @@ -22432,7 +22450,7 @@ - (void)testSendClusterTestCluster_000156_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000157_WriteAttribute +- (void)testSendClusterTestCluster_000158_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 Invalid Value"]; @@ -22447,13 +22465,13 @@ - (void)testSendClusterTestCluster_000157_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_BITMAP16 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000158_ReadAttribute +- (void)testSendClusterTestCluster_000159_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 unchanged Value"]; @@ -22478,7 +22496,7 @@ - (void)testSendClusterTestCluster_000158_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000159_WriteAttribute +- (void)testSendClusterTestCluster_000160_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP16 null Value"]; @@ -22500,7 +22518,7 @@ - (void)testSendClusterTestCluster_000159_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000160_ReadAttribute +- (void)testSendClusterTestCluster_000161_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP16 null Value"]; @@ -22524,7 +22542,7 @@ - (void)testSendClusterTestCluster_000160_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000161_WriteAttribute +- (void)testSendClusterTestCluster_000162_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 Max Value"]; @@ -22546,7 +22564,7 @@ - (void)testSendClusterTestCluster_000161_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000162_ReadAttribute +- (void)testSendClusterTestCluster_000163_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 Max Value"]; @@ -22571,7 +22589,7 @@ - (void)testSendClusterTestCluster_000162_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000163_WriteAttribute +- (void)testSendClusterTestCluster_000164_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 Invalid Value"]; @@ -22586,13 +22604,13 @@ - (void)testSendClusterTestCluster_000163_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_BITMAP32 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000164_ReadAttribute +- (void)testSendClusterTestCluster_000165_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 unchanged Value"]; @@ -22617,7 +22635,7 @@ - (void)testSendClusterTestCluster_000164_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000165_WriteAttribute +- (void)testSendClusterTestCluster_000166_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP32 null Value"]; @@ -22639,7 +22657,7 @@ - (void)testSendClusterTestCluster_000165_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000166_ReadAttribute +- (void)testSendClusterTestCluster_000167_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP32 null Value"]; @@ -22663,7 +22681,7 @@ - (void)testSendClusterTestCluster_000166_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000167_WriteAttribute +- (void)testSendClusterTestCluster_000168_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 Max Value"]; @@ -22685,7 +22703,7 @@ - (void)testSendClusterTestCluster_000167_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000168_ReadAttribute +- (void)testSendClusterTestCluster_000169_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 Max Value"]; @@ -22710,7 +22728,7 @@ - (void)testSendClusterTestCluster_000168_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000169_WriteAttribute +- (void)testSendClusterTestCluster_000170_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 Invalid Value"]; @@ -22725,13 +22743,13 @@ - (void)testSendClusterTestCluster_000169_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_BITMAP64 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000170_ReadAttribute +- (void)testSendClusterTestCluster_000171_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 unchanged Value"]; @@ -22756,7 +22774,7 @@ - (void)testSendClusterTestCluster_000170_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000171_WriteAttribute +- (void)testSendClusterTestCluster_000172_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_BITMAP64 null Value"]; @@ -22778,7 +22796,7 @@ - (void)testSendClusterTestCluster_000171_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000172_ReadAttribute +- (void)testSendClusterTestCluster_000173_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_BITMAP64 null Value"]; @@ -22802,7 +22820,7 @@ - (void)testSendClusterTestCluster_000172_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000173_WriteAttribute +- (void)testSendClusterTestCluster_000174_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Max Value"]; @@ -22824,7 +22842,7 @@ - (void)testSendClusterTestCluster_000173_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000174_ReadAttribute +- (void)testSendClusterTestCluster_000175_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U Max Value"]; @@ -22849,7 +22867,7 @@ - (void)testSendClusterTestCluster_000174_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000175_WriteAttribute +- (void)testSendClusterTestCluster_000176_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U Invalid Value"]; @@ -22864,13 +22882,13 @@ - (void)testSendClusterTestCluster_000175_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT8U Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000176_ReadAttribute +- (void)testSendClusterTestCluster_000177_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U unchanged Value"]; @@ -22895,7 +22913,7 @@ - (void)testSendClusterTestCluster_000176_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000177_WriteAttribute +- (void)testSendClusterTestCluster_000178_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8U null Value"]; @@ -22917,7 +22935,7 @@ - (void)testSendClusterTestCluster_000177_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000178_ReadAttribute +- (void)testSendClusterTestCluster_000179_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8U null Value"]; @@ -22941,7 +22959,7 @@ - (void)testSendClusterTestCluster_000178_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000179_WriteAttribute +- (void)testSendClusterTestCluster_000180_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Max Value"]; @@ -22963,7 +22981,7 @@ - (void)testSendClusterTestCluster_000179_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000180_ReadAttribute +- (void)testSendClusterTestCluster_000181_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U Max Value"]; @@ -22988,7 +23006,7 @@ - (void)testSendClusterTestCluster_000180_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000181_WriteAttribute +- (void)testSendClusterTestCluster_000182_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U Invalid Value"]; @@ -23003,13 +23021,13 @@ - (void)testSendClusterTestCluster_000181_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT16U Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000182_ReadAttribute +- (void)testSendClusterTestCluster_000183_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U unchanged Value"]; @@ -23034,7 +23052,7 @@ - (void)testSendClusterTestCluster_000182_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000183_WriteAttribute +- (void)testSendClusterTestCluster_000184_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16U null Value"]; @@ -23056,7 +23074,7 @@ - (void)testSendClusterTestCluster_000183_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000184_ReadAttribute +- (void)testSendClusterTestCluster_000185_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16U null Value"]; @@ -23080,7 +23098,7 @@ - (void)testSendClusterTestCluster_000184_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000185_WriteAttribute +- (void)testSendClusterTestCluster_000186_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Max Value"]; @@ -23102,7 +23120,7 @@ - (void)testSendClusterTestCluster_000185_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000186_ReadAttribute +- (void)testSendClusterTestCluster_000187_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U Max Value"]; @@ -23127,7 +23145,7 @@ - (void)testSendClusterTestCluster_000186_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000187_WriteAttribute +- (void)testSendClusterTestCluster_000188_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U Invalid Value"]; @@ -23142,13 +23160,13 @@ - (void)testSendClusterTestCluster_000187_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT32U Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000188_ReadAttribute +- (void)testSendClusterTestCluster_000189_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U unchanged Value"]; @@ -23173,7 +23191,7 @@ - (void)testSendClusterTestCluster_000188_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000189_WriteAttribute +- (void)testSendClusterTestCluster_000190_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32U null Value"]; @@ -23195,7 +23213,7 @@ - (void)testSendClusterTestCluster_000189_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000190_ReadAttribute +- (void)testSendClusterTestCluster_000191_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32U null Value"]; @@ -23219,7 +23237,7 @@ - (void)testSendClusterTestCluster_000190_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000191_WriteAttribute +- (void)testSendClusterTestCluster_000192_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Max Value"]; @@ -23241,7 +23259,7 @@ - (void)testSendClusterTestCluster_000191_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000192_ReadAttribute +- (void)testSendClusterTestCluster_000193_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U Max Value"]; @@ -23266,7 +23284,7 @@ - (void)testSendClusterTestCluster_000192_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000193_WriteAttribute +- (void)testSendClusterTestCluster_000194_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U Invalid Value"]; @@ -23281,13 +23299,13 @@ - (void)testSendClusterTestCluster_000193_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT64U Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000194_ReadAttribute +- (void)testSendClusterTestCluster_000195_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U unchanged Value"]; @@ -23312,7 +23330,7 @@ - (void)testSendClusterTestCluster_000194_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000195_WriteAttribute +- (void)testSendClusterTestCluster_000196_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64U null Value"]; @@ -23334,7 +23352,7 @@ - (void)testSendClusterTestCluster_000195_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000196_ReadAttribute +- (void)testSendClusterTestCluster_000197_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64U null Value"]; @@ -23358,7 +23376,7 @@ - (void)testSendClusterTestCluster_000196_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000197_WriteAttribute +- (void)testSendClusterTestCluster_000198_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S Min Value"]; @@ -23380,7 +23398,7 @@ - (void)testSendClusterTestCluster_000197_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000198_ReadAttribute +- (void)testSendClusterTestCluster_000199_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S Min Value"]; @@ -23405,7 +23423,7 @@ - (void)testSendClusterTestCluster_000198_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000199_WriteAttribute +- (void)testSendClusterTestCluster_000200_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S Invalid Value"]; @@ -23420,13 +23438,13 @@ - (void)testSendClusterTestCluster_000199_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT8S Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000200_ReadAttribute +- (void)testSendClusterTestCluster_000201_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S unchanged Value"]; @@ -23451,7 +23469,7 @@ - (void)testSendClusterTestCluster_000200_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000201_WriteAttribute +- (void)testSendClusterTestCluster_000202_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT8S null Value"]; @@ -23473,7 +23491,7 @@ - (void)testSendClusterTestCluster_000201_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000202_ReadAttribute +- (void)testSendClusterTestCluster_000203_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT8S null Value"]; @@ -23497,7 +23515,7 @@ - (void)testSendClusterTestCluster_000202_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000203_WriteAttribute +- (void)testSendClusterTestCluster_000204_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S Min Value"]; @@ -23519,7 +23537,7 @@ - (void)testSendClusterTestCluster_000203_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000204_ReadAttribute +- (void)testSendClusterTestCluster_000205_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S Min Value"]; @@ -23544,7 +23562,7 @@ - (void)testSendClusterTestCluster_000204_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000205_WriteAttribute +- (void)testSendClusterTestCluster_000206_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S Invalid Value"]; @@ -23559,13 +23577,13 @@ - (void)testSendClusterTestCluster_000205_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT16S Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000206_ReadAttribute +- (void)testSendClusterTestCluster_000207_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S unchanged Value"]; @@ -23590,7 +23608,7 @@ - (void)testSendClusterTestCluster_000206_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000207_WriteAttribute +- (void)testSendClusterTestCluster_000208_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT16S null Value"]; @@ -23612,7 +23630,7 @@ - (void)testSendClusterTestCluster_000207_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000208_ReadAttribute +- (void)testSendClusterTestCluster_000209_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT16S null Value"]; @@ -23636,7 +23654,7 @@ - (void)testSendClusterTestCluster_000208_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000209_WriteAttribute +- (void)testSendClusterTestCluster_000210_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S Min Value"]; @@ -23658,7 +23676,7 @@ - (void)testSendClusterTestCluster_000209_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000210_ReadAttribute +- (void)testSendClusterTestCluster_000211_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S Min Value"]; @@ -23683,7 +23701,7 @@ - (void)testSendClusterTestCluster_000210_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000211_WriteAttribute +- (void)testSendClusterTestCluster_000212_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S Invalid Value"]; @@ -23698,13 +23716,13 @@ - (void)testSendClusterTestCluster_000211_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT32S Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000212_ReadAttribute +- (void)testSendClusterTestCluster_000213_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S unchanged Value"]; @@ -23729,7 +23747,7 @@ - (void)testSendClusterTestCluster_000212_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000213_WriteAttribute +- (void)testSendClusterTestCluster_000214_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT32S null Value"]; @@ -23751,7 +23769,7 @@ - (void)testSendClusterTestCluster_000213_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000214_ReadAttribute +- (void)testSendClusterTestCluster_000215_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT32S null Value"]; @@ -23775,7 +23793,7 @@ - (void)testSendClusterTestCluster_000214_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000215_WriteAttribute +- (void)testSendClusterTestCluster_000216_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S Min Value"]; @@ -23797,7 +23815,7 @@ - (void)testSendClusterTestCluster_000215_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000216_ReadAttribute +- (void)testSendClusterTestCluster_000217_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S Min Value"]; @@ -23822,7 +23840,7 @@ - (void)testSendClusterTestCluster_000216_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000217_WriteAttribute +- (void)testSendClusterTestCluster_000218_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S Invalid Value"]; @@ -23837,13 +23855,13 @@ - (void)testSendClusterTestCluster_000217_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_INT64S Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000218_ReadAttribute +- (void)testSendClusterTestCluster_000219_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S unchanged Value"]; @@ -23868,7 +23886,7 @@ - (void)testSendClusterTestCluster_000218_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000219_WriteAttribute +- (void)testSendClusterTestCluster_000220_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_INT64S null Value"]; @@ -23890,7 +23908,7 @@ - (void)testSendClusterTestCluster_000219_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000220_ReadAttribute +- (void)testSendClusterTestCluster_000221_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_INT64S null Value"]; @@ -23914,7 +23932,7 @@ - (void)testSendClusterTestCluster_000220_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000221_WriteAttribute +- (void)testSendClusterTestCluster_000222_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 Max Value"]; @@ -23936,7 +23954,7 @@ - (void)testSendClusterTestCluster_000221_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000222_ReadAttribute +- (void)testSendClusterTestCluster_000223_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 Max Value"]; @@ -23961,7 +23979,7 @@ - (void)testSendClusterTestCluster_000222_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000223_WriteAttribute +- (void)testSendClusterTestCluster_000224_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 Invalid Value"]; @@ -23976,13 +23994,13 @@ - (void)testSendClusterTestCluster_000223_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_ENUM8 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000224_ReadAttribute +- (void)testSendClusterTestCluster_000225_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 unchanged Value"]; @@ -24007,7 +24025,7 @@ - (void)testSendClusterTestCluster_000224_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000225_WriteAttribute +- (void)testSendClusterTestCluster_000226_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM8 null Value"]; @@ -24029,7 +24047,7 @@ - (void)testSendClusterTestCluster_000225_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000226_ReadAttribute +- (void)testSendClusterTestCluster_000227_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM8 null Value"]; @@ -24053,7 +24071,7 @@ - (void)testSendClusterTestCluster_000226_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000227_WriteAttribute +- (void)testSendClusterTestCluster_000228_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 Max Value"]; @@ -24075,7 +24093,7 @@ - (void)testSendClusterTestCluster_000227_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000228_ReadAttribute +- (void)testSendClusterTestCluster_000229_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 Max Value"]; @@ -24100,7 +24118,7 @@ - (void)testSendClusterTestCluster_000228_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000229_WriteAttribute +- (void)testSendClusterTestCluster_000230_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 Invalid Value"]; @@ -24115,13 +24133,13 @@ - (void)testSendClusterTestCluster_000229_WriteAttribute completionHandler:^(NSError * _Nullable err) { NSLog(@"Write attribute NULLABLE_ENUM16 Invalid Value Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000230_ReadAttribute +- (void)testSendClusterTestCluster_000231_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 unchanged Value"]; @@ -24146,7 +24164,7 @@ - (void)testSendClusterTestCluster_000230_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000231_WriteAttribute +- (void)testSendClusterTestCluster_000232_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_ENUM16 null Value"]; @@ -24168,7 +24186,7 @@ - (void)testSendClusterTestCluster_000231_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000232_ReadAttribute +- (void)testSendClusterTestCluster_000233_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_ENUM16 null Value"]; @@ -24192,7 +24210,7 @@ - (void)testSendClusterTestCluster_000232_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000233_ReadAttribute +- (void)testSendClusterTestCluster_000234_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING Default Value"]; @@ -24217,7 +24235,7 @@ - (void)testSendClusterTestCluster_000233_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000234_WriteAttribute +- (void)testSendClusterTestCluster_000235_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -24239,7 +24257,7 @@ - (void)testSendClusterTestCluster_000234_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000235_ReadAttribute +- (void)testSendClusterTestCluster_000236_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -24264,7 +24282,7 @@ - (void)testSendClusterTestCluster_000235_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000236_WriteAttribute +- (void)testSendClusterTestCluster_000237_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -24286,7 +24304,7 @@ - (void)testSendClusterTestCluster_000236_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000237_ReadAttribute +- (void)testSendClusterTestCluster_000238_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -24310,7 +24328,7 @@ - (void)testSendClusterTestCluster_000237_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000238_WriteAttribute +- (void)testSendClusterTestCluster_000239_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_OCTET_STRING"]; @@ -24332,7 +24350,7 @@ - (void)testSendClusterTestCluster_000238_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000239_ReadAttribute +- (void)testSendClusterTestCluster_000240_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_OCTET_STRING"]; @@ -24357,7 +24375,7 @@ - (void)testSendClusterTestCluster_000239_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000240_ReadAttribute +- (void)testSendClusterTestCluster_000241_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING Default Value"]; @@ -24382,7 +24400,7 @@ - (void)testSendClusterTestCluster_000240_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000241_WriteAttribute +- (void)testSendClusterTestCluster_000242_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING"]; @@ -24404,7 +24422,7 @@ - (void)testSendClusterTestCluster_000241_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000242_WriteAttribute +- (void)testSendClusterTestCluster_000243_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING - Value too long"]; @@ -24426,7 +24444,7 @@ - (void)testSendClusterTestCluster_000242_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000243_ReadAttribute +- (void)testSendClusterTestCluster_000244_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING"]; @@ -24450,7 +24468,7 @@ - (void)testSendClusterTestCluster_000243_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000244_WriteAttribute +- (void)testSendClusterTestCluster_000245_WriteAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Write attribute NULLABLE_CHAR_STRING - Empty"]; @@ -24472,7 +24490,7 @@ - (void)testSendClusterTestCluster_000244_WriteAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000245_ReadAttribute +- (void)testSendClusterTestCluster_000246_ReadAttribute { XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute NULLABLE_CHAR_STRING"]; @@ -24497,9 +24515,9 @@ - (void)testSendClusterTestCluster_000245_ReadAttribute [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } -- (void)testSendClusterTestCluster_000246_ReadAttribute +- (void)testSendClusterTestCluster_000247_ReadAttribute { - XCTestExpectation * expectation = [self expectationWithDescription:@"Read nonexistent attribute."]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute from nonexistent endpoint."]; CHIPDevice * device = GetConnectedDevice(); dispatch_queue_t queue = dispatch_get_main_queue(); @@ -24507,9 +24525,27 @@ - (void)testSendClusterTestCluster_000246_ReadAttribute XCTAssertNotNil(cluster); [cluster readAttributeListInt8uWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"Read nonexistent attribute. Error: %@", err); + NSLog(@"Read attribute from nonexistent endpoint. Error: %@", err); + + XCTAssertNotEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterTestCluster_000248_ReadAttribute +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"Read attribute from nonexistent cluster."]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPTestTestCluster * cluster = [[CHIPTestTestCluster alloc] initWithDevice:device endpoint:0 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeListInt8uWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read attribute from nonexistent cluster. Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 134); + XCTAssertNotEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 0); [expectation fulfill]; }]; @@ -27967,7 +28003,7 @@ - (void)testSendClusterTestModeSelectCluster_000007_ChangeToMode completionHandler:^(NSError * _Nullable err) { NSLog(@"Change to Unsupported Mode Error: %@", err); - XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 1); + XCTAssertEqual([CHIPErrorTestUtils errorToZCLErrorCode:err], 135); [expectation fulfill]; }]; diff --git a/src/darwin/Framework/CHIPTests/CHIPErrorTestUtils.mm b/src/darwin/Framework/CHIPTests/CHIPErrorTestUtils.mm index 26be1ef232aab4..4a24cf04a351f6 100644 --- a/src/darwin/Framework/CHIPTests/CHIPErrorTestUtils.mm +++ b/src/darwin/Framework/CHIPTests/CHIPErrorTestUtils.mm @@ -40,8 +40,20 @@ + (uint8_t)errorToZCLErrorCode:(NSError * _Nullable)error switch (error.code) { case CHIPErrorCodeDuplicateExists: return EMBER_ZCL_STATUS_DUPLICATE_EXISTS; + case CHIPErrorCodeUnsupportedEndpoint: + return EMBER_ZCL_STATUS_UNSUPPORTED_ENDPOINT; + case CHIPErrorCodeUnsupportedCommand: + return EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND; + case CHIPErrorCodeInvalidCommand: + return EMBER_ZCL_STATUS_INVALID_COMMAND; case CHIPErrorCodeUnsupportedAttribute: return EMBER_ZCL_STATUS_UNSUPPORTED_ATTRIBUTE; + case CHIPErrorCodeConstraintError: + return EMBER_ZCL_STATUS_CONSTRAINT_ERROR; + case CHIPErrorCodeUnsupportedWrite: + return EMBER_ZCL_STATUS_UNSUPPORTED_WRITE; + case CHIPErrorCodeUnsupportedCluster: + return EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER; case CHIPSuccess: return EMBER_ZCL_STATUS_SUCCESS; default: diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 05f8d82f8304d3..50f530863c7e2d 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -268,7 +268,11 @@ class Test_TC_BI_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -668,7 +672,11 @@ class Test_TC_BI_2_1 : public TestCommand statusFlagsArgument, this, OnSuccessCallback_9, OnFailureCallback_9); } - void OnFailureResponse_9(uint8_t status) { NextTest(); } + void OnFailureResponse_9(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_9() { ThrowSuccessResponse(); } @@ -1123,7 +1131,11 @@ class Test_TC_BOOL_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -1299,7 +1311,11 @@ class Test_TC_BOOL_2_1 : public TestCommand stateValueArgument, this, OnSuccessCallback_2, OnFailureCallback_2); } - void OnFailureResponse_2(uint8_t status) { NextTest(); } + void OnFailureResponse_2(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_2() { ThrowSuccessResponse(); } @@ -1395,7 +1411,11 @@ class Test_TC_CC_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -3421,7 +3441,11 @@ class Test_TC_CC_2_1 : public TestCommand currentHueArgument, this, OnSuccessCallback_2, OnFailureCallback_2); } - void OnFailureResponse_2(uint8_t status) { NextTest(); } + void OnFailureResponse_2(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_2() { ThrowSuccessResponse(); } @@ -3496,7 +3520,11 @@ class Test_TC_CC_2_1 : public TestCommand currentSaturationArgument, this, OnSuccessCallback_6, OnFailureCallback_6); } - void OnFailureResponse_6(uint8_t status) { NextTest(); } + void OnFailureResponse_6(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_6() { ThrowSuccessResponse(); } @@ -3571,7 +3599,11 @@ class Test_TC_CC_2_1 : public TestCommand currentXArgument, this, OnSuccessCallback_10, OnFailureCallback_10); } - void OnFailureResponse_10(uint8_t status) { NextTest(); } + void OnFailureResponse_10(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_10() { ThrowSuccessResponse(); } @@ -3646,7 +3678,11 @@ class Test_TC_CC_2_1 : public TestCommand currentYArgument, this, OnSuccessCallback_14, OnFailureCallback_14); } - void OnFailureResponse_14(uint8_t status) { NextTest(); } + void OnFailureResponse_14(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_14() { ThrowSuccessResponse(); } @@ -3834,7 +3870,11 @@ class Test_TC_CC_2_1 : public TestCommand enhancedCurrentHueArgument, this, OnSuccessCallback_24, OnFailureCallback_24); } - void OnFailureResponse_24(uint8_t status) { NextTest(); } + void OnFailureResponse_24(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_24() { ThrowSuccessResponse(); } @@ -3927,7 +3967,11 @@ class Test_TC_CC_2_1 : public TestCommand colorLoopActiveArgument, this, OnSuccessCallback_29, OnFailureCallback_29); } - void OnFailureResponse_29(uint8_t status) { NextTest(); } + void OnFailureResponse_29(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_29() { ThrowSuccessResponse(); } @@ -4001,7 +4045,11 @@ class Test_TC_CC_2_1 : public TestCommand colorLoopDirectionArgument, this, OnSuccessCallback_33, OnFailureCallback_33); } - void OnFailureResponse_33(uint8_t status) { NextTest(); } + void OnFailureResponse_33(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_33() { ThrowSuccessResponse(); } @@ -4075,7 +4123,11 @@ class Test_TC_CC_2_1 : public TestCommand colorLoopTimeArgument, this, OnSuccessCallback_37, OnFailureCallback_37); } - void OnFailureResponse_37(uint8_t status) { NextTest(); } + void OnFailureResponse_37(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_37() { ThrowSuccessResponse(); } @@ -4149,7 +4201,11 @@ class Test_TC_CC_2_1 : public TestCommand colorLoopStartEnhancedHueArgument, this, OnSuccessCallback_41, OnFailureCallback_41); } - void OnFailureResponse_41(uint8_t status) { NextTest(); } + void OnFailureResponse_41(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_41() { ThrowSuccessResponse(); } @@ -4223,7 +4279,11 @@ class Test_TC_CC_2_1 : public TestCommand colorLoopStoredEnhancedHueArgument, this, OnSuccessCallback_45, OnFailureCallback_45); } - void OnFailureResponse_45(uint8_t status) { NextTest(); } + void OnFailureResponse_45(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_45() { ThrowSuccessResponse(); } @@ -4298,7 +4358,11 @@ class Test_TC_CC_2_1 : public TestCommand colorCapabilitiesArgument, this, OnSuccessCallback_49, OnFailureCallback_49); } - void OnFailureResponse_49(uint8_t status) { NextTest(); } + void OnFailureResponse_49(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_49() { ThrowSuccessResponse(); } @@ -4373,7 +4437,11 @@ class Test_TC_CC_2_1 : public TestCommand colorTempPhysicalMinArgument, this, OnSuccessCallback_53, OnFailureCallback_53); } - void OnFailureResponse_53(uint8_t status) { NextTest(); } + void OnFailureResponse_53(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_53() { ThrowSuccessResponse(); } @@ -4448,7 +4516,11 @@ class Test_TC_CC_2_1 : public TestCommand colorTempPhysicalMaxArgument, this, OnSuccessCallback_57, OnFailureCallback_57); } - void OnFailureResponse_57(uint8_t status) { NextTest(); } + void OnFailureResponse_57(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_57() { ThrowSuccessResponse(); } @@ -4503,7 +4575,11 @@ class Test_TC_CC_2_1 : public TestCommand coupleColorTempToLevelMinMiredsArgument, this, OnSuccessCallback_60, OnFailureCallback_60); } - void OnFailureResponse_60(uint8_t status) { NextTest(); } + void OnFailureResponse_60(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_60() { ThrowSuccessResponse(); } @@ -4634,7 +4710,11 @@ class Test_TC_CC_2_1 : public TestCommand remainingTimeArgument, this, OnSuccessCallback_67, OnFailureCallback_67); } - void OnFailureResponse_67(uint8_t status) { NextTest(); } + void OnFailureResponse_67(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_67() { ThrowSuccessResponse(); } @@ -4690,7 +4770,11 @@ class Test_TC_CC_2_1 : public TestCommand driftCompensationArgument, this, OnSuccessCallback_70, OnFailureCallback_70); } - void OnFailureResponse_70(uint8_t status) { NextTest(); } + void OnFailureResponse_70(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_70() { ThrowSuccessResponse(); } @@ -4766,7 +4850,11 @@ class Test_TC_CC_2_1 : public TestCommand numberOfPrimariesArgument, this, OnSuccessCallback_74, OnFailureCallback_74); } - void OnFailureResponse_74(uint8_t status) { NextTest(); } + void OnFailureResponse_74(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_74() { ThrowSuccessResponse(); } @@ -4822,7 +4910,11 @@ class Test_TC_CC_2_1 : public TestCommand primary1XArgument, this, OnSuccessCallback_77, OnFailureCallback_77); } - void OnFailureResponse_77(uint8_t status) { NextTest(); } + void OnFailureResponse_77(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_77() { ThrowSuccessResponse(); } @@ -4878,7 +4970,11 @@ class Test_TC_CC_2_1 : public TestCommand primary1YArgument, this, OnSuccessCallback_80, OnFailureCallback_80); } - void OnFailureResponse_80(uint8_t status) { NextTest(); } + void OnFailureResponse_80(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_80() { ThrowSuccessResponse(); } @@ -4953,7 +5049,11 @@ class Test_TC_CC_2_1 : public TestCommand primary2XArgument, this, OnSuccessCallback_84, OnFailureCallback_84); } - void OnFailureResponse_84(uint8_t status) { NextTest(); } + void OnFailureResponse_84(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_84() { ThrowSuccessResponse(); } @@ -5009,7 +5109,11 @@ class Test_TC_CC_2_1 : public TestCommand primary2YArgument, this, OnSuccessCallback_87, OnFailureCallback_87); } - void OnFailureResponse_87(uint8_t status) { NextTest(); } + void OnFailureResponse_87(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_87() { ThrowSuccessResponse(); } @@ -5084,7 +5188,11 @@ class Test_TC_CC_2_1 : public TestCommand primary3XArgument, this, OnSuccessCallback_91, OnFailureCallback_91); } - void OnFailureResponse_91(uint8_t status) { NextTest(); } + void OnFailureResponse_91(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_91() { ThrowSuccessResponse(); } @@ -5140,7 +5248,11 @@ class Test_TC_CC_2_1 : public TestCommand primary3YArgument, this, OnSuccessCallback_94, OnFailureCallback_94); } - void OnFailureResponse_94(uint8_t status) { NextTest(); } + void OnFailureResponse_94(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_94() { ThrowSuccessResponse(); } @@ -5215,7 +5327,11 @@ class Test_TC_CC_2_1 : public TestCommand primary4XArgument, this, OnSuccessCallback_98, OnFailureCallback_98); } - void OnFailureResponse_98(uint8_t status) { NextTest(); } + void OnFailureResponse_98(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_98() { ThrowSuccessResponse(); } @@ -5271,7 +5387,11 @@ class Test_TC_CC_2_1 : public TestCommand primary4YArgument, this, OnSuccessCallback_101, OnFailureCallback_101); } - void OnFailureResponse_101(uint8_t status) { NextTest(); } + void OnFailureResponse_101(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_101() { ThrowSuccessResponse(); } @@ -5346,7 +5466,11 @@ class Test_TC_CC_2_1 : public TestCommand primary5XArgument, this, OnSuccessCallback_105, OnFailureCallback_105); } - void OnFailureResponse_105(uint8_t status) { NextTest(); } + void OnFailureResponse_105(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_105() { ThrowSuccessResponse(); } @@ -5402,7 +5526,11 @@ class Test_TC_CC_2_1 : public TestCommand primary5YArgument, this, OnSuccessCallback_108, OnFailureCallback_108); } - void OnFailureResponse_108(uint8_t status) { NextTest(); } + void OnFailureResponse_108(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_108() { ThrowSuccessResponse(); } @@ -5477,7 +5605,11 @@ class Test_TC_CC_2_1 : public TestCommand primary6XArgument, this, OnSuccessCallback_112, OnFailureCallback_112); } - void OnFailureResponse_112(uint8_t status) { NextTest(); } + void OnFailureResponse_112(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_112() { ThrowSuccessResponse(); } @@ -5533,7 +5665,11 @@ class Test_TC_CC_2_1 : public TestCommand primary6YArgument, this, OnSuccessCallback_115, OnFailureCallback_115); } - void OnFailureResponse_115(uint8_t status) { NextTest(); } + void OnFailureResponse_115(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_115() { ThrowSuccessResponse(); } @@ -13905,7 +14041,11 @@ class Test_TC_EMR_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -14001,7 +14141,11 @@ class Test_TC_FLW_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -14229,7 +14373,11 @@ class Test_TC_FLW_2_1 : public TestCommand minMeasuredValueArgument, this, OnSuccessCallback_3, OnFailureCallback_3); } - void OnFailureResponse_3(uint8_t status) { NextTest(); } + void OnFailureResponse_3(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_3() { ThrowSuccessResponse(); } @@ -14246,7 +14394,11 @@ class Test_TC_FLW_2_1 : public TestCommand maxMeasuredValueArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -14541,7 +14693,11 @@ class Test_TC_ILL_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -14637,7 +14793,11 @@ class Test_TC_LVL_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -16014,7 +16174,11 @@ class Test_TC_MC_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -16727,7 +16891,11 @@ class Test_TC_OCC_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } }; @@ -16933,7 +17101,11 @@ class Test_TC_OCC_2_1 : public TestCommand occupancyArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -16989,7 +17161,11 @@ class Test_TC_OCC_2_1 : public TestCommand occupancySensorTypeArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -17046,7 +17222,11 @@ class Test_TC_OCC_2_1 : public TestCommand occupancySensorTypeBitmapArgument, this, OnSuccessCallback_7, OnFailureCallback_7); } - void OnFailureResponse_7(uint8_t status) { NextTest(); } + void OnFailureResponse_7(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_7() { ThrowSuccessResponse(); } @@ -17342,7 +17522,11 @@ class Test_TC_OO_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -17397,7 +17581,11 @@ class Test_TC_OO_1_1 : public TestCommand featureMapArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -19895,7 +20083,11 @@ class Test_TC_PRS_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_2, OnFailureCallback_2); } - void OnFailureResponse_2(uint8_t status) { NextTest(); } + void OnFailureResponse_2(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_2() { ThrowSuccessResponse(); } @@ -20115,7 +20307,11 @@ class Test_TC_PRS_2_1 : public TestCommand measuredValueArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -20170,7 +20366,11 @@ class Test_TC_PRS_2_1 : public TestCommand minMeasuredValueArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -20225,7 +20425,11 @@ class Test_TC_PRS_2_1 : public TestCommand maxMeasuredValueArgument, this, OnSuccessCallback_7, OnFailureCallback_7); } - void OnFailureResponse_7(uint8_t status) { NextTest(); } + void OnFailureResponse_7(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_7() { ThrowSuccessResponse(); } @@ -20321,7 +20525,11 @@ class Test_TC_PCC_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -20954,7 +21162,11 @@ class Test_TC_RH_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -21307,7 +21519,11 @@ class Test_TC_TM_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -21598,7 +21814,11 @@ class Test_TC_TSTAT_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -22560,7 +22780,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand absMinHeatSetpointLimitArgument, this, OnSuccessCallback_3, OnFailureCallback_3); } - void OnFailureResponse_3(uint8_t status) { NextTest(); } + void OnFailureResponse_3(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_3() { ThrowSuccessResponse(); } @@ -22636,7 +22860,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand absMaxHeatSetpointLimitArgument, this, OnSuccessCallback_7, OnFailureCallback_7); } - void OnFailureResponse_7(uint8_t status) { NextTest(); } + void OnFailureResponse_7(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_7() { ThrowSuccessResponse(); } @@ -22712,7 +22940,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand absMinCoolSetpointLimitArgument, this, OnSuccessCallback_11, OnFailureCallback_11); } - void OnFailureResponse_11(uint8_t status) { NextTest(); } + void OnFailureResponse_11(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_11() { ThrowSuccessResponse(); } @@ -22788,7 +23020,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand absMaxCoolSetpointLimitArgument, this, OnSuccessCallback_15, OnFailureCallback_15); } - void OnFailureResponse_15(uint8_t status) { NextTest(); } + void OnFailureResponse_15(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_15() { ThrowSuccessResponse(); } @@ -23525,7 +23761,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand startOfWeekArgument, this, OnSuccessCallback_54, OnFailureCallback_54); } - void OnFailureResponse_54(uint8_t status) { NextTest(); } + void OnFailureResponse_54(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_54() { ThrowSuccessResponse(); } @@ -23580,7 +23820,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand numberOfWeeklyTransitionsArgument, this, OnSuccessCallback_57, OnFailureCallback_57); } - void OnFailureResponse_57(uint8_t status) { NextTest(); } + void OnFailureResponse_57(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_57() { ThrowSuccessResponse(); } @@ -23616,7 +23860,11 @@ class Test_TC_TSTAT_2_1 : public TestCommand numberOfDailyTransitionsArgument, this, OnSuccessCallback_59, OnFailureCallback_59); } - void OnFailureResponse_59(uint8_t status) { NextTest(); } + void OnFailureResponse_59(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_59() { ThrowSuccessResponse(); } }; @@ -25251,7 +25499,11 @@ class Test_TC_TSUIC_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_0, OnFailureCallback_0); } - void OnFailureResponse_0(uint8_t status) { NextTest(); } + void OnFailureResponse_0(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_0() { ThrowSuccessResponse(); } }; @@ -26258,7 +26510,11 @@ class Test_TC_DIAGTH_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -26443,7 +26699,11 @@ class Test_TC_WNCV_1_1 : public TestCommand clusterRevisionArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -26500,7 +26760,11 @@ class Test_TC_WNCV_1_1 : public TestCommand featureMapArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -27340,7 +27604,11 @@ class Test_TC_WNCV_2_1 : public TestCommand typeArgument, this, OnSuccessCallback_1, OnFailureCallback_1); } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -27397,7 +27665,11 @@ class Test_TC_WNCV_2_1 : public TestCommand configStatusArgument, this, OnSuccessCallback_4, OnFailureCallback_4); } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_4() { ThrowSuccessResponse(); } @@ -27454,7 +27726,11 @@ class Test_TC_WNCV_2_1 : public TestCommand operationalStatusArgument, this, OnSuccessCallback_7, OnFailureCallback_7); } - void OnFailureResponse_7(uint8_t status) { NextTest(); } + void OnFailureResponse_7(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_7() { ThrowSuccessResponse(); } @@ -27511,7 +27787,11 @@ class Test_TC_WNCV_2_1 : public TestCommand endProductTypeArgument, this, OnSuccessCallback_10, OnFailureCallback_10); } - void OnFailureResponse_10(uint8_t status) { NextTest(); } + void OnFailureResponse_10(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_10() { ThrowSuccessResponse(); } @@ -27625,7 +27905,11 @@ class Test_TC_WNCV_2_1 : public TestCommand targetPositionLiftPercent100thsArgument, this, OnSuccessCallback_16, OnFailureCallback_16); } - void OnFailureResponse_16(uint8_t status) { NextTest(); } + void OnFailureResponse_16(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_16() { ThrowSuccessResponse(); } @@ -27683,7 +27967,11 @@ class Test_TC_WNCV_2_1 : public TestCommand targetPositionTiltPercent100thsArgument, this, OnSuccessCallback_19, OnFailureCallback_19); } - void OnFailureResponse_19(uint8_t status) { NextTest(); } + void OnFailureResponse_19(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_19() { ThrowSuccessResponse(); } @@ -27741,7 +28029,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionLiftPercent100thsArgument, this, OnSuccessCallback_22, OnFailureCallback_22); } - void OnFailureResponse_22(uint8_t status) { NextTest(); } + void OnFailureResponse_22(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_22() { ThrowSuccessResponse(); } @@ -27799,7 +28091,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionTiltPercent100thsArgument, this, OnSuccessCallback_25, OnFailureCallback_25); } - void OnFailureResponse_25(uint8_t status) { NextTest(); } + void OnFailureResponse_25(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_25() { ThrowSuccessResponse(); } @@ -27856,7 +28152,11 @@ class Test_TC_WNCV_2_1 : public TestCommand installedOpenLimitLiftArgument, this, OnSuccessCallback_28, OnFailureCallback_28); } - void OnFailureResponse_28(uint8_t status) { NextTest(); } + void OnFailureResponse_28(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_28() { ThrowSuccessResponse(); } @@ -27913,7 +28213,11 @@ class Test_TC_WNCV_2_1 : public TestCommand installedClosedLimitLiftArgument, this, OnSuccessCallback_31, OnFailureCallback_31); } - void OnFailureResponse_31(uint8_t status) { NextTest(); } + void OnFailureResponse_31(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_31() { ThrowSuccessResponse(); } @@ -27970,7 +28274,11 @@ class Test_TC_WNCV_2_1 : public TestCommand installedOpenLimitTiltArgument, this, OnSuccessCallback_34, OnFailureCallback_34); } - void OnFailureResponse_34(uint8_t status) { NextTest(); } + void OnFailureResponse_34(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_34() { ThrowSuccessResponse(); } @@ -28027,7 +28335,11 @@ class Test_TC_WNCV_2_1 : public TestCommand installedClosedLimitTiltArgument, this, OnSuccessCallback_37, OnFailureCallback_37); } - void OnFailureResponse_37(uint8_t status) { NextTest(); } + void OnFailureResponse_37(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_37() { ThrowSuccessResponse(); } @@ -28084,7 +28396,11 @@ class Test_TC_WNCV_2_1 : public TestCommand safetyStatusArgument, this, OnSuccessCallback_40, OnFailureCallback_40); } - void OnFailureResponse_40(uint8_t status) { NextTest(); } + void OnFailureResponse_40(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_40() { ThrowSuccessResponse(); } @@ -28141,7 +28457,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionLiftArgument, this, OnSuccessCallback_43, OnFailureCallback_43); } - void OnFailureResponse_43(uint8_t status) { NextTest(); } + void OnFailureResponse_43(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_43() { ThrowSuccessResponse(); } @@ -28198,7 +28518,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionTiltArgument, this, OnSuccessCallback_46, OnFailureCallback_46); } - void OnFailureResponse_46(uint8_t status) { NextTest(); } + void OnFailureResponse_46(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_46() { ThrowSuccessResponse(); } @@ -28255,7 +28579,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionLiftPercentageArgument, this, OnSuccessCallback_49, OnFailureCallback_49); } - void OnFailureResponse_49(uint8_t status) { NextTest(); } + void OnFailureResponse_49(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_49() { ThrowSuccessResponse(); } @@ -28312,7 +28640,11 @@ class Test_TC_WNCV_2_1 : public TestCommand currentPositionTiltPercentageArgument, this, OnSuccessCallback_52, OnFailureCallback_52); } - void OnFailureResponse_52(uint8_t status) { NextTest(); } + void OnFailureResponse_52(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 136)); + NextTest(); + } void OnSuccessResponse_52() { ThrowSuccessResponse(); } @@ -31325,506 +31657,514 @@ class TestCluster : public TestCommand err = TestSendTestCommandToUnsupportedEndpoint_122(); break; case 123: - ChipLogProgress(chipTool, " ***** Test Step 123 : Read attribute vendor_id Default Value\n"); - err = TestReadAttributeVendorIdDefaultValue_123(); + ChipLogProgress(chipTool, " ***** Test Step 123 : Send Test Command to unsupported cluster\n"); + err = TestSendTestCommandToUnsupportedCluster_123(); break; case 124: - ChipLogProgress(chipTool, " ***** Test Step 124 : Write attribute vendor_id\n"); - err = TestWriteAttributeVendorId_124(); + ChipLogProgress(chipTool, " ***** Test Step 124 : Read attribute vendor_id Default Value\n"); + err = TestReadAttributeVendorIdDefaultValue_124(); break; case 125: - ChipLogProgress(chipTool, " ***** Test Step 125 : Read attribute vendor_id\n"); - err = TestReadAttributeVendorId_125(); + ChipLogProgress(chipTool, " ***** Test Step 125 : Write attribute vendor_id\n"); + err = TestWriteAttributeVendorId_125(); break; case 126: - ChipLogProgress(chipTool, " ***** Test Step 126 : Restore attribute vendor_id\n"); - err = TestRestoreAttributeVendorId_126(); + ChipLogProgress(chipTool, " ***** Test Step 126 : Read attribute vendor_id\n"); + err = TestReadAttributeVendorId_126(); break; case 127: - ChipLogProgress(chipTool, " ***** Test Step 127 : Send a command with a vendor_id and enum\n"); - err = TestSendACommandWithAVendorIdAndEnum_127(); + ChipLogProgress(chipTool, " ***** Test Step 127 : Restore attribute vendor_id\n"); + err = TestRestoreAttributeVendorId_127(); break; case 128: - ChipLogProgress(chipTool, " ***** Test Step 128 : Send Test Command With Struct Argument and arg1.b is true\n"); - err = TestSendTestCommandWithStructArgumentAndArg1bIsTrue_128(); + ChipLogProgress(chipTool, " ***** Test Step 128 : Send a command with a vendor_id and enum\n"); + err = TestSendACommandWithAVendorIdAndEnum_128(); break; case 129: - ChipLogProgress(chipTool, " ***** Test Step 129 : Send Test Command With Struct Argument and arg1.b is false\n"); - err = TestSendTestCommandWithStructArgumentAndArg1bIsFalse_129(); + ChipLogProgress(chipTool, " ***** Test Step 129 : Send Test Command With Struct Argument and arg1.b is true\n"); + err = TestSendTestCommandWithStructArgumentAndArg1bIsTrue_129(); break; case 130: - ChipLogProgress(chipTool, " ***** Test Step 130 : Send Test Command With Struct Argument and see what we get back\n"); - err = TestSendTestCommandWithStructArgumentAndSeeWhatWeGetBack_130(); + ChipLogProgress(chipTool, " ***** Test Step 130 : Send Test Command With Struct Argument and arg1.b is false\n"); + err = TestSendTestCommandWithStructArgumentAndArg1bIsFalse_130(); break; case 131: - ChipLogProgress(chipTool, " ***** Test Step 131 : Send Test Command With List of INT8U and none of them is set to 0\n"); - err = TestSendTestCommandWithListOfInt8uAndNoneOfThemIsSetTo0_131(); + ChipLogProgress(chipTool, " ***** Test Step 131 : Send Test Command With Struct Argument and see what we get back\n"); + err = TestSendTestCommandWithStructArgumentAndSeeWhatWeGetBack_131(); break; case 132: - ChipLogProgress(chipTool, " ***** Test Step 132 : Send Test Command With List of INT8U and one of them is set to 0\n"); - err = TestSendTestCommandWithListOfInt8uAndOneOfThemIsSetTo0_132(); + ChipLogProgress(chipTool, " ***** Test Step 132 : Send Test Command With List of INT8U and none of them is set to 0\n"); + err = TestSendTestCommandWithListOfInt8uAndNoneOfThemIsSetTo0_132(); break; case 133: - ChipLogProgress(chipTool, " ***** Test Step 133 : Send Test Command With List of INT8U and get it reversed\n"); - err = TestSendTestCommandWithListOfInt8uAndGetItReversed_133(); + ChipLogProgress(chipTool, " ***** Test Step 133 : Send Test Command With List of INT8U and one of them is set to 0\n"); + err = TestSendTestCommandWithListOfInt8uAndOneOfThemIsSetTo0_133(); break; case 134: - ChipLogProgress(chipTool, - " ***** Test Step 134 : Send Test Command With empty List of INT8U and get an empty list back\n"); - err = TestSendTestCommandWithEmptyListOfInt8uAndGetAnEmptyListBack_134(); + ChipLogProgress(chipTool, " ***** Test Step 134 : Send Test Command With List of INT8U and get it reversed\n"); + err = TestSendTestCommandWithListOfInt8uAndGetItReversed_134(); break; case 135: - ChipLogProgress( - chipTool, - " ***** Test Step 135 : Send Test Command With List of Struct Argument and arg1.b of first item is true\n"); - err = TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsTrue_135(); + ChipLogProgress(chipTool, + " ***** Test Step 135 : Send Test Command With empty List of INT8U and get an empty list back\n"); + err = TestSendTestCommandWithEmptyListOfInt8uAndGetAnEmptyListBack_135(); break; case 136: ChipLogProgress( chipTool, - " ***** Test Step 136 : Send Test Command With List of Struct Argument and arg1.b of first item is false\n"); - err = TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsFalse_136(); + " ***** Test Step 136 : Send Test Command With List of Struct Argument and arg1.b of first item is true\n"); + err = TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsTrue_136(); break; case 137: - ChipLogProgress(chipTool, - " ***** Test Step 137 : Write attribute LIST With List of INT8U and none of them is set to 0\n"); - err = TestWriteAttributeListWithListOfInt8uAndNoneOfThemIsSetTo0_137(); + ChipLogProgress( + chipTool, + " ***** Test Step 137 : Send Test Command With List of Struct Argument and arg1.b of first item is false\n"); + err = TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsFalse_137(); break; case 138: - ChipLogProgress(chipTool, " ***** Test Step 138 : Read attribute LIST With List of INT8U\n"); - err = TestReadAttributeListWithListOfInt8u_138(); + ChipLogProgress(chipTool, + " ***** Test Step 138 : Write attribute LIST With List of INT8U and none of them is set to 0\n"); + err = TestWriteAttributeListWithListOfInt8uAndNoneOfThemIsSetTo0_138(); break; case 139: - ChipLogProgress(chipTool, " ***** Test Step 139 : Write attribute LIST With List of OCTET_STRING\n"); - err = TestWriteAttributeListWithListOfOctetString_139(); + ChipLogProgress(chipTool, " ***** Test Step 139 : Read attribute LIST With List of INT8U\n"); + err = TestReadAttributeListWithListOfInt8u_139(); break; case 140: - ChipLogProgress(chipTool, " ***** Test Step 140 : Read attribute LIST With List of OCTET_STRING\n"); - err = TestReadAttributeListWithListOfOctetString_140(); + ChipLogProgress(chipTool, " ***** Test Step 140 : Write attribute LIST With List of OCTET_STRING\n"); + err = TestWriteAttributeListWithListOfOctetString_140(); break; case 141: - ChipLogProgress(chipTool, " ***** Test Step 141 : Write attribute LIST With List of LIST_STRUCT_OCTET_STRING\n"); - err = TestWriteAttributeListWithListOfListStructOctetString_141(); + ChipLogProgress(chipTool, " ***** Test Step 141 : Read attribute LIST With List of OCTET_STRING\n"); + err = TestReadAttributeListWithListOfOctetString_141(); break; case 142: - ChipLogProgress(chipTool, " ***** Test Step 142 : Read attribute LIST With List of LIST_STRUCT_OCTET_STRING\n"); - err = TestReadAttributeListWithListOfListStructOctetString_142(); + ChipLogProgress(chipTool, " ***** Test Step 142 : Write attribute LIST With List of LIST_STRUCT_OCTET_STRING\n"); + err = TestWriteAttributeListWithListOfListStructOctetString_142(); break; case 143: - ChipLogProgress(chipTool, " ***** Test Step 143 : Send Test Command with optional arg set.\n"); - err = TestSendTestCommandWithOptionalArgSet_143(); + ChipLogProgress(chipTool, " ***** Test Step 143 : Read attribute LIST With List of LIST_STRUCT_OCTET_STRING\n"); + err = TestReadAttributeListWithListOfListStructOctetString_143(); break; case 144: - ChipLogProgress(chipTool, " ***** Test Step 144 : Send Test Command without its optional arg.\n"); - err = TestSendTestCommandWithoutItsOptionalArg_144(); + ChipLogProgress(chipTool, " ***** Test Step 144 : Send Test Command with optional arg set.\n"); + err = TestSendTestCommandWithOptionalArgSet_144(); break; case 145: - ChipLogProgress(chipTool, " ***** Test Step 145 : Write attribute NULLABLE_BOOLEAN null\n"); - err = TestWriteAttributeNullableBooleanNull_145(); + ChipLogProgress(chipTool, " ***** Test Step 145 : Send Test Command without its optional arg.\n"); + err = TestSendTestCommandWithoutItsOptionalArg_145(); break; case 146: - ChipLogProgress(chipTool, " ***** Test Step 146 : Read attribute NULLABLE_BOOLEAN null\n"); - err = TestReadAttributeNullableBooleanNull_146(); + ChipLogProgress(chipTool, " ***** Test Step 146 : Write attribute NULLABLE_BOOLEAN null\n"); + err = TestWriteAttributeNullableBooleanNull_146(); break; case 147: - ChipLogProgress(chipTool, " ***** Test Step 147 : Write attribute NULLABLE_BOOLEAN True\n"); - err = TestWriteAttributeNullableBooleanTrue_147(); + ChipLogProgress(chipTool, " ***** Test Step 147 : Read attribute NULLABLE_BOOLEAN null\n"); + err = TestReadAttributeNullableBooleanNull_147(); break; case 148: - ChipLogProgress(chipTool, " ***** Test Step 148 : Read attribute NULLABLE_BOOLEAN True\n"); - err = TestReadAttributeNullableBooleanTrue_148(); + ChipLogProgress(chipTool, " ***** Test Step 148 : Write attribute NULLABLE_BOOLEAN True\n"); + err = TestWriteAttributeNullableBooleanTrue_148(); break; case 149: - ChipLogProgress(chipTool, " ***** Test Step 149 : Write attribute NULLABLE_BITMAP8 Max Value\n"); - err = TestWriteAttributeNullableBitmap8MaxValue_149(); + ChipLogProgress(chipTool, " ***** Test Step 149 : Read attribute NULLABLE_BOOLEAN True\n"); + err = TestReadAttributeNullableBooleanTrue_149(); break; case 150: - ChipLogProgress(chipTool, " ***** Test Step 150 : Read attribute NULLABLE_BITMAP8 Max Value\n"); - err = TestReadAttributeNullableBitmap8MaxValue_150(); + ChipLogProgress(chipTool, " ***** Test Step 150 : Write attribute NULLABLE_BITMAP8 Max Value\n"); + err = TestWriteAttributeNullableBitmap8MaxValue_150(); break; case 151: - ChipLogProgress(chipTool, " ***** Test Step 151 : Write attribute NULLABLE_BITMAP8 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap8InvalidValue_151(); + ChipLogProgress(chipTool, " ***** Test Step 151 : Read attribute NULLABLE_BITMAP8 Max Value\n"); + err = TestReadAttributeNullableBitmap8MaxValue_151(); break; case 152: - ChipLogProgress(chipTool, " ***** Test Step 152 : Read attribute NULLABLE_BITMAP8 unchanged Value\n"); - err = TestReadAttributeNullableBitmap8UnchangedValue_152(); + ChipLogProgress(chipTool, " ***** Test Step 152 : Write attribute NULLABLE_BITMAP8 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap8InvalidValue_152(); break; case 153: - ChipLogProgress(chipTool, " ***** Test Step 153 : Write attribute NULLABLE_BITMAP8 null Value\n"); - err = TestWriteAttributeNullableBitmap8NullValue_153(); + ChipLogProgress(chipTool, " ***** Test Step 153 : Read attribute NULLABLE_BITMAP8 unchanged Value\n"); + err = TestReadAttributeNullableBitmap8UnchangedValue_153(); break; case 154: - ChipLogProgress(chipTool, " ***** Test Step 154 : Read attribute NULLABLE_BITMAP8 null Value\n"); - err = TestReadAttributeNullableBitmap8NullValue_154(); + ChipLogProgress(chipTool, " ***** Test Step 154 : Write attribute NULLABLE_BITMAP8 null Value\n"); + err = TestWriteAttributeNullableBitmap8NullValue_154(); break; case 155: - ChipLogProgress(chipTool, " ***** Test Step 155 : Write attribute NULLABLE_BITMAP16 Max Value\n"); - err = TestWriteAttributeNullableBitmap16MaxValue_155(); + ChipLogProgress(chipTool, " ***** Test Step 155 : Read attribute NULLABLE_BITMAP8 null Value\n"); + err = TestReadAttributeNullableBitmap8NullValue_155(); break; case 156: - ChipLogProgress(chipTool, " ***** Test Step 156 : Read attribute NULLABLE_BITMAP16 Max Value\n"); - err = TestReadAttributeNullableBitmap16MaxValue_156(); + ChipLogProgress(chipTool, " ***** Test Step 156 : Write attribute NULLABLE_BITMAP16 Max Value\n"); + err = TestWriteAttributeNullableBitmap16MaxValue_156(); break; case 157: - ChipLogProgress(chipTool, " ***** Test Step 157 : Write attribute NULLABLE_BITMAP16 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap16InvalidValue_157(); + ChipLogProgress(chipTool, " ***** Test Step 157 : Read attribute NULLABLE_BITMAP16 Max Value\n"); + err = TestReadAttributeNullableBitmap16MaxValue_157(); break; case 158: - ChipLogProgress(chipTool, " ***** Test Step 158 : Read attribute NULLABLE_BITMAP16 unchanged Value\n"); - err = TestReadAttributeNullableBitmap16UnchangedValue_158(); + ChipLogProgress(chipTool, " ***** Test Step 158 : Write attribute NULLABLE_BITMAP16 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap16InvalidValue_158(); break; case 159: - ChipLogProgress(chipTool, " ***** Test Step 159 : Write attribute NULLABLE_BITMAP16 null Value\n"); - err = TestWriteAttributeNullableBitmap16NullValue_159(); + ChipLogProgress(chipTool, " ***** Test Step 159 : Read attribute NULLABLE_BITMAP16 unchanged Value\n"); + err = TestReadAttributeNullableBitmap16UnchangedValue_159(); break; case 160: - ChipLogProgress(chipTool, " ***** Test Step 160 : Read attribute NULLABLE_BITMAP16 null Value\n"); - err = TestReadAttributeNullableBitmap16NullValue_160(); + ChipLogProgress(chipTool, " ***** Test Step 160 : Write attribute NULLABLE_BITMAP16 null Value\n"); + err = TestWriteAttributeNullableBitmap16NullValue_160(); break; case 161: - ChipLogProgress(chipTool, " ***** Test Step 161 : Write attribute NULLABLE_BITMAP32 Max Value\n"); - err = TestWriteAttributeNullableBitmap32MaxValue_161(); + ChipLogProgress(chipTool, " ***** Test Step 161 : Read attribute NULLABLE_BITMAP16 null Value\n"); + err = TestReadAttributeNullableBitmap16NullValue_161(); break; case 162: - ChipLogProgress(chipTool, " ***** Test Step 162 : Read attribute NULLABLE_BITMAP32 Max Value\n"); - err = TestReadAttributeNullableBitmap32MaxValue_162(); + ChipLogProgress(chipTool, " ***** Test Step 162 : Write attribute NULLABLE_BITMAP32 Max Value\n"); + err = TestWriteAttributeNullableBitmap32MaxValue_162(); break; case 163: - ChipLogProgress(chipTool, " ***** Test Step 163 : Write attribute NULLABLE_BITMAP32 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap32InvalidValue_163(); + ChipLogProgress(chipTool, " ***** Test Step 163 : Read attribute NULLABLE_BITMAP32 Max Value\n"); + err = TestReadAttributeNullableBitmap32MaxValue_163(); break; case 164: - ChipLogProgress(chipTool, " ***** Test Step 164 : Read attribute NULLABLE_BITMAP32 unchanged Value\n"); - err = TestReadAttributeNullableBitmap32UnchangedValue_164(); + ChipLogProgress(chipTool, " ***** Test Step 164 : Write attribute NULLABLE_BITMAP32 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap32InvalidValue_164(); break; case 165: - ChipLogProgress(chipTool, " ***** Test Step 165 : Write attribute NULLABLE_BITMAP32 null Value\n"); - err = TestWriteAttributeNullableBitmap32NullValue_165(); + ChipLogProgress(chipTool, " ***** Test Step 165 : Read attribute NULLABLE_BITMAP32 unchanged Value\n"); + err = TestReadAttributeNullableBitmap32UnchangedValue_165(); break; case 166: - ChipLogProgress(chipTool, " ***** Test Step 166 : Read attribute NULLABLE_BITMAP32 null Value\n"); - err = TestReadAttributeNullableBitmap32NullValue_166(); + ChipLogProgress(chipTool, " ***** Test Step 166 : Write attribute NULLABLE_BITMAP32 null Value\n"); + err = TestWriteAttributeNullableBitmap32NullValue_166(); break; case 167: - ChipLogProgress(chipTool, " ***** Test Step 167 : Write attribute NULLABLE_BITMAP64 Max Value\n"); - err = TestWriteAttributeNullableBitmap64MaxValue_167(); + ChipLogProgress(chipTool, " ***** Test Step 167 : Read attribute NULLABLE_BITMAP32 null Value\n"); + err = TestReadAttributeNullableBitmap32NullValue_167(); break; case 168: - ChipLogProgress(chipTool, " ***** Test Step 168 : Read attribute NULLABLE_BITMAP64 Max Value\n"); - err = TestReadAttributeNullableBitmap64MaxValue_168(); + ChipLogProgress(chipTool, " ***** Test Step 168 : Write attribute NULLABLE_BITMAP64 Max Value\n"); + err = TestWriteAttributeNullableBitmap64MaxValue_168(); break; case 169: - ChipLogProgress(chipTool, " ***** Test Step 169 : Write attribute NULLABLE_BITMAP64 Invalid Value\n"); - err = TestWriteAttributeNullableBitmap64InvalidValue_169(); + ChipLogProgress(chipTool, " ***** Test Step 169 : Read attribute NULLABLE_BITMAP64 Max Value\n"); + err = TestReadAttributeNullableBitmap64MaxValue_169(); break; case 170: - ChipLogProgress(chipTool, " ***** Test Step 170 : Read attribute NULLABLE_BITMAP64 unchanged Value\n"); - err = TestReadAttributeNullableBitmap64UnchangedValue_170(); + ChipLogProgress(chipTool, " ***** Test Step 170 : Write attribute NULLABLE_BITMAP64 Invalid Value\n"); + err = TestWriteAttributeNullableBitmap64InvalidValue_170(); break; case 171: - ChipLogProgress(chipTool, " ***** Test Step 171 : Write attribute NULLABLE_BITMAP64 null Value\n"); - err = TestWriteAttributeNullableBitmap64NullValue_171(); + ChipLogProgress(chipTool, " ***** Test Step 171 : Read attribute NULLABLE_BITMAP64 unchanged Value\n"); + err = TestReadAttributeNullableBitmap64UnchangedValue_171(); break; case 172: - ChipLogProgress(chipTool, " ***** Test Step 172 : Read attribute NULLABLE_BITMAP64 null Value\n"); - err = TestReadAttributeNullableBitmap64NullValue_172(); + ChipLogProgress(chipTool, " ***** Test Step 172 : Write attribute NULLABLE_BITMAP64 null Value\n"); + err = TestWriteAttributeNullableBitmap64NullValue_172(); break; case 173: - ChipLogProgress(chipTool, " ***** Test Step 173 : Write attribute NULLABLE_INT8U Max Value\n"); - err = TestWriteAttributeNullableInt8uMaxValue_173(); + ChipLogProgress(chipTool, " ***** Test Step 173 : Read attribute NULLABLE_BITMAP64 null Value\n"); + err = TestReadAttributeNullableBitmap64NullValue_173(); break; case 174: - ChipLogProgress(chipTool, " ***** Test Step 174 : Read attribute NULLABLE_INT8U Max Value\n"); - err = TestReadAttributeNullableInt8uMaxValue_174(); + ChipLogProgress(chipTool, " ***** Test Step 174 : Write attribute NULLABLE_INT8U Max Value\n"); + err = TestWriteAttributeNullableInt8uMaxValue_174(); break; case 175: - ChipLogProgress(chipTool, " ***** Test Step 175 : Write attribute NULLABLE_INT8U Invalid Value\n"); - err = TestWriteAttributeNullableInt8uInvalidValue_175(); + ChipLogProgress(chipTool, " ***** Test Step 175 : Read attribute NULLABLE_INT8U Max Value\n"); + err = TestReadAttributeNullableInt8uMaxValue_175(); break; case 176: - ChipLogProgress(chipTool, " ***** Test Step 176 : Read attribute NULLABLE_INT8U unchanged Value\n"); - err = TestReadAttributeNullableInt8uUnchangedValue_176(); + ChipLogProgress(chipTool, " ***** Test Step 176 : Write attribute NULLABLE_INT8U Invalid Value\n"); + err = TestWriteAttributeNullableInt8uInvalidValue_176(); break; case 177: - ChipLogProgress(chipTool, " ***** Test Step 177 : Write attribute NULLABLE_INT8U null Value\n"); - err = TestWriteAttributeNullableInt8uNullValue_177(); + ChipLogProgress(chipTool, " ***** Test Step 177 : Read attribute NULLABLE_INT8U unchanged Value\n"); + err = TestReadAttributeNullableInt8uUnchangedValue_177(); break; case 178: - ChipLogProgress(chipTool, " ***** Test Step 178 : Read attribute NULLABLE_INT8U null Value\n"); - err = TestReadAttributeNullableInt8uNullValue_178(); + ChipLogProgress(chipTool, " ***** Test Step 178 : Write attribute NULLABLE_INT8U null Value\n"); + err = TestWriteAttributeNullableInt8uNullValue_178(); break; case 179: - ChipLogProgress(chipTool, " ***** Test Step 179 : Write attribute NULLABLE_INT16U Max Value\n"); - err = TestWriteAttributeNullableInt16uMaxValue_179(); + ChipLogProgress(chipTool, " ***** Test Step 179 : Read attribute NULLABLE_INT8U null Value\n"); + err = TestReadAttributeNullableInt8uNullValue_179(); break; case 180: - ChipLogProgress(chipTool, " ***** Test Step 180 : Read attribute NULLABLE_INT16U Max Value\n"); - err = TestReadAttributeNullableInt16uMaxValue_180(); + ChipLogProgress(chipTool, " ***** Test Step 180 : Write attribute NULLABLE_INT16U Max Value\n"); + err = TestWriteAttributeNullableInt16uMaxValue_180(); break; case 181: - ChipLogProgress(chipTool, " ***** Test Step 181 : Write attribute NULLABLE_INT16U Invalid Value\n"); - err = TestWriteAttributeNullableInt16uInvalidValue_181(); + ChipLogProgress(chipTool, " ***** Test Step 181 : Read attribute NULLABLE_INT16U Max Value\n"); + err = TestReadAttributeNullableInt16uMaxValue_181(); break; case 182: - ChipLogProgress(chipTool, " ***** Test Step 182 : Read attribute NULLABLE_INT16U unchanged Value\n"); - err = TestReadAttributeNullableInt16uUnchangedValue_182(); + ChipLogProgress(chipTool, " ***** Test Step 182 : Write attribute NULLABLE_INT16U Invalid Value\n"); + err = TestWriteAttributeNullableInt16uInvalidValue_182(); break; case 183: - ChipLogProgress(chipTool, " ***** Test Step 183 : Write attribute NULLABLE_INT16U null Value\n"); - err = TestWriteAttributeNullableInt16uNullValue_183(); + ChipLogProgress(chipTool, " ***** Test Step 183 : Read attribute NULLABLE_INT16U unchanged Value\n"); + err = TestReadAttributeNullableInt16uUnchangedValue_183(); break; case 184: - ChipLogProgress(chipTool, " ***** Test Step 184 : Read attribute NULLABLE_INT16U null Value\n"); - err = TestReadAttributeNullableInt16uNullValue_184(); + ChipLogProgress(chipTool, " ***** Test Step 184 : Write attribute NULLABLE_INT16U null Value\n"); + err = TestWriteAttributeNullableInt16uNullValue_184(); break; case 185: - ChipLogProgress(chipTool, " ***** Test Step 185 : Write attribute NULLABLE_INT32U Max Value\n"); - err = TestWriteAttributeNullableInt32uMaxValue_185(); + ChipLogProgress(chipTool, " ***** Test Step 185 : Read attribute NULLABLE_INT16U null Value\n"); + err = TestReadAttributeNullableInt16uNullValue_185(); break; case 186: - ChipLogProgress(chipTool, " ***** Test Step 186 : Read attribute NULLABLE_INT32U Max Value\n"); - err = TestReadAttributeNullableInt32uMaxValue_186(); + ChipLogProgress(chipTool, " ***** Test Step 186 : Write attribute NULLABLE_INT32U Max Value\n"); + err = TestWriteAttributeNullableInt32uMaxValue_186(); break; case 187: - ChipLogProgress(chipTool, " ***** Test Step 187 : Write attribute NULLABLE_INT32U Invalid Value\n"); - err = TestWriteAttributeNullableInt32uInvalidValue_187(); + ChipLogProgress(chipTool, " ***** Test Step 187 : Read attribute NULLABLE_INT32U Max Value\n"); + err = TestReadAttributeNullableInt32uMaxValue_187(); break; case 188: - ChipLogProgress(chipTool, " ***** Test Step 188 : Read attribute NULLABLE_INT32U unchanged Value\n"); - err = TestReadAttributeNullableInt32uUnchangedValue_188(); + ChipLogProgress(chipTool, " ***** Test Step 188 : Write attribute NULLABLE_INT32U Invalid Value\n"); + err = TestWriteAttributeNullableInt32uInvalidValue_188(); break; case 189: - ChipLogProgress(chipTool, " ***** Test Step 189 : Write attribute NULLABLE_INT32U null Value\n"); - err = TestWriteAttributeNullableInt32uNullValue_189(); + ChipLogProgress(chipTool, " ***** Test Step 189 : Read attribute NULLABLE_INT32U unchanged Value\n"); + err = TestReadAttributeNullableInt32uUnchangedValue_189(); break; case 190: - ChipLogProgress(chipTool, " ***** Test Step 190 : Read attribute NULLABLE_INT32U null Value\n"); - err = TestReadAttributeNullableInt32uNullValue_190(); + ChipLogProgress(chipTool, " ***** Test Step 190 : Write attribute NULLABLE_INT32U null Value\n"); + err = TestWriteAttributeNullableInt32uNullValue_190(); break; case 191: - ChipLogProgress(chipTool, " ***** Test Step 191 : Write attribute NULLABLE_INT64U Max Value\n"); - err = TestWriteAttributeNullableInt64uMaxValue_191(); + ChipLogProgress(chipTool, " ***** Test Step 191 : Read attribute NULLABLE_INT32U null Value\n"); + err = TestReadAttributeNullableInt32uNullValue_191(); break; case 192: - ChipLogProgress(chipTool, " ***** Test Step 192 : Read attribute NULLABLE_INT64U Max Value\n"); - err = TestReadAttributeNullableInt64uMaxValue_192(); + ChipLogProgress(chipTool, " ***** Test Step 192 : Write attribute NULLABLE_INT64U Max Value\n"); + err = TestWriteAttributeNullableInt64uMaxValue_192(); break; case 193: - ChipLogProgress(chipTool, " ***** Test Step 193 : Write attribute NULLABLE_INT64U Invalid Value\n"); - err = TestWriteAttributeNullableInt64uInvalidValue_193(); + ChipLogProgress(chipTool, " ***** Test Step 193 : Read attribute NULLABLE_INT64U Max Value\n"); + err = TestReadAttributeNullableInt64uMaxValue_193(); break; case 194: - ChipLogProgress(chipTool, " ***** Test Step 194 : Read attribute NULLABLE_INT64U unchanged Value\n"); - err = TestReadAttributeNullableInt64uUnchangedValue_194(); + ChipLogProgress(chipTool, " ***** Test Step 194 : Write attribute NULLABLE_INT64U Invalid Value\n"); + err = TestWriteAttributeNullableInt64uInvalidValue_194(); break; case 195: - ChipLogProgress(chipTool, " ***** Test Step 195 : Write attribute NULLABLE_INT64U null Value\n"); - err = TestWriteAttributeNullableInt64uNullValue_195(); + ChipLogProgress(chipTool, " ***** Test Step 195 : Read attribute NULLABLE_INT64U unchanged Value\n"); + err = TestReadAttributeNullableInt64uUnchangedValue_195(); break; case 196: - ChipLogProgress(chipTool, " ***** Test Step 196 : Read attribute NULLABLE_INT64U null Value\n"); - err = TestReadAttributeNullableInt64uNullValue_196(); + ChipLogProgress(chipTool, " ***** Test Step 196 : Write attribute NULLABLE_INT64U null Value\n"); + err = TestWriteAttributeNullableInt64uNullValue_196(); break; case 197: - ChipLogProgress(chipTool, " ***** Test Step 197 : Write attribute NULLABLE_INT8S Min Value\n"); - err = TestWriteAttributeNullableInt8sMinValue_197(); + ChipLogProgress(chipTool, " ***** Test Step 197 : Read attribute NULLABLE_INT64U null Value\n"); + err = TestReadAttributeNullableInt64uNullValue_197(); break; case 198: - ChipLogProgress(chipTool, " ***** Test Step 198 : Read attribute NULLABLE_INT8S Min Value\n"); - err = TestReadAttributeNullableInt8sMinValue_198(); + ChipLogProgress(chipTool, " ***** Test Step 198 : Write attribute NULLABLE_INT8S Min Value\n"); + err = TestWriteAttributeNullableInt8sMinValue_198(); break; case 199: - ChipLogProgress(chipTool, " ***** Test Step 199 : Write attribute NULLABLE_INT8S Invalid Value\n"); - err = TestWriteAttributeNullableInt8sInvalidValue_199(); + ChipLogProgress(chipTool, " ***** Test Step 199 : Read attribute NULLABLE_INT8S Min Value\n"); + err = TestReadAttributeNullableInt8sMinValue_199(); break; case 200: - ChipLogProgress(chipTool, " ***** Test Step 200 : Read attribute NULLABLE_INT8S unchanged Value\n"); - err = TestReadAttributeNullableInt8sUnchangedValue_200(); + ChipLogProgress(chipTool, " ***** Test Step 200 : Write attribute NULLABLE_INT8S Invalid Value\n"); + err = TestWriteAttributeNullableInt8sInvalidValue_200(); break; case 201: - ChipLogProgress(chipTool, " ***** Test Step 201 : Write attribute NULLABLE_INT8S null Value\n"); - err = TestWriteAttributeNullableInt8sNullValue_201(); + ChipLogProgress(chipTool, " ***** Test Step 201 : Read attribute NULLABLE_INT8S unchanged Value\n"); + err = TestReadAttributeNullableInt8sUnchangedValue_201(); break; case 202: - ChipLogProgress(chipTool, " ***** Test Step 202 : Read attribute NULLABLE_INT8S null Value\n"); - err = TestReadAttributeNullableInt8sNullValue_202(); + ChipLogProgress(chipTool, " ***** Test Step 202 : Write attribute NULLABLE_INT8S null Value\n"); + err = TestWriteAttributeNullableInt8sNullValue_202(); break; case 203: - ChipLogProgress(chipTool, " ***** Test Step 203 : Write attribute NULLABLE_INT16S Min Value\n"); - err = TestWriteAttributeNullableInt16sMinValue_203(); + ChipLogProgress(chipTool, " ***** Test Step 203 : Read attribute NULLABLE_INT8S null Value\n"); + err = TestReadAttributeNullableInt8sNullValue_203(); break; case 204: - ChipLogProgress(chipTool, " ***** Test Step 204 : Read attribute NULLABLE_INT16S Min Value\n"); - err = TestReadAttributeNullableInt16sMinValue_204(); + ChipLogProgress(chipTool, " ***** Test Step 204 : Write attribute NULLABLE_INT16S Min Value\n"); + err = TestWriteAttributeNullableInt16sMinValue_204(); break; case 205: - ChipLogProgress(chipTool, " ***** Test Step 205 : Write attribute NULLABLE_INT16S Invalid Value\n"); - err = TestWriteAttributeNullableInt16sInvalidValue_205(); + ChipLogProgress(chipTool, " ***** Test Step 205 : Read attribute NULLABLE_INT16S Min Value\n"); + err = TestReadAttributeNullableInt16sMinValue_205(); break; case 206: - ChipLogProgress(chipTool, " ***** Test Step 206 : Read attribute NULLABLE_INT16S unchanged Value\n"); - err = TestReadAttributeNullableInt16sUnchangedValue_206(); + ChipLogProgress(chipTool, " ***** Test Step 206 : Write attribute NULLABLE_INT16S Invalid Value\n"); + err = TestWriteAttributeNullableInt16sInvalidValue_206(); break; case 207: - ChipLogProgress(chipTool, " ***** Test Step 207 : Write attribute NULLABLE_INT16S null Value\n"); - err = TestWriteAttributeNullableInt16sNullValue_207(); + ChipLogProgress(chipTool, " ***** Test Step 207 : Read attribute NULLABLE_INT16S unchanged Value\n"); + err = TestReadAttributeNullableInt16sUnchangedValue_207(); break; case 208: - ChipLogProgress(chipTool, " ***** Test Step 208 : Read attribute NULLABLE_INT16S null Value\n"); - err = TestReadAttributeNullableInt16sNullValue_208(); + ChipLogProgress(chipTool, " ***** Test Step 208 : Write attribute NULLABLE_INT16S null Value\n"); + err = TestWriteAttributeNullableInt16sNullValue_208(); break; case 209: - ChipLogProgress(chipTool, " ***** Test Step 209 : Write attribute NULLABLE_INT32S Min Value\n"); - err = TestWriteAttributeNullableInt32sMinValue_209(); + ChipLogProgress(chipTool, " ***** Test Step 209 : Read attribute NULLABLE_INT16S null Value\n"); + err = TestReadAttributeNullableInt16sNullValue_209(); break; case 210: - ChipLogProgress(chipTool, " ***** Test Step 210 : Read attribute NULLABLE_INT32S Min Value\n"); - err = TestReadAttributeNullableInt32sMinValue_210(); + ChipLogProgress(chipTool, " ***** Test Step 210 : Write attribute NULLABLE_INT32S Min Value\n"); + err = TestWriteAttributeNullableInt32sMinValue_210(); break; case 211: - ChipLogProgress(chipTool, " ***** Test Step 211 : Write attribute NULLABLE_INT32S Invalid Value\n"); - err = TestWriteAttributeNullableInt32sInvalidValue_211(); + ChipLogProgress(chipTool, " ***** Test Step 211 : Read attribute NULLABLE_INT32S Min Value\n"); + err = TestReadAttributeNullableInt32sMinValue_211(); break; case 212: - ChipLogProgress(chipTool, " ***** Test Step 212 : Read attribute NULLABLE_INT32S unchanged Value\n"); - err = TestReadAttributeNullableInt32sUnchangedValue_212(); + ChipLogProgress(chipTool, " ***** Test Step 212 : Write attribute NULLABLE_INT32S Invalid Value\n"); + err = TestWriteAttributeNullableInt32sInvalidValue_212(); break; case 213: - ChipLogProgress(chipTool, " ***** Test Step 213 : Write attribute NULLABLE_INT32S null Value\n"); - err = TestWriteAttributeNullableInt32sNullValue_213(); + ChipLogProgress(chipTool, " ***** Test Step 213 : Read attribute NULLABLE_INT32S unchanged Value\n"); + err = TestReadAttributeNullableInt32sUnchangedValue_213(); break; case 214: - ChipLogProgress(chipTool, " ***** Test Step 214 : Read attribute NULLABLE_INT32S null Value\n"); - err = TestReadAttributeNullableInt32sNullValue_214(); + ChipLogProgress(chipTool, " ***** Test Step 214 : Write attribute NULLABLE_INT32S null Value\n"); + err = TestWriteAttributeNullableInt32sNullValue_214(); break; case 215: - ChipLogProgress(chipTool, " ***** Test Step 215 : Write attribute NULLABLE_INT64S Min Value\n"); - err = TestWriteAttributeNullableInt64sMinValue_215(); + ChipLogProgress(chipTool, " ***** Test Step 215 : Read attribute NULLABLE_INT32S null Value\n"); + err = TestReadAttributeNullableInt32sNullValue_215(); break; case 216: - ChipLogProgress(chipTool, " ***** Test Step 216 : Read attribute NULLABLE_INT64S Min Value\n"); - err = TestReadAttributeNullableInt64sMinValue_216(); + ChipLogProgress(chipTool, " ***** Test Step 216 : Write attribute NULLABLE_INT64S Min Value\n"); + err = TestWriteAttributeNullableInt64sMinValue_216(); break; case 217: - ChipLogProgress(chipTool, " ***** Test Step 217 : Write attribute NULLABLE_INT64S Invalid Value\n"); - err = TestWriteAttributeNullableInt64sInvalidValue_217(); + ChipLogProgress(chipTool, " ***** Test Step 217 : Read attribute NULLABLE_INT64S Min Value\n"); + err = TestReadAttributeNullableInt64sMinValue_217(); break; case 218: - ChipLogProgress(chipTool, " ***** Test Step 218 : Read attribute NULLABLE_INT64S unchanged Value\n"); - err = TestReadAttributeNullableInt64sUnchangedValue_218(); + ChipLogProgress(chipTool, " ***** Test Step 218 : Write attribute NULLABLE_INT64S Invalid Value\n"); + err = TestWriteAttributeNullableInt64sInvalidValue_218(); break; case 219: - ChipLogProgress(chipTool, " ***** Test Step 219 : Write attribute NULLABLE_INT64S null Value\n"); - err = TestWriteAttributeNullableInt64sNullValue_219(); + ChipLogProgress(chipTool, " ***** Test Step 219 : Read attribute NULLABLE_INT64S unchanged Value\n"); + err = TestReadAttributeNullableInt64sUnchangedValue_219(); break; case 220: - ChipLogProgress(chipTool, " ***** Test Step 220 : Read attribute NULLABLE_INT64S null Value\n"); - err = TestReadAttributeNullableInt64sNullValue_220(); + ChipLogProgress(chipTool, " ***** Test Step 220 : Write attribute NULLABLE_INT64S null Value\n"); + err = TestWriteAttributeNullableInt64sNullValue_220(); break; case 221: - ChipLogProgress(chipTool, " ***** Test Step 221 : Write attribute NULLABLE_ENUM8 Max Value\n"); - err = TestWriteAttributeNullableEnum8MaxValue_221(); + ChipLogProgress(chipTool, " ***** Test Step 221 : Read attribute NULLABLE_INT64S null Value\n"); + err = TestReadAttributeNullableInt64sNullValue_221(); break; case 222: - ChipLogProgress(chipTool, " ***** Test Step 222 : Read attribute NULLABLE_ENUM8 Max Value\n"); - err = TestReadAttributeNullableEnum8MaxValue_222(); + ChipLogProgress(chipTool, " ***** Test Step 222 : Write attribute NULLABLE_ENUM8 Max Value\n"); + err = TestWriteAttributeNullableEnum8MaxValue_222(); break; case 223: - ChipLogProgress(chipTool, " ***** Test Step 223 : Write attribute NULLABLE_ENUM8 Invalid Value\n"); - err = TestWriteAttributeNullableEnum8InvalidValue_223(); + ChipLogProgress(chipTool, " ***** Test Step 223 : Read attribute NULLABLE_ENUM8 Max Value\n"); + err = TestReadAttributeNullableEnum8MaxValue_223(); break; case 224: - ChipLogProgress(chipTool, " ***** Test Step 224 : Read attribute NULLABLE_ENUM8 unchanged Value\n"); - err = TestReadAttributeNullableEnum8UnchangedValue_224(); + ChipLogProgress(chipTool, " ***** Test Step 224 : Write attribute NULLABLE_ENUM8 Invalid Value\n"); + err = TestWriteAttributeNullableEnum8InvalidValue_224(); break; case 225: - ChipLogProgress(chipTool, " ***** Test Step 225 : Write attribute NULLABLE_ENUM8 null Value\n"); - err = TestWriteAttributeNullableEnum8NullValue_225(); + ChipLogProgress(chipTool, " ***** Test Step 225 : Read attribute NULLABLE_ENUM8 unchanged Value\n"); + err = TestReadAttributeNullableEnum8UnchangedValue_225(); break; case 226: - ChipLogProgress(chipTool, " ***** Test Step 226 : Read attribute NULLABLE_ENUM8 null Value\n"); - err = TestReadAttributeNullableEnum8NullValue_226(); + ChipLogProgress(chipTool, " ***** Test Step 226 : Write attribute NULLABLE_ENUM8 null Value\n"); + err = TestWriteAttributeNullableEnum8NullValue_226(); break; case 227: - ChipLogProgress(chipTool, " ***** Test Step 227 : Write attribute NULLABLE_ENUM16 Max Value\n"); - err = TestWriteAttributeNullableEnum16MaxValue_227(); + ChipLogProgress(chipTool, " ***** Test Step 227 : Read attribute NULLABLE_ENUM8 null Value\n"); + err = TestReadAttributeNullableEnum8NullValue_227(); break; case 228: - ChipLogProgress(chipTool, " ***** Test Step 228 : Read attribute NULLABLE_ENUM16 Max Value\n"); - err = TestReadAttributeNullableEnum16MaxValue_228(); + ChipLogProgress(chipTool, " ***** Test Step 228 : Write attribute NULLABLE_ENUM16 Max Value\n"); + err = TestWriteAttributeNullableEnum16MaxValue_228(); break; case 229: - ChipLogProgress(chipTool, " ***** Test Step 229 : Write attribute NULLABLE_ENUM16 Invalid Value\n"); - err = TestWriteAttributeNullableEnum16InvalidValue_229(); + ChipLogProgress(chipTool, " ***** Test Step 229 : Read attribute NULLABLE_ENUM16 Max Value\n"); + err = TestReadAttributeNullableEnum16MaxValue_229(); break; case 230: - ChipLogProgress(chipTool, " ***** Test Step 230 : Read attribute NULLABLE_ENUM16 unchanged Value\n"); - err = TestReadAttributeNullableEnum16UnchangedValue_230(); + ChipLogProgress(chipTool, " ***** Test Step 230 : Write attribute NULLABLE_ENUM16 Invalid Value\n"); + err = TestWriteAttributeNullableEnum16InvalidValue_230(); break; case 231: - ChipLogProgress(chipTool, " ***** Test Step 231 : Write attribute NULLABLE_ENUM16 null Value\n"); - err = TestWriteAttributeNullableEnum16NullValue_231(); + ChipLogProgress(chipTool, " ***** Test Step 231 : Read attribute NULLABLE_ENUM16 unchanged Value\n"); + err = TestReadAttributeNullableEnum16UnchangedValue_231(); break; case 232: - ChipLogProgress(chipTool, " ***** Test Step 232 : Read attribute NULLABLE_ENUM16 null Value\n"); - err = TestReadAttributeNullableEnum16NullValue_232(); + ChipLogProgress(chipTool, " ***** Test Step 232 : Write attribute NULLABLE_ENUM16 null Value\n"); + err = TestWriteAttributeNullableEnum16NullValue_232(); break; case 233: - ChipLogProgress(chipTool, " ***** Test Step 233 : Read attribute NULLABLE_OCTET_STRING Default Value\n"); - err = TestReadAttributeNullableOctetStringDefaultValue_233(); + ChipLogProgress(chipTool, " ***** Test Step 233 : Read attribute NULLABLE_ENUM16 null Value\n"); + err = TestReadAttributeNullableEnum16NullValue_233(); break; case 234: - ChipLogProgress(chipTool, " ***** Test Step 234 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_234(); + ChipLogProgress(chipTool, " ***** Test Step 234 : Read attribute NULLABLE_OCTET_STRING Default Value\n"); + err = TestReadAttributeNullableOctetStringDefaultValue_234(); break; case 235: - ChipLogProgress(chipTool, " ***** Test Step 235 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_235(); + ChipLogProgress(chipTool, " ***** Test Step 235 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_235(); break; case 236: - ChipLogProgress(chipTool, " ***** Test Step 236 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_236(); + ChipLogProgress(chipTool, " ***** Test Step 236 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_236(); break; case 237: - ChipLogProgress(chipTool, " ***** Test Step 237 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_237(); + ChipLogProgress(chipTool, " ***** Test Step 237 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_237(); break; case 238: - ChipLogProgress(chipTool, " ***** Test Step 238 : Write attribute NULLABLE_OCTET_STRING\n"); - err = TestWriteAttributeNullableOctetString_238(); + ChipLogProgress(chipTool, " ***** Test Step 238 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_238(); break; case 239: - ChipLogProgress(chipTool, " ***** Test Step 239 : Read attribute NULLABLE_OCTET_STRING\n"); - err = TestReadAttributeNullableOctetString_239(); + ChipLogProgress(chipTool, " ***** Test Step 239 : Write attribute NULLABLE_OCTET_STRING\n"); + err = TestWriteAttributeNullableOctetString_239(); break; case 240: - ChipLogProgress(chipTool, " ***** Test Step 240 : Read attribute NULLABLE_CHAR_STRING Default Value\n"); - err = TestReadAttributeNullableCharStringDefaultValue_240(); + ChipLogProgress(chipTool, " ***** Test Step 240 : Read attribute NULLABLE_OCTET_STRING\n"); + err = TestReadAttributeNullableOctetString_240(); break; case 241: - ChipLogProgress(chipTool, " ***** Test Step 241 : Write attribute NULLABLE_CHAR_STRING\n"); - err = TestWriteAttributeNullableCharString_241(); + ChipLogProgress(chipTool, " ***** Test Step 241 : Read attribute NULLABLE_CHAR_STRING Default Value\n"); + err = TestReadAttributeNullableCharStringDefaultValue_241(); break; case 242: - ChipLogProgress(chipTool, " ***** Test Step 242 : Write attribute NULLABLE_CHAR_STRING - Value too long\n"); - err = TestWriteAttributeNullableCharStringValueTooLong_242(); + ChipLogProgress(chipTool, " ***** Test Step 242 : Write attribute NULLABLE_CHAR_STRING\n"); + err = TestWriteAttributeNullableCharString_242(); break; case 243: - ChipLogProgress(chipTool, " ***** Test Step 243 : Read attribute NULLABLE_CHAR_STRING\n"); - err = TestReadAttributeNullableCharString_243(); + ChipLogProgress(chipTool, " ***** Test Step 243 : Write attribute NULLABLE_CHAR_STRING - Value too long\n"); + err = TestWriteAttributeNullableCharStringValueTooLong_243(); break; case 244: - ChipLogProgress(chipTool, " ***** Test Step 244 : Write attribute NULLABLE_CHAR_STRING - Empty\n"); - err = TestWriteAttributeNullableCharStringEmpty_244(); + ChipLogProgress(chipTool, " ***** Test Step 244 : Read attribute NULLABLE_CHAR_STRING\n"); + err = TestReadAttributeNullableCharString_244(); break; case 245: - ChipLogProgress(chipTool, " ***** Test Step 245 : Read attribute NULLABLE_CHAR_STRING\n"); - err = TestReadAttributeNullableCharString_245(); + ChipLogProgress(chipTool, " ***** Test Step 245 : Write attribute NULLABLE_CHAR_STRING - Empty\n"); + err = TestWriteAttributeNullableCharStringEmpty_245(); break; case 246: - ChipLogProgress(chipTool, " ***** Test Step 246 : Read nonexistent attribute.\n"); - err = TestReadNonexistentAttribute_246(); + ChipLogProgress(chipTool, " ***** Test Step 246 : Read attribute NULLABLE_CHAR_STRING\n"); + err = TestReadAttributeNullableCharString_246(); + break; + case 247: + ChipLogProgress(chipTool, " ***** Test Step 247 : Read attribute from nonexistent endpoint.\n"); + err = TestReadAttributeFromNonexistentEndpoint_247(); + break; + case 248: + ChipLogProgress(chipTool, " ***** Test Step 248 : Read attribute from nonexistent cluster.\n"); + err = TestReadAttributeFromNonexistentCluster_248(); break; } @@ -31837,7 +32177,7 @@ class TestCluster : public TestCommand private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 247; + const uint16_t mTestCount = 249; static void OnFailureCallback_5(void * context, EmberAfStatus status) { @@ -32859,850 +33199,840 @@ class TestCluster : public TestCommand static void OnSuccessCallback_121(void * context) { (static_cast(context))->OnSuccessResponse_121(); } - static void OnFailureCallback_123(void * context, EmberAfStatus status) - { - (static_cast(context))->OnFailureResponse_123(chip::to_underlying(status)); - } - - static void OnSuccessCallback_123(void * context, chip::VendorId vendorId) - { - (static_cast(context))->OnSuccessResponse_123(vendorId); - } - static void OnFailureCallback_124(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_124(chip::to_underlying(status)); } - static void OnSuccessCallback_124(void * context) { (static_cast(context))->OnSuccessResponse_124(); } + static void OnSuccessCallback_124(void * context, chip::VendorId vendorId) + { + (static_cast(context))->OnSuccessResponse_124(vendorId); + } static void OnFailureCallback_125(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_125(chip::to_underlying(status)); } - static void OnSuccessCallback_125(void * context, chip::VendorId vendorId) - { - (static_cast(context))->OnSuccessResponse_125(vendorId); - } + static void OnSuccessCallback_125(void * context) { (static_cast(context))->OnSuccessResponse_125(); } static void OnFailureCallback_126(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_126(chip::to_underlying(status)); } - static void OnSuccessCallback_126(void * context) { (static_cast(context))->OnSuccessResponse_126(); } + static void OnSuccessCallback_126(void * context, chip::VendorId vendorId) + { + (static_cast(context))->OnSuccessResponse_126(vendorId); + } - static void OnFailureCallback_137(void * context, EmberAfStatus status) + static void OnFailureCallback_127(void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_137(chip::to_underlying(status)); + (static_cast(context))->OnFailureResponse_127(chip::to_underlying(status)); } - static void OnSuccessCallback_137(void * context) { (static_cast(context))->OnSuccessResponse_137(); } + static void OnSuccessCallback_127(void * context) { (static_cast(context))->OnSuccessResponse_127(); } static void OnFailureCallback_138(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_138(chip::to_underlying(status)); } - static void OnSuccessCallback_138(void * context, const chip::app::DataModel::DecodableList & listInt8u) - { - (static_cast(context))->OnSuccessResponse_138(listInt8u); - } + static void OnSuccessCallback_138(void * context) { (static_cast(context))->OnSuccessResponse_138(); } static void OnFailureCallback_139(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_139(chip::to_underlying(status)); } - static void OnSuccessCallback_139(void * context) { (static_cast(context))->OnSuccessResponse_139(); } + static void OnSuccessCallback_139(void * context, const chip::app::DataModel::DecodableList & listInt8u) + { + (static_cast(context))->OnSuccessResponse_139(listInt8u); + } static void OnFailureCallback_140(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_140(chip::to_underlying(status)); } - static void OnSuccessCallback_140(void * context, const chip::app::DataModel::DecodableList & listOctetString) - { - (static_cast(context))->OnSuccessResponse_140(listOctetString); - } + static void OnSuccessCallback_140(void * context) { (static_cast(context))->OnSuccessResponse_140(); } static void OnFailureCallback_141(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_141(chip::to_underlying(status)); } - static void OnSuccessCallback_141(void * context) { (static_cast(context))->OnSuccessResponse_141(); } + static void OnSuccessCallback_141(void * context, const chip::app::DataModel::DecodableList & listOctetString) + { + (static_cast(context))->OnSuccessResponse_141(listOctetString); + } static void OnFailureCallback_142(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_142(chip::to_underlying(status)); } - static void OnSuccessCallback_142( - void * context, - const chip::app::DataModel::DecodableList & - listStructOctetString) + static void OnSuccessCallback_142(void * context) { (static_cast(context))->OnSuccessResponse_142(); } + + static void OnFailureCallback_143(void * context, EmberAfStatus status) { - (static_cast(context))->OnSuccessResponse_142(listStructOctetString); + (static_cast(context))->OnFailureResponse_143(chip::to_underlying(status)); } - static void OnFailureCallback_145(void * context, EmberAfStatus status) + static void OnSuccessCallback_143( + void * context, + const chip::app::DataModel::DecodableList & + listStructOctetString) { - (static_cast(context))->OnFailureResponse_145(chip::to_underlying(status)); + (static_cast(context))->OnSuccessResponse_143(listStructOctetString); } - static void OnSuccessCallback_145(void * context) { (static_cast(context))->OnSuccessResponse_145(); } - static void OnFailureCallback_146(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_146(chip::to_underlying(status)); } - static void OnSuccessCallback_146(void * context, const chip::app::DataModel::Nullable & nullableBoolean) - { - (static_cast(context))->OnSuccessResponse_146(nullableBoolean); - } + static void OnSuccessCallback_146(void * context) { (static_cast(context))->OnSuccessResponse_146(); } static void OnFailureCallback_147(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_147(chip::to_underlying(status)); } - static void OnSuccessCallback_147(void * context) { (static_cast(context))->OnSuccessResponse_147(); } + static void OnSuccessCallback_147(void * context, const chip::app::DataModel::Nullable & nullableBoolean) + { + (static_cast(context))->OnSuccessResponse_147(nullableBoolean); + } static void OnFailureCallback_148(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_148(chip::to_underlying(status)); } - static void OnSuccessCallback_148(void * context, const chip::app::DataModel::Nullable & nullableBoolean) - { - (static_cast(context))->OnSuccessResponse_148(nullableBoolean); - } + static void OnSuccessCallback_148(void * context) { (static_cast(context))->OnSuccessResponse_148(); } static void OnFailureCallback_149(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_149(chip::to_underlying(status)); } - static void OnSuccessCallback_149(void * context) { (static_cast(context))->OnSuccessResponse_149(); } + static void OnSuccessCallback_149(void * context, const chip::app::DataModel::Nullable & nullableBoolean) + { + (static_cast(context))->OnSuccessResponse_149(nullableBoolean); + } static void OnFailureCallback_150(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_150(chip::to_underlying(status)); } - static void OnSuccessCallback_150(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_150(nullableBitmap8); - } + static void OnSuccessCallback_150(void * context) { (static_cast(context))->OnSuccessResponse_150(); } static void OnFailureCallback_151(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_151(chip::to_underlying(status)); } - static void OnSuccessCallback_151(void * context) { (static_cast(context))->OnSuccessResponse_151(); } + static void OnSuccessCallback_151(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_151(nullableBitmap8); + } static void OnFailureCallback_152(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_152(chip::to_underlying(status)); } - static void OnSuccessCallback_152(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_152(nullableBitmap8); - } + static void OnSuccessCallback_152(void * context) { (static_cast(context))->OnSuccessResponse_152(); } static void OnFailureCallback_153(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_153(chip::to_underlying(status)); } - static void OnSuccessCallback_153(void * context) { (static_cast(context))->OnSuccessResponse_153(); } + static void OnSuccessCallback_153(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_153(nullableBitmap8); + } static void OnFailureCallback_154(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_154(chip::to_underlying(status)); } - static void OnSuccessCallback_154(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) - { - (static_cast(context))->OnSuccessResponse_154(nullableBitmap8); - } + static void OnSuccessCallback_154(void * context) { (static_cast(context))->OnSuccessResponse_154(); } static void OnFailureCallback_155(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_155(chip::to_underlying(status)); } - static void OnSuccessCallback_155(void * context) { (static_cast(context))->OnSuccessResponse_155(); } + static void OnSuccessCallback_155(void * context, const chip::app::DataModel::Nullable & nullableBitmap8) + { + (static_cast(context))->OnSuccessResponse_155(nullableBitmap8); + } static void OnFailureCallback_156(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_156(chip::to_underlying(status)); } - static void OnSuccessCallback_156(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_156(nullableBitmap16); - } + static void OnSuccessCallback_156(void * context) { (static_cast(context))->OnSuccessResponse_156(); } static void OnFailureCallback_157(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_157(chip::to_underlying(status)); } - static void OnSuccessCallback_157(void * context) { (static_cast(context))->OnSuccessResponse_157(); } + static void OnSuccessCallback_157(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_157(nullableBitmap16); + } static void OnFailureCallback_158(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_158(chip::to_underlying(status)); } - static void OnSuccessCallback_158(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_158(nullableBitmap16); - } + static void OnSuccessCallback_158(void * context) { (static_cast(context))->OnSuccessResponse_158(); } static void OnFailureCallback_159(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_159(chip::to_underlying(status)); } - static void OnSuccessCallback_159(void * context) { (static_cast(context))->OnSuccessResponse_159(); } + static void OnSuccessCallback_159(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_159(nullableBitmap16); + } static void OnFailureCallback_160(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_160(chip::to_underlying(status)); } - static void OnSuccessCallback_160(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) - { - (static_cast(context))->OnSuccessResponse_160(nullableBitmap16); - } + static void OnSuccessCallback_160(void * context) { (static_cast(context))->OnSuccessResponse_160(); } static void OnFailureCallback_161(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_161(chip::to_underlying(status)); } - static void OnSuccessCallback_161(void * context) { (static_cast(context))->OnSuccessResponse_161(); } + static void OnSuccessCallback_161(void * context, const chip::app::DataModel::Nullable & nullableBitmap16) + { + (static_cast(context))->OnSuccessResponse_161(nullableBitmap16); + } static void OnFailureCallback_162(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_162(chip::to_underlying(status)); } - static void OnSuccessCallback_162(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_162(nullableBitmap32); - } + static void OnSuccessCallback_162(void * context) { (static_cast(context))->OnSuccessResponse_162(); } static void OnFailureCallback_163(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_163(chip::to_underlying(status)); } - static void OnSuccessCallback_163(void * context) { (static_cast(context))->OnSuccessResponse_163(); } + static void OnSuccessCallback_163(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_163(nullableBitmap32); + } static void OnFailureCallback_164(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_164(chip::to_underlying(status)); } - static void OnSuccessCallback_164(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_164(nullableBitmap32); - } + static void OnSuccessCallback_164(void * context) { (static_cast(context))->OnSuccessResponse_164(); } static void OnFailureCallback_165(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_165(chip::to_underlying(status)); } - static void OnSuccessCallback_165(void * context) { (static_cast(context))->OnSuccessResponse_165(); } + static void OnSuccessCallback_165(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_165(nullableBitmap32); + } static void OnFailureCallback_166(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_166(chip::to_underlying(status)); } - static void OnSuccessCallback_166(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) - { - (static_cast(context))->OnSuccessResponse_166(nullableBitmap32); - } + static void OnSuccessCallback_166(void * context) { (static_cast(context))->OnSuccessResponse_166(); } static void OnFailureCallback_167(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_167(chip::to_underlying(status)); } - static void OnSuccessCallback_167(void * context) { (static_cast(context))->OnSuccessResponse_167(); } + static void OnSuccessCallback_167(void * context, const chip::app::DataModel::Nullable & nullableBitmap32) + { + (static_cast(context))->OnSuccessResponse_167(nullableBitmap32); + } static void OnFailureCallback_168(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_168(chip::to_underlying(status)); } - static void OnSuccessCallback_168(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_168(nullableBitmap64); - } + static void OnSuccessCallback_168(void * context) { (static_cast(context))->OnSuccessResponse_168(); } static void OnFailureCallback_169(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_169(chip::to_underlying(status)); } - static void OnSuccessCallback_169(void * context) { (static_cast(context))->OnSuccessResponse_169(); } + static void OnSuccessCallback_169(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_169(nullableBitmap64); + } static void OnFailureCallback_170(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_170(chip::to_underlying(status)); } - static void OnSuccessCallback_170(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_170(nullableBitmap64); - } + static void OnSuccessCallback_170(void * context) { (static_cast(context))->OnSuccessResponse_170(); } static void OnFailureCallback_171(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_171(chip::to_underlying(status)); } - static void OnSuccessCallback_171(void * context) { (static_cast(context))->OnSuccessResponse_171(); } + static void OnSuccessCallback_171(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_171(nullableBitmap64); + } static void OnFailureCallback_172(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_172(chip::to_underlying(status)); } - static void OnSuccessCallback_172(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) - { - (static_cast(context))->OnSuccessResponse_172(nullableBitmap64); - } + static void OnSuccessCallback_172(void * context) { (static_cast(context))->OnSuccessResponse_172(); } static void OnFailureCallback_173(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_173(chip::to_underlying(status)); } - static void OnSuccessCallback_173(void * context) { (static_cast(context))->OnSuccessResponse_173(); } + static void OnSuccessCallback_173(void * context, const chip::app::DataModel::Nullable & nullableBitmap64) + { + (static_cast(context))->OnSuccessResponse_173(nullableBitmap64); + } static void OnFailureCallback_174(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_174(chip::to_underlying(status)); } - static void OnSuccessCallback_174(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_174(nullableInt8u); - } + static void OnSuccessCallback_174(void * context) { (static_cast(context))->OnSuccessResponse_174(); } static void OnFailureCallback_175(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_175(chip::to_underlying(status)); } - static void OnSuccessCallback_175(void * context) { (static_cast(context))->OnSuccessResponse_175(); } + static void OnSuccessCallback_175(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_175(nullableInt8u); + } static void OnFailureCallback_176(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_176(chip::to_underlying(status)); } - static void OnSuccessCallback_176(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_176(nullableInt8u); - } + static void OnSuccessCallback_176(void * context) { (static_cast(context))->OnSuccessResponse_176(); } static void OnFailureCallback_177(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_177(chip::to_underlying(status)); } - static void OnSuccessCallback_177(void * context) { (static_cast(context))->OnSuccessResponse_177(); } + static void OnSuccessCallback_177(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_177(nullableInt8u); + } static void OnFailureCallback_178(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_178(chip::to_underlying(status)); } - static void OnSuccessCallback_178(void * context, const chip::app::DataModel::Nullable & nullableInt8u) - { - (static_cast(context))->OnSuccessResponse_178(nullableInt8u); - } + static void OnSuccessCallback_178(void * context) { (static_cast(context))->OnSuccessResponse_178(); } static void OnFailureCallback_179(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_179(chip::to_underlying(status)); } - static void OnSuccessCallback_179(void * context) { (static_cast(context))->OnSuccessResponse_179(); } + static void OnSuccessCallback_179(void * context, const chip::app::DataModel::Nullable & nullableInt8u) + { + (static_cast(context))->OnSuccessResponse_179(nullableInt8u); + } static void OnFailureCallback_180(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_180(chip::to_underlying(status)); } - static void OnSuccessCallback_180(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_180(nullableInt16u); - } + static void OnSuccessCallback_180(void * context) { (static_cast(context))->OnSuccessResponse_180(); } static void OnFailureCallback_181(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_181(chip::to_underlying(status)); } - static void OnSuccessCallback_181(void * context) { (static_cast(context))->OnSuccessResponse_181(); } + static void OnSuccessCallback_181(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_181(nullableInt16u); + } static void OnFailureCallback_182(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_182(chip::to_underlying(status)); } - static void OnSuccessCallback_182(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_182(nullableInt16u); - } + static void OnSuccessCallback_182(void * context) { (static_cast(context))->OnSuccessResponse_182(); } static void OnFailureCallback_183(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_183(chip::to_underlying(status)); } - static void OnSuccessCallback_183(void * context) { (static_cast(context))->OnSuccessResponse_183(); } + static void OnSuccessCallback_183(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_183(nullableInt16u); + } static void OnFailureCallback_184(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_184(chip::to_underlying(status)); } - static void OnSuccessCallback_184(void * context, const chip::app::DataModel::Nullable & nullableInt16u) - { - (static_cast(context))->OnSuccessResponse_184(nullableInt16u); - } + static void OnSuccessCallback_184(void * context) { (static_cast(context))->OnSuccessResponse_184(); } static void OnFailureCallback_185(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_185(chip::to_underlying(status)); } - static void OnSuccessCallback_185(void * context) { (static_cast(context))->OnSuccessResponse_185(); } + static void OnSuccessCallback_185(void * context, const chip::app::DataModel::Nullable & nullableInt16u) + { + (static_cast(context))->OnSuccessResponse_185(nullableInt16u); + } static void OnFailureCallback_186(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_186(chip::to_underlying(status)); } - static void OnSuccessCallback_186(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_186(nullableInt32u); - } + static void OnSuccessCallback_186(void * context) { (static_cast(context))->OnSuccessResponse_186(); } static void OnFailureCallback_187(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_187(chip::to_underlying(status)); } - static void OnSuccessCallback_187(void * context) { (static_cast(context))->OnSuccessResponse_187(); } + static void OnSuccessCallback_187(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_187(nullableInt32u); + } static void OnFailureCallback_188(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_188(chip::to_underlying(status)); } - static void OnSuccessCallback_188(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_188(nullableInt32u); - } + static void OnSuccessCallback_188(void * context) { (static_cast(context))->OnSuccessResponse_188(); } static void OnFailureCallback_189(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_189(chip::to_underlying(status)); } - static void OnSuccessCallback_189(void * context) { (static_cast(context))->OnSuccessResponse_189(); } + static void OnSuccessCallback_189(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_189(nullableInt32u); + } static void OnFailureCallback_190(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_190(chip::to_underlying(status)); } - static void OnSuccessCallback_190(void * context, const chip::app::DataModel::Nullable & nullableInt32u) - { - (static_cast(context))->OnSuccessResponse_190(nullableInt32u); - } + static void OnSuccessCallback_190(void * context) { (static_cast(context))->OnSuccessResponse_190(); } static void OnFailureCallback_191(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_191(chip::to_underlying(status)); } - static void OnSuccessCallback_191(void * context) { (static_cast(context))->OnSuccessResponse_191(); } + static void OnSuccessCallback_191(void * context, const chip::app::DataModel::Nullable & nullableInt32u) + { + (static_cast(context))->OnSuccessResponse_191(nullableInt32u); + } static void OnFailureCallback_192(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_192(chip::to_underlying(status)); } - static void OnSuccessCallback_192(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_192(nullableInt64u); - } + static void OnSuccessCallback_192(void * context) { (static_cast(context))->OnSuccessResponse_192(); } static void OnFailureCallback_193(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_193(chip::to_underlying(status)); } - static void OnSuccessCallback_193(void * context) { (static_cast(context))->OnSuccessResponse_193(); } + static void OnSuccessCallback_193(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_193(nullableInt64u); + } static void OnFailureCallback_194(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_194(chip::to_underlying(status)); } - static void OnSuccessCallback_194(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_194(nullableInt64u); - } + static void OnSuccessCallback_194(void * context) { (static_cast(context))->OnSuccessResponse_194(); } static void OnFailureCallback_195(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_195(chip::to_underlying(status)); } - static void OnSuccessCallback_195(void * context) { (static_cast(context))->OnSuccessResponse_195(); } + static void OnSuccessCallback_195(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_195(nullableInt64u); + } static void OnFailureCallback_196(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_196(chip::to_underlying(status)); } - static void OnSuccessCallback_196(void * context, const chip::app::DataModel::Nullable & nullableInt64u) - { - (static_cast(context))->OnSuccessResponse_196(nullableInt64u); - } + static void OnSuccessCallback_196(void * context) { (static_cast(context))->OnSuccessResponse_196(); } static void OnFailureCallback_197(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_197(chip::to_underlying(status)); } - static void OnSuccessCallback_197(void * context) { (static_cast(context))->OnSuccessResponse_197(); } + static void OnSuccessCallback_197(void * context, const chip::app::DataModel::Nullable & nullableInt64u) + { + (static_cast(context))->OnSuccessResponse_197(nullableInt64u); + } static void OnFailureCallback_198(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_198(chip::to_underlying(status)); } - static void OnSuccessCallback_198(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_198(nullableInt8s); - } + static void OnSuccessCallback_198(void * context) { (static_cast(context))->OnSuccessResponse_198(); } static void OnFailureCallback_199(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_199(chip::to_underlying(status)); } - static void OnSuccessCallback_199(void * context) { (static_cast(context))->OnSuccessResponse_199(); } + static void OnSuccessCallback_199(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_199(nullableInt8s); + } static void OnFailureCallback_200(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_200(chip::to_underlying(status)); } - static void OnSuccessCallback_200(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_200(nullableInt8s); - } + static void OnSuccessCallback_200(void * context) { (static_cast(context))->OnSuccessResponse_200(); } static void OnFailureCallback_201(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_201(chip::to_underlying(status)); } - static void OnSuccessCallback_201(void * context) { (static_cast(context))->OnSuccessResponse_201(); } + static void OnSuccessCallback_201(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_201(nullableInt8s); + } static void OnFailureCallback_202(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_202(chip::to_underlying(status)); } - static void OnSuccessCallback_202(void * context, const chip::app::DataModel::Nullable & nullableInt8s) - { - (static_cast(context))->OnSuccessResponse_202(nullableInt8s); - } + static void OnSuccessCallback_202(void * context) { (static_cast(context))->OnSuccessResponse_202(); } static void OnFailureCallback_203(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_203(chip::to_underlying(status)); } - static void OnSuccessCallback_203(void * context) { (static_cast(context))->OnSuccessResponse_203(); } + static void OnSuccessCallback_203(void * context, const chip::app::DataModel::Nullable & nullableInt8s) + { + (static_cast(context))->OnSuccessResponse_203(nullableInt8s); + } static void OnFailureCallback_204(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_204(chip::to_underlying(status)); } - static void OnSuccessCallback_204(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_204(nullableInt16s); - } + static void OnSuccessCallback_204(void * context) { (static_cast(context))->OnSuccessResponse_204(); } static void OnFailureCallback_205(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_205(chip::to_underlying(status)); } - static void OnSuccessCallback_205(void * context) { (static_cast(context))->OnSuccessResponse_205(); } + static void OnSuccessCallback_205(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_205(nullableInt16s); + } static void OnFailureCallback_206(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_206(chip::to_underlying(status)); } - static void OnSuccessCallback_206(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_206(nullableInt16s); - } + static void OnSuccessCallback_206(void * context) { (static_cast(context))->OnSuccessResponse_206(); } static void OnFailureCallback_207(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_207(chip::to_underlying(status)); } - static void OnSuccessCallback_207(void * context) { (static_cast(context))->OnSuccessResponse_207(); } + static void OnSuccessCallback_207(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_207(nullableInt16s); + } static void OnFailureCallback_208(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_208(chip::to_underlying(status)); } - static void OnSuccessCallback_208(void * context, const chip::app::DataModel::Nullable & nullableInt16s) - { - (static_cast(context))->OnSuccessResponse_208(nullableInt16s); - } + static void OnSuccessCallback_208(void * context) { (static_cast(context))->OnSuccessResponse_208(); } static void OnFailureCallback_209(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_209(chip::to_underlying(status)); } - static void OnSuccessCallback_209(void * context) { (static_cast(context))->OnSuccessResponse_209(); } + static void OnSuccessCallback_209(void * context, const chip::app::DataModel::Nullable & nullableInt16s) + { + (static_cast(context))->OnSuccessResponse_209(nullableInt16s); + } static void OnFailureCallback_210(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_210(chip::to_underlying(status)); } - static void OnSuccessCallback_210(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_210(nullableInt32s); - } + static void OnSuccessCallback_210(void * context) { (static_cast(context))->OnSuccessResponse_210(); } static void OnFailureCallback_211(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_211(chip::to_underlying(status)); } - static void OnSuccessCallback_211(void * context) { (static_cast(context))->OnSuccessResponse_211(); } + static void OnSuccessCallback_211(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_211(nullableInt32s); + } static void OnFailureCallback_212(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_212(chip::to_underlying(status)); } - static void OnSuccessCallback_212(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_212(nullableInt32s); - } + static void OnSuccessCallback_212(void * context) { (static_cast(context))->OnSuccessResponse_212(); } static void OnFailureCallback_213(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_213(chip::to_underlying(status)); } - static void OnSuccessCallback_213(void * context) { (static_cast(context))->OnSuccessResponse_213(); } + static void OnSuccessCallback_213(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_213(nullableInt32s); + } static void OnFailureCallback_214(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_214(chip::to_underlying(status)); } - static void OnSuccessCallback_214(void * context, const chip::app::DataModel::Nullable & nullableInt32s) - { - (static_cast(context))->OnSuccessResponse_214(nullableInt32s); - } + static void OnSuccessCallback_214(void * context) { (static_cast(context))->OnSuccessResponse_214(); } static void OnFailureCallback_215(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_215(chip::to_underlying(status)); } - static void OnSuccessCallback_215(void * context) { (static_cast(context))->OnSuccessResponse_215(); } + static void OnSuccessCallback_215(void * context, const chip::app::DataModel::Nullable & nullableInt32s) + { + (static_cast(context))->OnSuccessResponse_215(nullableInt32s); + } static void OnFailureCallback_216(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_216(chip::to_underlying(status)); } - static void OnSuccessCallback_216(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_216(nullableInt64s); - } + static void OnSuccessCallback_216(void * context) { (static_cast(context))->OnSuccessResponse_216(); } static void OnFailureCallback_217(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_217(chip::to_underlying(status)); } - static void OnSuccessCallback_217(void * context) { (static_cast(context))->OnSuccessResponse_217(); } + static void OnSuccessCallback_217(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_217(nullableInt64s); + } static void OnFailureCallback_218(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_218(chip::to_underlying(status)); } - static void OnSuccessCallback_218(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_218(nullableInt64s); - } + static void OnSuccessCallback_218(void * context) { (static_cast(context))->OnSuccessResponse_218(); } static void OnFailureCallback_219(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_219(chip::to_underlying(status)); } - static void OnSuccessCallback_219(void * context) { (static_cast(context))->OnSuccessResponse_219(); } + static void OnSuccessCallback_219(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_219(nullableInt64s); + } static void OnFailureCallback_220(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_220(chip::to_underlying(status)); } - static void OnSuccessCallback_220(void * context, const chip::app::DataModel::Nullable & nullableInt64s) - { - (static_cast(context))->OnSuccessResponse_220(nullableInt64s); - } + static void OnSuccessCallback_220(void * context) { (static_cast(context))->OnSuccessResponse_220(); } static void OnFailureCallback_221(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_221(chip::to_underlying(status)); } - static void OnSuccessCallback_221(void * context) { (static_cast(context))->OnSuccessResponse_221(); } + static void OnSuccessCallback_221(void * context, const chip::app::DataModel::Nullable & nullableInt64s) + { + (static_cast(context))->OnSuccessResponse_221(nullableInt64s); + } static void OnFailureCallback_222(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_222(chip::to_underlying(status)); } - static void OnSuccessCallback_222(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_222(nullableEnum8); - } + static void OnSuccessCallback_222(void * context) { (static_cast(context))->OnSuccessResponse_222(); } static void OnFailureCallback_223(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_223(chip::to_underlying(status)); } - static void OnSuccessCallback_223(void * context) { (static_cast(context))->OnSuccessResponse_223(); } + static void OnSuccessCallback_223(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_223(nullableEnum8); + } static void OnFailureCallback_224(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_224(chip::to_underlying(status)); } - static void OnSuccessCallback_224(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_224(nullableEnum8); - } + static void OnSuccessCallback_224(void * context) { (static_cast(context))->OnSuccessResponse_224(); } static void OnFailureCallback_225(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_225(chip::to_underlying(status)); } - static void OnSuccessCallback_225(void * context) { (static_cast(context))->OnSuccessResponse_225(); } + static void OnSuccessCallback_225(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_225(nullableEnum8); + } static void OnFailureCallback_226(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_226(chip::to_underlying(status)); } - static void OnSuccessCallback_226(void * context, const chip::app::DataModel::Nullable & nullableEnum8) - { - (static_cast(context))->OnSuccessResponse_226(nullableEnum8); - } + static void OnSuccessCallback_226(void * context) { (static_cast(context))->OnSuccessResponse_226(); } static void OnFailureCallback_227(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_227(chip::to_underlying(status)); } - static void OnSuccessCallback_227(void * context) { (static_cast(context))->OnSuccessResponse_227(); } + static void OnSuccessCallback_227(void * context, const chip::app::DataModel::Nullable & nullableEnum8) + { + (static_cast(context))->OnSuccessResponse_227(nullableEnum8); + } static void OnFailureCallback_228(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_228(chip::to_underlying(status)); } - static void OnSuccessCallback_228(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_228(nullableEnum16); - } + static void OnSuccessCallback_228(void * context) { (static_cast(context))->OnSuccessResponse_228(); } static void OnFailureCallback_229(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_229(chip::to_underlying(status)); } - static void OnSuccessCallback_229(void * context) { (static_cast(context))->OnSuccessResponse_229(); } + static void OnSuccessCallback_229(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_229(nullableEnum16); + } static void OnFailureCallback_230(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_230(chip::to_underlying(status)); } - static void OnSuccessCallback_230(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_230(nullableEnum16); - } + static void OnSuccessCallback_230(void * context) { (static_cast(context))->OnSuccessResponse_230(); } static void OnFailureCallback_231(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_231(chip::to_underlying(status)); } - static void OnSuccessCallback_231(void * context) { (static_cast(context))->OnSuccessResponse_231(); } + static void OnSuccessCallback_231(void * context, const chip::app::DataModel::Nullable & nullableEnum16) + { + (static_cast(context))->OnSuccessResponse_231(nullableEnum16); + } static void OnFailureCallback_232(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_232(chip::to_underlying(status)); } - static void OnSuccessCallback_232(void * context, const chip::app::DataModel::Nullable & nullableEnum16) - { - (static_cast(context))->OnSuccessResponse_232(nullableEnum16); - } + static void OnSuccessCallback_232(void * context) { (static_cast(context))->OnSuccessResponse_232(); } static void OnFailureCallback_233(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_233(chip::to_underlying(status)); } - static void OnSuccessCallback_233(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + static void OnSuccessCallback_233(void * context, const chip::app::DataModel::Nullable & nullableEnum16) { - (static_cast(context))->OnSuccessResponse_233(nullableOctetString); + (static_cast(context))->OnSuccessResponse_233(nullableEnum16); } static void OnFailureCallback_234(void * context, EmberAfStatus status) @@ -33710,60 +34040,60 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_234(chip::to_underlying(status)); } - static void OnSuccessCallback_234(void * context) { (static_cast(context))->OnSuccessResponse_234(); } + static void OnSuccessCallback_234(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + { + (static_cast(context))->OnSuccessResponse_234(nullableOctetString); + } static void OnFailureCallback_235(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_235(chip::to_underlying(status)); } - static void OnSuccessCallback_235(void * context, const chip::app::DataModel::Nullable & nullableOctetString) - { - (static_cast(context))->OnSuccessResponse_235(nullableOctetString); - } + static void OnSuccessCallback_235(void * context) { (static_cast(context))->OnSuccessResponse_235(); } static void OnFailureCallback_236(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_236(chip::to_underlying(status)); } - static void OnSuccessCallback_236(void * context) { (static_cast(context))->OnSuccessResponse_236(); } + static void OnSuccessCallback_236(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + { + (static_cast(context))->OnSuccessResponse_236(nullableOctetString); + } static void OnFailureCallback_237(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_237(chip::to_underlying(status)); } - static void OnSuccessCallback_237(void * context, const chip::app::DataModel::Nullable & nullableOctetString) - { - (static_cast(context))->OnSuccessResponse_237(nullableOctetString); - } + static void OnSuccessCallback_237(void * context) { (static_cast(context))->OnSuccessResponse_237(); } static void OnFailureCallback_238(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_238(chip::to_underlying(status)); } - static void OnSuccessCallback_238(void * context) { (static_cast(context))->OnSuccessResponse_238(); } + static void OnSuccessCallback_238(void * context, const chip::app::DataModel::Nullable & nullableOctetString) + { + (static_cast(context))->OnSuccessResponse_238(nullableOctetString); + } static void OnFailureCallback_239(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_239(chip::to_underlying(status)); } - static void OnSuccessCallback_239(void * context, const chip::app::DataModel::Nullable & nullableOctetString) - { - (static_cast(context))->OnSuccessResponse_239(nullableOctetString); - } + static void OnSuccessCallback_239(void * context) { (static_cast(context))->OnSuccessResponse_239(); } static void OnFailureCallback_240(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_240(chip::to_underlying(status)); } - static void OnSuccessCallback_240(void * context, const chip::app::DataModel::Nullable & nullableCharString) + static void OnSuccessCallback_240(void * context, const chip::app::DataModel::Nullable & nullableOctetString) { - (static_cast(context))->OnSuccessResponse_240(nullableCharString); + (static_cast(context))->OnSuccessResponse_240(nullableOctetString); } static void OnFailureCallback_241(void * context, EmberAfStatus status) @@ -33771,7 +34101,10 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_241(chip::to_underlying(status)); } - static void OnSuccessCallback_241(void * context) { (static_cast(context))->OnSuccessResponse_241(); } + static void OnSuccessCallback_241(void * context, const chip::app::DataModel::Nullable & nullableCharString) + { + (static_cast(context))->OnSuccessResponse_241(nullableCharString); + } static void OnFailureCallback_242(void * context, EmberAfStatus status) { @@ -33785,36 +34118,53 @@ class TestCluster : public TestCommand (static_cast(context))->OnFailureResponse_243(chip::to_underlying(status)); } - static void OnSuccessCallback_243(void * context, const chip::app::DataModel::Nullable & nullableCharString) - { - (static_cast(context))->OnSuccessResponse_243(nullableCharString); - } + static void OnSuccessCallback_243(void * context) { (static_cast(context))->OnSuccessResponse_243(); } static void OnFailureCallback_244(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_244(chip::to_underlying(status)); } - static void OnSuccessCallback_244(void * context) { (static_cast(context))->OnSuccessResponse_244(); } + static void OnSuccessCallback_244(void * context, const chip::app::DataModel::Nullable & nullableCharString) + { + (static_cast(context))->OnSuccessResponse_244(nullableCharString); + } static void OnFailureCallback_245(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_245(chip::to_underlying(status)); } - static void OnSuccessCallback_245(void * context, const chip::app::DataModel::Nullable & nullableCharString) - { - (static_cast(context))->OnSuccessResponse_245(nullableCharString); - } + static void OnSuccessCallback_245(void * context) { (static_cast(context))->OnSuccessResponse_245(); } static void OnFailureCallback_246(void * context, EmberAfStatus status) { (static_cast(context))->OnFailureResponse_246(chip::to_underlying(status)); } - static void OnSuccessCallback_246(void * context, const chip::app::DataModel::DecodableList & listInt8u) + static void OnSuccessCallback_246(void * context, const chip::app::DataModel::Nullable & nullableCharString) + { + (static_cast(context))->OnSuccessResponse_246(nullableCharString); + } + + static void OnFailureCallback_247(void * context, EmberAfStatus status) + { + (static_cast(context))->OnFailureResponse_247(chip::to_underlying(status)); + } + + static void OnSuccessCallback_247(void * context, const chip::app::DataModel::DecodableList & listInt8u) + { + (static_cast(context))->OnSuccessResponse_247(listInt8u); + } + + static void OnFailureCallback_248(void * context, EmberAfStatus status) + { + (static_cast(context))->OnFailureResponse_248(chip::to_underlying(status)); + } + + static void OnSuccessCallback_248(void * context, const chip::app::DataModel::DecodableList & listInt8u) { - (static_cast(context))->OnSuccessResponse_246(listInt8u); + (static_cast(context))->OnSuccessResponse_248(listInt8u); } // @@ -33863,7 +34213,11 @@ class TestCluster : public TestCommand return CHIP_NO_ERROR; } - void OnFailureResponse_1(uint8_t status) { NextTest(); } + void OnFailureResponse_1(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 133)); + NextTest(); + } void OnSuccessResponse_1() { ThrowSuccessResponse(); } @@ -33946,7 +34300,11 @@ class TestCluster : public TestCommand return CHIP_NO_ERROR; } - void OnFailureResponse_4(uint8_t status) { NextTest(); } + void OnFailureResponse_4(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 133)); + NextTest(); + } void OnSuccessResponse_4(uint8_t returnValue) { ThrowSuccessResponse(); } @@ -35566,7 +35924,11 @@ class TestCluster : public TestCommand octetStringArgument, this, OnSuccessCallback_93, OnFailureCallback_93); } - void OnFailureResponse_93(uint8_t status) { NextTest(); } + void OnFailureResponse_93(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } void OnSuccessResponse_93() { ThrowSuccessResponse(); } @@ -35759,7 +36121,11 @@ class TestCluster : public TestCommand charStringArgument, this, OnSuccessCallback_103, OnFailureCallback_103); } - void OnFailureResponse_103(uint8_t status) { NextTest(); } + void OnFailureResponse_103(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } void OnSuccessResponse_103() { ThrowSuccessResponse(); } @@ -36123,30 +36489,61 @@ class TestCluster : public TestCommand return CHIP_NO_ERROR; } - void OnFailureResponse_122(uint8_t status) { NextTest(); } + void OnFailureResponse_122(uint8_t status) + { + VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); + NextTest(); + } void OnSuccessResponse_122() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeVendorIdDefaultValue_123() + CHIP_ERROR TestSendTestCommandToUnsupportedCluster_123() + { + const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 0; + using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + + RequestType request; + + auto success = [](void * context, const typename RequestType::ResponseType & data) { + (static_cast(context))->OnSuccessResponse_123(); + }; + + auto failure = [](void * context, EmberAfStatus status) { + (static_cast(context))->OnFailureResponse_123(status); + }; + + ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); + return CHIP_NO_ERROR; + } + + void OnFailureResponse_123(uint8_t status) + { + VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); + NextTest(); + } + + void OnSuccessResponse_123() { ThrowSuccessResponse(); } + + CHIP_ERROR TestReadAttributeVendorIdDefaultValue_124() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); - return cluster.ReadAttribute(this, OnSuccessCallback_123, - OnFailureCallback_123); + return cluster.ReadAttribute(this, OnSuccessCallback_124, + OnFailureCallback_124); } - void OnFailureResponse_123(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_124(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_123(chip::VendorId vendorId) + void OnSuccessResponse_124(chip::VendorId vendorId) { VerifyOrReturn(CheckValue("vendorId", vendorId, 0U)); NextTest(); } - CHIP_ERROR TestWriteAttributeVendorId_124() + CHIP_ERROR TestWriteAttributeVendorId_125() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36156,33 +36553,33 @@ class TestCluster : public TestCommand vendorIdArgument = static_cast(17); return cluster.WriteAttribute( - vendorIdArgument, this, OnSuccessCallback_124, OnFailureCallback_124); + vendorIdArgument, this, OnSuccessCallback_125, OnFailureCallback_125); } - void OnFailureResponse_124(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_125(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_124() { NextTest(); } + void OnSuccessResponse_125() { NextTest(); } - CHIP_ERROR TestReadAttributeVendorId_125() + CHIP_ERROR TestReadAttributeVendorId_126() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); - return cluster.ReadAttribute(this, OnSuccessCallback_125, - OnFailureCallback_125); + return cluster.ReadAttribute(this, OnSuccessCallback_126, + OnFailureCallback_126); } - void OnFailureResponse_125(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_126(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_125(chip::VendorId vendorId) + void OnSuccessResponse_126(chip::VendorId vendorId) { VerifyOrReturn(CheckValue("vendorId", vendorId, 17U)); NextTest(); } - CHIP_ERROR TestRestoreAttributeVendorId_126() + CHIP_ERROR TestRestoreAttributeVendorId_127() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36192,14 +36589,14 @@ class TestCluster : public TestCommand vendorIdArgument = static_cast(0); return cluster.WriteAttribute( - vendorIdArgument, this, OnSuccessCallback_126, OnFailureCallback_126); + vendorIdArgument, this, OnSuccessCallback_127, OnFailureCallback_127); } - void OnFailureResponse_126(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_127(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_126() { NextTest(); } + void OnSuccessResponse_127() { NextTest(); } - CHIP_ERROR TestSendACommandWithAVendorIdAndEnum_127() + CHIP_ERROR TestSendACommandWithAVendorIdAndEnum_128() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestEnumsRequest::Type; @@ -36209,20 +36606,20 @@ class TestCluster : public TestCommand request.arg2 = static_cast(101); auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_127(data.arg1, data.arg2); + (static_cast(context))->OnSuccessResponse_128(data.arg1, data.arg2); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_127(status); + (static_cast(context))->OnFailureResponse_128(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_127(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_128(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_127(chip::VendorId arg1, chip::app::Clusters::TestCluster::SimpleEnum arg2) + void OnSuccessResponse_128(chip::VendorId arg1, chip::app::Clusters::TestCluster::SimpleEnum arg2) { VerifyOrReturn(CheckValue("arg1", arg1, 20003U)); @@ -36231,7 +36628,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithStructArgumentAndArg1bIsTrue_128() + CHIP_ERROR TestSendTestCommandWithStructArgumentAndArg1bIsTrue_129() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestStructArgumentRequest::Type; @@ -36248,27 +36645,27 @@ class TestCluster : public TestCommand request.arg1.h = 0; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_128(data.value); + (static_cast(context))->OnSuccessResponse_129(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_128(status); + (static_cast(context))->OnFailureResponse_129(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_128(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_129(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_128(bool value) + void OnSuccessResponse_129(bool value) { VerifyOrReturn(CheckValue("value", value, true)); NextTest(); } - CHIP_ERROR TestSendTestCommandWithStructArgumentAndArg1bIsFalse_129() + CHIP_ERROR TestSendTestCommandWithStructArgumentAndArg1bIsFalse_130() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestStructArgumentRequest::Type; @@ -36285,27 +36682,27 @@ class TestCluster : public TestCommand request.arg1.h = 0; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_129(data.value); + (static_cast(context))->OnSuccessResponse_130(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_129(status); + (static_cast(context))->OnFailureResponse_130(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_129(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_130(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_129(bool value) + void OnSuccessResponse_130(bool value) { VerifyOrReturn(CheckValue("value", value, false)); NextTest(); } - CHIP_ERROR TestSendTestCommandWithStructArgumentAndSeeWhatWeGetBack_130() + CHIP_ERROR TestSendTestCommandWithStructArgumentAndSeeWhatWeGetBack_131() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::SimpleStructEchoRequest::Type; @@ -36322,20 +36719,20 @@ class TestCluster : public TestCommand request.arg1.h = 0.1; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_130(data.arg1); + (static_cast(context))->OnSuccessResponse_131(data.arg1); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_130(status); + (static_cast(context))->OnFailureResponse_131(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_130(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_131(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_130(const chip::app::Clusters::TestCluster::Structs::SimpleStruct::DecodableType & arg1) + void OnSuccessResponse_131(const chip::app::Clusters::TestCluster::Structs::SimpleStruct::DecodableType & arg1) { VerifyOrReturn(CheckValue("arg1.a", arg1.a, 17)); VerifyOrReturn(CheckValue("arg1.b", arg1.b, false)); @@ -36349,7 +36746,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithListOfInt8uAndNoneOfThemIsSetTo0_131() + CHIP_ERROR TestSendTestCommandWithListOfInt8uAndNoneOfThemIsSetTo0_132() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UArgumentRequest::Type; @@ -36369,27 +36766,27 @@ class TestCluster : public TestCommand request.arg1 = arg1List; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_131(data.value); + (static_cast(context))->OnSuccessResponse_132(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_131(status); + (static_cast(context))->OnFailureResponse_132(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_131(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_132(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_131(bool value) + void OnSuccessResponse_132(bool value) { VerifyOrReturn(CheckValue("value", value, true)); NextTest(); } - CHIP_ERROR TestSendTestCommandWithListOfInt8uAndOneOfThemIsSetTo0_132() + CHIP_ERROR TestSendTestCommandWithListOfInt8uAndOneOfThemIsSetTo0_133() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UArgumentRequest::Type; @@ -36410,27 +36807,27 @@ class TestCluster : public TestCommand request.arg1 = arg1List; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_132(data.value); + (static_cast(context))->OnSuccessResponse_133(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_132(status); + (static_cast(context))->OnFailureResponse_133(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_132(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_133(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_132(bool value) + void OnSuccessResponse_133(bool value) { VerifyOrReturn(CheckValue("value", value, false)); NextTest(); } - CHIP_ERROR TestSendTestCommandWithListOfInt8uAndGetItReversed_133() + CHIP_ERROR TestSendTestCommandWithListOfInt8uAndGetItReversed_134() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseRequest::Type; @@ -36450,20 +36847,20 @@ class TestCluster : public TestCommand request.arg1 = arg1List; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_133(data.arg1); + (static_cast(context))->OnSuccessResponse_134(data.arg1); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_133(status); + (static_cast(context))->OnFailureResponse_134(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_133(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_134(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_133(const chip::app::DataModel::DecodableList & arg1) + void OnSuccessResponse_134(const chip::app::DataModel::DecodableList & arg1) { auto iter = arg1.begin(); VerifyOrReturn(CheckNextListItemDecodes("arg1", iter, 0)); @@ -36489,7 +36886,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithEmptyListOfInt8uAndGetAnEmptyListBack_134() + CHIP_ERROR TestSendTestCommandWithEmptyListOfInt8uAndGetAnEmptyListBack_135() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseRequest::Type; @@ -36499,20 +36896,20 @@ class TestCluster : public TestCommand request.arg1 = chip::app::DataModel::List(); auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_134(data.arg1); + (static_cast(context))->OnSuccessResponse_135(data.arg1); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_134(status); + (static_cast(context))->OnFailureResponse_135(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_134(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_135(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_134(const chip::app::DataModel::DecodableList & arg1) + void OnSuccessResponse_135(const chip::app::DataModel::DecodableList & arg1) { auto iter = arg1.begin(); VerifyOrReturn(CheckNoMoreListItems("arg1", iter, 0)); @@ -36520,7 +36917,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsTrue_135() + CHIP_ERROR TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsTrue_136() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListStructArgumentRequest::Type; @@ -36550,27 +36947,27 @@ class TestCluster : public TestCommand request.arg1 = arg1List; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_135(data.value); + (static_cast(context))->OnSuccessResponse_136(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_135(status); + (static_cast(context))->OnFailureResponse_136(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_135(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_136(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_135(bool value) + void OnSuccessResponse_136(bool value) { VerifyOrReturn(CheckValue("value", value, true)); NextTest(); } - CHIP_ERROR TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsFalse_136() + CHIP_ERROR TestSendTestCommandWithListOfStructArgumentAndArg1bOfFirstItemIsFalse_137() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListStructArgumentRequest::Type; @@ -36600,27 +36997,27 @@ class TestCluster : public TestCommand request.arg1 = arg1List; auto success = [](void * context, const typename RequestType::ResponseType & data) { - (static_cast(context))->OnSuccessResponse_136(data.value); + (static_cast(context))->OnSuccessResponse_137(data.value); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_136(status); + (static_cast(context))->OnFailureResponse_137(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_136(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_137(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_136(bool value) + void OnSuccessResponse_137(bool value) { VerifyOrReturn(CheckValue("value", value, false)); NextTest(); } - CHIP_ERROR TestWriteAttributeListWithListOfInt8uAndNoneOfThemIsSetTo0_137() + CHIP_ERROR TestWriteAttributeListWithListOfInt8uAndNoneOfThemIsSetTo0_138() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36636,26 +37033,26 @@ class TestCluster : public TestCommand listInt8uArgument = listInt8uList; return cluster.WriteAttribute( - listInt8uArgument, this, OnSuccessCallback_137, OnFailureCallback_137); + listInt8uArgument, this, OnSuccessCallback_138, OnFailureCallback_138); } - void OnFailureResponse_137(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_138(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_137() { NextTest(); } + void OnSuccessResponse_138() { NextTest(); } - CHIP_ERROR TestReadAttributeListWithListOfInt8u_138() + CHIP_ERROR TestReadAttributeListWithListOfInt8u_139() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); - return cluster.ReadAttribute(this, OnSuccessCallback_138, - OnFailureCallback_138); + return cluster.ReadAttribute(this, OnSuccessCallback_139, + OnFailureCallback_139); } - void OnFailureResponse_138(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_139(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_138(const chip::app::DataModel::DecodableList & listInt8u) + void OnSuccessResponse_139(const chip::app::DataModel::DecodableList & listInt8u) { auto iter = listInt8u.begin(); VerifyOrReturn(CheckNextListItemDecodes("listInt8u", iter, 0)); @@ -36671,7 +37068,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeListWithListOfOctetString_139() + CHIP_ERROR TestWriteAttributeListWithListOfOctetString_140() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36687,26 +37084,26 @@ class TestCluster : public TestCommand listOctetStringArgument = listOctetStringList; return cluster.WriteAttribute( - listOctetStringArgument, this, OnSuccessCallback_139, OnFailureCallback_139); + listOctetStringArgument, this, OnSuccessCallback_140, OnFailureCallback_140); } - void OnFailureResponse_139(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_140(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_139() { NextTest(); } + void OnSuccessResponse_140() { NextTest(); } - CHIP_ERROR TestReadAttributeListWithListOfOctetString_140() + CHIP_ERROR TestReadAttributeListWithListOfOctetString_141() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_140, OnFailureCallback_140); + this, OnSuccessCallback_141, OnFailureCallback_141); } - void OnFailureResponse_140(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_141(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_140(const chip::app::DataModel::DecodableList & listOctetString) + void OnSuccessResponse_141(const chip::app::DataModel::DecodableList & listOctetString) { auto iter = listOctetString.begin(); VerifyOrReturn(CheckNextListItemDecodes("listOctetString", iter, 0)); @@ -36726,7 +37123,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeListWithListOfListStructOctetString_141() + CHIP_ERROR TestWriteAttributeListWithListOfListStructOctetString_142() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36756,26 +37153,26 @@ class TestCluster : public TestCommand listStructOctetStringArgument = listStructOctetStringList; return cluster.WriteAttribute( - listStructOctetStringArgument, this, OnSuccessCallback_141, OnFailureCallback_141); + listStructOctetStringArgument, this, OnSuccessCallback_142, OnFailureCallback_142); } - void OnFailureResponse_141(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_142(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_141() { NextTest(); } + void OnSuccessResponse_142() { NextTest(); } - CHIP_ERROR TestReadAttributeListWithListOfListStructOctetString_142() + CHIP_ERROR TestReadAttributeListWithListOfListStructOctetString_143() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_142, OnFailureCallback_142); + this, OnSuccessCallback_143, OnFailureCallback_143); } - void OnFailureResponse_142(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_143(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_142( + void OnSuccessResponse_143( const chip::app::DataModel::DecodableList & listStructOctetString) { @@ -36801,7 +37198,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithOptionalArgSet_143() + CHIP_ERROR TestSendTestCommandWithOptionalArgSet_144() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; @@ -36811,20 +37208,20 @@ class TestCluster : public TestCommand auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context)) - ->OnSuccessResponse_143(data.wasPresent, data.wasNull, data.value, data.originalValue); + ->OnSuccessResponse_144(data.wasPresent, data.wasNull, data.value, data.originalValue); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_143(status); + (static_cast(context))->OnFailureResponse_144(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_143(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_144(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_143(bool wasPresent, const chip::Optional & wasNull, const chip::Optional & value, + void OnSuccessResponse_144(bool wasPresent, const chip::Optional & wasNull, const chip::Optional & value, const chip::Optional> & originalValue) { VerifyOrReturn(CheckValue("wasPresent", wasPresent, true)); @@ -36842,7 +37239,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestSendTestCommandWithoutItsOptionalArg_144() + CHIP_ERROR TestSendTestCommandWithoutItsOptionalArg_145() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; @@ -36851,20 +37248,20 @@ class TestCluster : public TestCommand auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context)) - ->OnSuccessResponse_144(data.wasPresent, data.wasNull, data.value, data.originalValue); + ->OnSuccessResponse_145(data.wasPresent, data.wasNull, data.value, data.originalValue); }; auto failure = [](void * context, EmberAfStatus status) { - (static_cast(context))->OnFailureResponse_144(status); + (static_cast(context))->OnFailureResponse_145(status); }; ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevice, this, success, failure, endpoint, request)); return CHIP_NO_ERROR; } - void OnFailureResponse_144(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_145(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_144(bool wasPresent, const chip::Optional & wasNull, const chip::Optional & value, + void OnSuccessResponse_145(bool wasPresent, const chip::Optional & wasNull, const chip::Optional & value, const chip::Optional> & originalValue) { VerifyOrReturn(CheckValue("wasPresent", wasPresent, false)); @@ -36872,7 +37269,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBooleanNull_145() + CHIP_ERROR TestWriteAttributeNullableBooleanNull_146() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36882,33 +37279,33 @@ class TestCluster : public TestCommand nullableBooleanArgument.SetNull(); return cluster.WriteAttribute( - nullableBooleanArgument, this, OnSuccessCallback_145, OnFailureCallback_145); + nullableBooleanArgument, this, OnSuccessCallback_146, OnFailureCallback_146); } - void OnFailureResponse_145(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_146(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_145() { NextTest(); } + void OnSuccessResponse_146() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBooleanNull_146() + CHIP_ERROR TestReadAttributeNullableBooleanNull_147() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_146, OnFailureCallback_146); + this, OnSuccessCallback_147, OnFailureCallback_147); } - void OnFailureResponse_146(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_147(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_146(const chip::app::DataModel::Nullable & nullableBoolean) + void OnSuccessResponse_147(const chip::app::DataModel::Nullable & nullableBoolean) { VerifyOrReturn(CheckValueNull("nullableBoolean", nullableBoolean)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBooleanTrue_147() + CHIP_ERROR TestWriteAttributeNullableBooleanTrue_148() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36918,26 +37315,26 @@ class TestCluster : public TestCommand nullableBooleanArgument.SetNonNull() = true; return cluster.WriteAttribute( - nullableBooleanArgument, this, OnSuccessCallback_147, OnFailureCallback_147); + nullableBooleanArgument, this, OnSuccessCallback_148, OnFailureCallback_148); } - void OnFailureResponse_147(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_148(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_147() { NextTest(); } + void OnSuccessResponse_148() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBooleanTrue_148() + CHIP_ERROR TestReadAttributeNullableBooleanTrue_149() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_148, OnFailureCallback_148); + this, OnSuccessCallback_149, OnFailureCallback_149); } - void OnFailureResponse_148(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_149(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_148(const chip::app::DataModel::Nullable & nullableBoolean) + void OnSuccessResponse_149(const chip::app::DataModel::Nullable & nullableBoolean) { VerifyOrReturn(CheckValueNonNull("nullableBoolean", nullableBoolean)); VerifyOrReturn(CheckValue("nullableBoolean.Value()", nullableBoolean.Value(), true)); @@ -36945,7 +37342,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8MaxValue_149() + CHIP_ERROR TestWriteAttributeNullableBitmap8MaxValue_150() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36955,26 +37352,26 @@ class TestCluster : public TestCommand nullableBitmap8Argument.SetNonNull() = 254; return cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_149, OnFailureCallback_149); + nullableBitmap8Argument, this, OnSuccessCallback_150, OnFailureCallback_150); } - void OnFailureResponse_149(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_150(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_149() { NextTest(); } + void OnSuccessResponse_150() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap8MaxValue_150() + CHIP_ERROR TestReadAttributeNullableBitmap8MaxValue_151() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_150, OnFailureCallback_150); + this, OnSuccessCallback_151, OnFailureCallback_151); } - void OnFailureResponse_150(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_151(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_150(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_151(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNonNull("nullableBitmap8", nullableBitmap8)); VerifyOrReturn(CheckValue("nullableBitmap8.Value()", nullableBitmap8.Value(), 254)); @@ -36982,7 +37379,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8InvalidValue_151() + CHIP_ERROR TestWriteAttributeNullableBitmap8InvalidValue_152() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -36992,26 +37389,30 @@ class TestCluster : public TestCommand nullableBitmap8Argument.SetNonNull() = 255; return cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_151, OnFailureCallback_151); + nullableBitmap8Argument, this, OnSuccessCallback_152, OnFailureCallback_152); } - void OnFailureResponse_151(uint8_t status) { NextTest(); } + void OnFailureResponse_152(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_151() { ThrowSuccessResponse(); } + void OnSuccessResponse_152() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap8UnchangedValue_152() + CHIP_ERROR TestReadAttributeNullableBitmap8UnchangedValue_153() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_152, OnFailureCallback_152); + this, OnSuccessCallback_153, OnFailureCallback_153); } - void OnFailureResponse_152(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_153(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_152(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_153(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNonNull("nullableBitmap8", nullableBitmap8)); VerifyOrReturn(CheckValue("nullableBitmap8.Value()", nullableBitmap8.Value(), 254)); @@ -37019,7 +37420,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap8NullValue_153() + CHIP_ERROR TestWriteAttributeNullableBitmap8NullValue_154() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37029,33 +37430,33 @@ class TestCluster : public TestCommand nullableBitmap8Argument.SetNull(); return cluster.WriteAttribute( - nullableBitmap8Argument, this, OnSuccessCallback_153, OnFailureCallback_153); + nullableBitmap8Argument, this, OnSuccessCallback_154, OnFailureCallback_154); } - void OnFailureResponse_153(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_154(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_153() { NextTest(); } + void OnSuccessResponse_154() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap8NullValue_154() + CHIP_ERROR TestReadAttributeNullableBitmap8NullValue_155() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_154, OnFailureCallback_154); + this, OnSuccessCallback_155, OnFailureCallback_155); } - void OnFailureResponse_154(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_155(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_154(const chip::app::DataModel::Nullable & nullableBitmap8) + void OnSuccessResponse_155(const chip::app::DataModel::Nullable & nullableBitmap8) { VerifyOrReturn(CheckValueNull("nullableBitmap8", nullableBitmap8)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16MaxValue_155() + CHIP_ERROR TestWriteAttributeNullableBitmap16MaxValue_156() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37065,26 +37466,26 @@ class TestCluster : public TestCommand nullableBitmap16Argument.SetNonNull() = 65534U; return cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_155, OnFailureCallback_155); + nullableBitmap16Argument, this, OnSuccessCallback_156, OnFailureCallback_156); } - void OnFailureResponse_155(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_156(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_155() { NextTest(); } + void OnSuccessResponse_156() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap16MaxValue_156() + CHIP_ERROR TestReadAttributeNullableBitmap16MaxValue_157() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_156, OnFailureCallback_156); + this, OnSuccessCallback_157, OnFailureCallback_157); } - void OnFailureResponse_156(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_157(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_156(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_157(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNonNull("nullableBitmap16", nullableBitmap16)); VerifyOrReturn(CheckValue("nullableBitmap16.Value()", nullableBitmap16.Value(), 65534U)); @@ -37092,7 +37493,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16InvalidValue_157() + CHIP_ERROR TestWriteAttributeNullableBitmap16InvalidValue_158() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37102,26 +37503,30 @@ class TestCluster : public TestCommand nullableBitmap16Argument.SetNonNull() = 65535U; return cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_157, OnFailureCallback_157); + nullableBitmap16Argument, this, OnSuccessCallback_158, OnFailureCallback_158); } - void OnFailureResponse_157(uint8_t status) { NextTest(); } + void OnFailureResponse_158(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_157() { ThrowSuccessResponse(); } + void OnSuccessResponse_158() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap16UnchangedValue_158() + CHIP_ERROR TestReadAttributeNullableBitmap16UnchangedValue_159() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_158, OnFailureCallback_158); + this, OnSuccessCallback_159, OnFailureCallback_159); } - void OnFailureResponse_158(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_159(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_158(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_159(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNonNull("nullableBitmap16", nullableBitmap16)); VerifyOrReturn(CheckValue("nullableBitmap16.Value()", nullableBitmap16.Value(), 65534U)); @@ -37129,7 +37534,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap16NullValue_159() + CHIP_ERROR TestWriteAttributeNullableBitmap16NullValue_160() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37139,33 +37544,33 @@ class TestCluster : public TestCommand nullableBitmap16Argument.SetNull(); return cluster.WriteAttribute( - nullableBitmap16Argument, this, OnSuccessCallback_159, OnFailureCallback_159); + nullableBitmap16Argument, this, OnSuccessCallback_160, OnFailureCallback_160); } - void OnFailureResponse_159(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_160(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_159() { NextTest(); } + void OnSuccessResponse_160() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap16NullValue_160() + CHIP_ERROR TestReadAttributeNullableBitmap16NullValue_161() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_160, OnFailureCallback_160); + this, OnSuccessCallback_161, OnFailureCallback_161); } - void OnFailureResponse_160(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_161(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_160(const chip::app::DataModel::Nullable & nullableBitmap16) + void OnSuccessResponse_161(const chip::app::DataModel::Nullable & nullableBitmap16) { VerifyOrReturn(CheckValueNull("nullableBitmap16", nullableBitmap16)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32MaxValue_161() + CHIP_ERROR TestWriteAttributeNullableBitmap32MaxValue_162() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37175,26 +37580,26 @@ class TestCluster : public TestCommand nullableBitmap32Argument.SetNonNull() = 4294967294UL; return cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_161, OnFailureCallback_161); + nullableBitmap32Argument, this, OnSuccessCallback_162, OnFailureCallback_162); } - void OnFailureResponse_161(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_162(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_161() { NextTest(); } + void OnSuccessResponse_162() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap32MaxValue_162() + CHIP_ERROR TestReadAttributeNullableBitmap32MaxValue_163() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_162, OnFailureCallback_162); + this, OnSuccessCallback_163, OnFailureCallback_163); } - void OnFailureResponse_162(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_163(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_162(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_163(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNonNull("nullableBitmap32", nullableBitmap32)); VerifyOrReturn(CheckValue("nullableBitmap32.Value()", nullableBitmap32.Value(), 4294967294UL)); @@ -37202,7 +37607,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32InvalidValue_163() + CHIP_ERROR TestWriteAttributeNullableBitmap32InvalidValue_164() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37212,26 +37617,30 @@ class TestCluster : public TestCommand nullableBitmap32Argument.SetNonNull() = 4294967295UL; return cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_163, OnFailureCallback_163); + nullableBitmap32Argument, this, OnSuccessCallback_164, OnFailureCallback_164); } - void OnFailureResponse_163(uint8_t status) { NextTest(); } + void OnFailureResponse_164(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_163() { ThrowSuccessResponse(); } + void OnSuccessResponse_164() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap32UnchangedValue_164() + CHIP_ERROR TestReadAttributeNullableBitmap32UnchangedValue_165() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_164, OnFailureCallback_164); + this, OnSuccessCallback_165, OnFailureCallback_165); } - void OnFailureResponse_164(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_165(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_164(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_165(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNonNull("nullableBitmap32", nullableBitmap32)); VerifyOrReturn(CheckValue("nullableBitmap32.Value()", nullableBitmap32.Value(), 4294967294UL)); @@ -37239,7 +37648,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap32NullValue_165() + CHIP_ERROR TestWriteAttributeNullableBitmap32NullValue_166() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37249,33 +37658,33 @@ class TestCluster : public TestCommand nullableBitmap32Argument.SetNull(); return cluster.WriteAttribute( - nullableBitmap32Argument, this, OnSuccessCallback_165, OnFailureCallback_165); + nullableBitmap32Argument, this, OnSuccessCallback_166, OnFailureCallback_166); } - void OnFailureResponse_165(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_166(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_165() { NextTest(); } + void OnSuccessResponse_166() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap32NullValue_166() + CHIP_ERROR TestReadAttributeNullableBitmap32NullValue_167() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_166, OnFailureCallback_166); + this, OnSuccessCallback_167, OnFailureCallback_167); } - void OnFailureResponse_166(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_167(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_166(const chip::app::DataModel::Nullable & nullableBitmap32) + void OnSuccessResponse_167(const chip::app::DataModel::Nullable & nullableBitmap32) { VerifyOrReturn(CheckValueNull("nullableBitmap32", nullableBitmap32)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64MaxValue_167() + CHIP_ERROR TestWriteAttributeNullableBitmap64MaxValue_168() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37285,26 +37694,26 @@ class TestCluster : public TestCommand nullableBitmap64Argument.SetNonNull() = 18446744073709551614ULL; return cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_167, OnFailureCallback_167); + nullableBitmap64Argument, this, OnSuccessCallback_168, OnFailureCallback_168); } - void OnFailureResponse_167(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_168(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_167() { NextTest(); } + void OnSuccessResponse_168() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap64MaxValue_168() + CHIP_ERROR TestReadAttributeNullableBitmap64MaxValue_169() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_168, OnFailureCallback_168); + this, OnSuccessCallback_169, OnFailureCallback_169); } - void OnFailureResponse_168(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_169(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_168(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_169(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNonNull("nullableBitmap64", nullableBitmap64)); VerifyOrReturn(CheckValue("nullableBitmap64.Value()", nullableBitmap64.Value(), 18446744073709551614ULL)); @@ -37312,7 +37721,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64InvalidValue_169() + CHIP_ERROR TestWriteAttributeNullableBitmap64InvalidValue_170() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37322,26 +37731,30 @@ class TestCluster : public TestCommand nullableBitmap64Argument.SetNonNull() = 18446744073709551615ULL; return cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_169, OnFailureCallback_169); + nullableBitmap64Argument, this, OnSuccessCallback_170, OnFailureCallback_170); } - void OnFailureResponse_169(uint8_t status) { NextTest(); } + void OnFailureResponse_170(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_169() { ThrowSuccessResponse(); } + void OnSuccessResponse_170() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableBitmap64UnchangedValue_170() + CHIP_ERROR TestReadAttributeNullableBitmap64UnchangedValue_171() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_170, OnFailureCallback_170); + this, OnSuccessCallback_171, OnFailureCallback_171); } - void OnFailureResponse_170(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_171(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_170(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_171(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNonNull("nullableBitmap64", nullableBitmap64)); VerifyOrReturn(CheckValue("nullableBitmap64.Value()", nullableBitmap64.Value(), 18446744073709551614ULL)); @@ -37349,7 +37762,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableBitmap64NullValue_171() + CHIP_ERROR TestWriteAttributeNullableBitmap64NullValue_172() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37359,33 +37772,33 @@ class TestCluster : public TestCommand nullableBitmap64Argument.SetNull(); return cluster.WriteAttribute( - nullableBitmap64Argument, this, OnSuccessCallback_171, OnFailureCallback_171); + nullableBitmap64Argument, this, OnSuccessCallback_172, OnFailureCallback_172); } - void OnFailureResponse_171(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_172(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_171() { NextTest(); } + void OnSuccessResponse_172() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableBitmap64NullValue_172() + CHIP_ERROR TestReadAttributeNullableBitmap64NullValue_173() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_172, OnFailureCallback_172); + this, OnSuccessCallback_173, OnFailureCallback_173); } - void OnFailureResponse_172(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_173(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_172(const chip::app::DataModel::Nullable & nullableBitmap64) + void OnSuccessResponse_173(const chip::app::DataModel::Nullable & nullableBitmap64) { VerifyOrReturn(CheckValueNull("nullableBitmap64", nullableBitmap64)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uMaxValue_173() + CHIP_ERROR TestWriteAttributeNullableInt8uMaxValue_174() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37395,26 +37808,26 @@ class TestCluster : public TestCommand nullableInt8uArgument.SetNonNull() = 254; return cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_173, OnFailureCallback_173); + nullableInt8uArgument, this, OnSuccessCallback_174, OnFailureCallback_174); } - void OnFailureResponse_173(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_174(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_173() { NextTest(); } + void OnSuccessResponse_174() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uMaxValue_174() + CHIP_ERROR TestReadAttributeNullableInt8uMaxValue_175() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_174, OnFailureCallback_174); + this, OnSuccessCallback_175, OnFailureCallback_175); } - void OnFailureResponse_174(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_175(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_174(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_175(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); VerifyOrReturn(CheckValue("nullableInt8u.Value()", nullableInt8u.Value(), 254)); @@ -37422,7 +37835,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uInvalidValue_175() + CHIP_ERROR TestWriteAttributeNullableInt8uInvalidValue_176() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37432,26 +37845,30 @@ class TestCluster : public TestCommand nullableInt8uArgument.SetNonNull() = 255; return cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_175, OnFailureCallback_175); + nullableInt8uArgument, this, OnSuccessCallback_176, OnFailureCallback_176); } - void OnFailureResponse_175(uint8_t status) { NextTest(); } + void OnFailureResponse_176(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_175() { ThrowSuccessResponse(); } + void OnSuccessResponse_176() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValue_176() + CHIP_ERROR TestReadAttributeNullableInt8uUnchangedValue_177() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_176, OnFailureCallback_176); + this, OnSuccessCallback_177, OnFailureCallback_177); } - void OnFailureResponse_176(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_177(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_176(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_177(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNonNull("nullableInt8u", nullableInt8u)); VerifyOrReturn(CheckValue("nullableInt8u.Value()", nullableInt8u.Value(), 254)); @@ -37459,7 +37876,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8uNullValue_177() + CHIP_ERROR TestWriteAttributeNullableInt8uNullValue_178() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37469,33 +37886,33 @@ class TestCluster : public TestCommand nullableInt8uArgument.SetNull(); return cluster.WriteAttribute( - nullableInt8uArgument, this, OnSuccessCallback_177, OnFailureCallback_177); + nullableInt8uArgument, this, OnSuccessCallback_178, OnFailureCallback_178); } - void OnFailureResponse_177(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_178(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_177() { NextTest(); } + void OnSuccessResponse_178() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8uNullValue_178() + CHIP_ERROR TestReadAttributeNullableInt8uNullValue_179() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_178, OnFailureCallback_178); + this, OnSuccessCallback_179, OnFailureCallback_179); } - void OnFailureResponse_178(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_179(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_178(const chip::app::DataModel::Nullable & nullableInt8u) + void OnSuccessResponse_179(const chip::app::DataModel::Nullable & nullableInt8u) { VerifyOrReturn(CheckValueNull("nullableInt8u", nullableInt8u)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uMaxValue_179() + CHIP_ERROR TestWriteAttributeNullableInt16uMaxValue_180() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37505,26 +37922,26 @@ class TestCluster : public TestCommand nullableInt16uArgument.SetNonNull() = 65534U; return cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_179, OnFailureCallback_179); + nullableInt16uArgument, this, OnSuccessCallback_180, OnFailureCallback_180); } - void OnFailureResponse_179(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_180(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_179() { NextTest(); } + void OnSuccessResponse_180() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uMaxValue_180() + CHIP_ERROR TestReadAttributeNullableInt16uMaxValue_181() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_180, OnFailureCallback_180); + this, OnSuccessCallback_181, OnFailureCallback_181); } - void OnFailureResponse_180(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_181(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_180(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_181(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNonNull("nullableInt16u", nullableInt16u)); VerifyOrReturn(CheckValue("nullableInt16u.Value()", nullableInt16u.Value(), 65534U)); @@ -37532,7 +37949,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uInvalidValue_181() + CHIP_ERROR TestWriteAttributeNullableInt16uInvalidValue_182() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37542,26 +37959,30 @@ class TestCluster : public TestCommand nullableInt16uArgument.SetNonNull() = 65535U; return cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_181, OnFailureCallback_181); + nullableInt16uArgument, this, OnSuccessCallback_182, OnFailureCallback_182); } - void OnFailureResponse_181(uint8_t status) { NextTest(); } + void OnFailureResponse_182(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_181() { ThrowSuccessResponse(); } + void OnSuccessResponse_182() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt16uUnchangedValue_182() + CHIP_ERROR TestReadAttributeNullableInt16uUnchangedValue_183() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_182, OnFailureCallback_182); + this, OnSuccessCallback_183, OnFailureCallback_183); } - void OnFailureResponse_182(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_183(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_182(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_183(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNonNull("nullableInt16u", nullableInt16u)); VerifyOrReturn(CheckValue("nullableInt16u.Value()", nullableInt16u.Value(), 65534U)); @@ -37569,7 +37990,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16uNullValue_183() + CHIP_ERROR TestWriteAttributeNullableInt16uNullValue_184() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37579,33 +38000,33 @@ class TestCluster : public TestCommand nullableInt16uArgument.SetNull(); return cluster.WriteAttribute( - nullableInt16uArgument, this, OnSuccessCallback_183, OnFailureCallback_183); + nullableInt16uArgument, this, OnSuccessCallback_184, OnFailureCallback_184); } - void OnFailureResponse_183(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_184(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_183() { NextTest(); } + void OnSuccessResponse_184() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16uNullValue_184() + CHIP_ERROR TestReadAttributeNullableInt16uNullValue_185() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_184, OnFailureCallback_184); + this, OnSuccessCallback_185, OnFailureCallback_185); } - void OnFailureResponse_184(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_185(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_184(const chip::app::DataModel::Nullable & nullableInt16u) + void OnSuccessResponse_185(const chip::app::DataModel::Nullable & nullableInt16u) { VerifyOrReturn(CheckValueNull("nullableInt16u", nullableInt16u)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uMaxValue_185() + CHIP_ERROR TestWriteAttributeNullableInt32uMaxValue_186() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37615,26 +38036,26 @@ class TestCluster : public TestCommand nullableInt32uArgument.SetNonNull() = 4294967294UL; return cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_185, OnFailureCallback_185); + nullableInt32uArgument, this, OnSuccessCallback_186, OnFailureCallback_186); } - void OnFailureResponse_185(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_186(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_185() { NextTest(); } + void OnSuccessResponse_186() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uMaxValue_186() + CHIP_ERROR TestReadAttributeNullableInt32uMaxValue_187() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_186, OnFailureCallback_186); + this, OnSuccessCallback_187, OnFailureCallback_187); } - void OnFailureResponse_186(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_187(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_186(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_187(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNonNull("nullableInt32u", nullableInt32u)); VerifyOrReturn(CheckValue("nullableInt32u.Value()", nullableInt32u.Value(), 4294967294UL)); @@ -37642,7 +38063,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uInvalidValue_187() + CHIP_ERROR TestWriteAttributeNullableInt32uInvalidValue_188() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37652,26 +38073,30 @@ class TestCluster : public TestCommand nullableInt32uArgument.SetNonNull() = 4294967295UL; return cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_187, OnFailureCallback_187); + nullableInt32uArgument, this, OnSuccessCallback_188, OnFailureCallback_188); } - void OnFailureResponse_187(uint8_t status) { NextTest(); } + void OnFailureResponse_188(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_187() { ThrowSuccessResponse(); } + void OnSuccessResponse_188() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt32uUnchangedValue_188() + CHIP_ERROR TestReadAttributeNullableInt32uUnchangedValue_189() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_188, OnFailureCallback_188); + this, OnSuccessCallback_189, OnFailureCallback_189); } - void OnFailureResponse_188(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_189(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_188(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_189(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNonNull("nullableInt32u", nullableInt32u)); VerifyOrReturn(CheckValue("nullableInt32u.Value()", nullableInt32u.Value(), 4294967294UL)); @@ -37679,7 +38104,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32uNullValue_189() + CHIP_ERROR TestWriteAttributeNullableInt32uNullValue_190() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37689,33 +38114,33 @@ class TestCluster : public TestCommand nullableInt32uArgument.SetNull(); return cluster.WriteAttribute( - nullableInt32uArgument, this, OnSuccessCallback_189, OnFailureCallback_189); + nullableInt32uArgument, this, OnSuccessCallback_190, OnFailureCallback_190); } - void OnFailureResponse_189(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_190(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_189() { NextTest(); } + void OnSuccessResponse_190() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32uNullValue_190() + CHIP_ERROR TestReadAttributeNullableInt32uNullValue_191() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_190, OnFailureCallback_190); + this, OnSuccessCallback_191, OnFailureCallback_191); } - void OnFailureResponse_190(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_191(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_190(const chip::app::DataModel::Nullable & nullableInt32u) + void OnSuccessResponse_191(const chip::app::DataModel::Nullable & nullableInt32u) { VerifyOrReturn(CheckValueNull("nullableInt32u", nullableInt32u)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uMaxValue_191() + CHIP_ERROR TestWriteAttributeNullableInt64uMaxValue_192() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37725,26 +38150,26 @@ class TestCluster : public TestCommand nullableInt64uArgument.SetNonNull() = 18446744073709551614ULL; return cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_191, OnFailureCallback_191); + nullableInt64uArgument, this, OnSuccessCallback_192, OnFailureCallback_192); } - void OnFailureResponse_191(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_192(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_191() { NextTest(); } + void OnSuccessResponse_192() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uMaxValue_192() + CHIP_ERROR TestReadAttributeNullableInt64uMaxValue_193() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_192, OnFailureCallback_192); + this, OnSuccessCallback_193, OnFailureCallback_193); } - void OnFailureResponse_192(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_193(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_192(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_193(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNonNull("nullableInt64u", nullableInt64u)); VerifyOrReturn(CheckValue("nullableInt64u.Value()", nullableInt64u.Value(), 18446744073709551614ULL)); @@ -37752,7 +38177,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uInvalidValue_193() + CHIP_ERROR TestWriteAttributeNullableInt64uInvalidValue_194() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37762,26 +38187,30 @@ class TestCluster : public TestCommand nullableInt64uArgument.SetNonNull() = 18446744073709551615ULL; return cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_193, OnFailureCallback_193); + nullableInt64uArgument, this, OnSuccessCallback_194, OnFailureCallback_194); } - void OnFailureResponse_193(uint8_t status) { NextTest(); } + void OnFailureResponse_194(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_193() { ThrowSuccessResponse(); } + void OnSuccessResponse_194() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt64uUnchangedValue_194() + CHIP_ERROR TestReadAttributeNullableInt64uUnchangedValue_195() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_194, OnFailureCallback_194); + this, OnSuccessCallback_195, OnFailureCallback_195); } - void OnFailureResponse_194(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_195(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_194(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_195(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNonNull("nullableInt64u", nullableInt64u)); VerifyOrReturn(CheckValue("nullableInt64u.Value()", nullableInt64u.Value(), 18446744073709551614ULL)); @@ -37789,7 +38218,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64uNullValue_195() + CHIP_ERROR TestWriteAttributeNullableInt64uNullValue_196() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37799,33 +38228,33 @@ class TestCluster : public TestCommand nullableInt64uArgument.SetNull(); return cluster.WriteAttribute( - nullableInt64uArgument, this, OnSuccessCallback_195, OnFailureCallback_195); + nullableInt64uArgument, this, OnSuccessCallback_196, OnFailureCallback_196); } - void OnFailureResponse_195(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_196(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_195() { NextTest(); } + void OnSuccessResponse_196() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64uNullValue_196() + CHIP_ERROR TestReadAttributeNullableInt64uNullValue_197() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_196, OnFailureCallback_196); + this, OnSuccessCallback_197, OnFailureCallback_197); } - void OnFailureResponse_196(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_197(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_196(const chip::app::DataModel::Nullable & nullableInt64u) + void OnSuccessResponse_197(const chip::app::DataModel::Nullable & nullableInt64u) { VerifyOrReturn(CheckValueNull("nullableInt64u", nullableInt64u)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sMinValue_197() + CHIP_ERROR TestWriteAttributeNullableInt8sMinValue_198() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37835,26 +38264,26 @@ class TestCluster : public TestCommand nullableInt8sArgument.SetNonNull() = -127; return cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_197, OnFailureCallback_197); + nullableInt8sArgument, this, OnSuccessCallback_198, OnFailureCallback_198); } - void OnFailureResponse_197(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_198(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_197() { NextTest(); } + void OnSuccessResponse_198() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sMinValue_198() + CHIP_ERROR TestReadAttributeNullableInt8sMinValue_199() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_198, OnFailureCallback_198); + this, OnSuccessCallback_199, OnFailureCallback_199); } - void OnFailureResponse_198(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_199(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_198(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_199(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNonNull("nullableInt8s", nullableInt8s)); VerifyOrReturn(CheckValue("nullableInt8s.Value()", nullableInt8s.Value(), -127)); @@ -37862,7 +38291,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sInvalidValue_199() + CHIP_ERROR TestWriteAttributeNullableInt8sInvalidValue_200() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37872,26 +38301,30 @@ class TestCluster : public TestCommand nullableInt8sArgument.SetNonNull() = -128; return cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_199, OnFailureCallback_199); + nullableInt8sArgument, this, OnSuccessCallback_200, OnFailureCallback_200); } - void OnFailureResponse_199(uint8_t status) { NextTest(); } + void OnFailureResponse_200(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_199() { ThrowSuccessResponse(); } + void OnSuccessResponse_200() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt8sUnchangedValue_200() + CHIP_ERROR TestReadAttributeNullableInt8sUnchangedValue_201() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_200, OnFailureCallback_200); + this, OnSuccessCallback_201, OnFailureCallback_201); } - void OnFailureResponse_200(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_201(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_200(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_201(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNonNull("nullableInt8s", nullableInt8s)); VerifyOrReturn(CheckValue("nullableInt8s.Value()", nullableInt8s.Value(), -127)); @@ -37899,7 +38332,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt8sNullValue_201() + CHIP_ERROR TestWriteAttributeNullableInt8sNullValue_202() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37909,33 +38342,33 @@ class TestCluster : public TestCommand nullableInt8sArgument.SetNull(); return cluster.WriteAttribute( - nullableInt8sArgument, this, OnSuccessCallback_201, OnFailureCallback_201); + nullableInt8sArgument, this, OnSuccessCallback_202, OnFailureCallback_202); } - void OnFailureResponse_201(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_202(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_201() { NextTest(); } + void OnSuccessResponse_202() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt8sNullValue_202() + CHIP_ERROR TestReadAttributeNullableInt8sNullValue_203() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_202, OnFailureCallback_202); + this, OnSuccessCallback_203, OnFailureCallback_203); } - void OnFailureResponse_202(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_203(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_202(const chip::app::DataModel::Nullable & nullableInt8s) + void OnSuccessResponse_203(const chip::app::DataModel::Nullable & nullableInt8s) { VerifyOrReturn(CheckValueNull("nullableInt8s", nullableInt8s)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sMinValue_203() + CHIP_ERROR TestWriteAttributeNullableInt16sMinValue_204() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37945,26 +38378,26 @@ class TestCluster : public TestCommand nullableInt16sArgument.SetNonNull() = -32767; return cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_203, OnFailureCallback_203); + nullableInt16sArgument, this, OnSuccessCallback_204, OnFailureCallback_204); } - void OnFailureResponse_203(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_204(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_203() { NextTest(); } + void OnSuccessResponse_204() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sMinValue_204() + CHIP_ERROR TestReadAttributeNullableInt16sMinValue_205() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_204, OnFailureCallback_204); + this, OnSuccessCallback_205, OnFailureCallback_205); } - void OnFailureResponse_204(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_205(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_204(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_205(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNonNull("nullableInt16s", nullableInt16s)); VerifyOrReturn(CheckValue("nullableInt16s.Value()", nullableInt16s.Value(), -32767)); @@ -37972,7 +38405,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sInvalidValue_205() + CHIP_ERROR TestWriteAttributeNullableInt16sInvalidValue_206() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -37982,26 +38415,30 @@ class TestCluster : public TestCommand nullableInt16sArgument.SetNonNull() = -32768; return cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_205, OnFailureCallback_205); + nullableInt16sArgument, this, OnSuccessCallback_206, OnFailureCallback_206); } - void OnFailureResponse_205(uint8_t status) { NextTest(); } + void OnFailureResponse_206(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_205() { ThrowSuccessResponse(); } + void OnSuccessResponse_206() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt16sUnchangedValue_206() + CHIP_ERROR TestReadAttributeNullableInt16sUnchangedValue_207() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_206, OnFailureCallback_206); + this, OnSuccessCallback_207, OnFailureCallback_207); } - void OnFailureResponse_206(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_207(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_206(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_207(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNonNull("nullableInt16s", nullableInt16s)); VerifyOrReturn(CheckValue("nullableInt16s.Value()", nullableInt16s.Value(), -32767)); @@ -38009,7 +38446,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt16sNullValue_207() + CHIP_ERROR TestWriteAttributeNullableInt16sNullValue_208() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38019,33 +38456,33 @@ class TestCluster : public TestCommand nullableInt16sArgument.SetNull(); return cluster.WriteAttribute( - nullableInt16sArgument, this, OnSuccessCallback_207, OnFailureCallback_207); + nullableInt16sArgument, this, OnSuccessCallback_208, OnFailureCallback_208); } - void OnFailureResponse_207(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_208(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_207() { NextTest(); } + void OnSuccessResponse_208() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt16sNullValue_208() + CHIP_ERROR TestReadAttributeNullableInt16sNullValue_209() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_208, OnFailureCallback_208); + this, OnSuccessCallback_209, OnFailureCallback_209); } - void OnFailureResponse_208(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_209(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_208(const chip::app::DataModel::Nullable & nullableInt16s) + void OnSuccessResponse_209(const chip::app::DataModel::Nullable & nullableInt16s) { VerifyOrReturn(CheckValueNull("nullableInt16s", nullableInt16s)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sMinValue_209() + CHIP_ERROR TestWriteAttributeNullableInt32sMinValue_210() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38055,26 +38492,26 @@ class TestCluster : public TestCommand nullableInt32sArgument.SetNonNull() = -2147483647L; return cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_209, OnFailureCallback_209); + nullableInt32sArgument, this, OnSuccessCallback_210, OnFailureCallback_210); } - void OnFailureResponse_209(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_210(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_209() { NextTest(); } + void OnSuccessResponse_210() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sMinValue_210() + CHIP_ERROR TestReadAttributeNullableInt32sMinValue_211() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_210, OnFailureCallback_210); + this, OnSuccessCallback_211, OnFailureCallback_211); } - void OnFailureResponse_210(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_211(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_210(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_211(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNonNull("nullableInt32s", nullableInt32s)); VerifyOrReturn(CheckValue("nullableInt32s.Value()", nullableInt32s.Value(), -2147483647L)); @@ -38082,7 +38519,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sInvalidValue_211() + CHIP_ERROR TestWriteAttributeNullableInt32sInvalidValue_212() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38092,26 +38529,30 @@ class TestCluster : public TestCommand nullableInt32sArgument.SetNonNull() = -2147483648L; return cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_211, OnFailureCallback_211); + nullableInt32sArgument, this, OnSuccessCallback_212, OnFailureCallback_212); } - void OnFailureResponse_211(uint8_t status) { NextTest(); } + void OnFailureResponse_212(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_211() { ThrowSuccessResponse(); } + void OnSuccessResponse_212() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt32sUnchangedValue_212() + CHIP_ERROR TestReadAttributeNullableInt32sUnchangedValue_213() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_212, OnFailureCallback_212); + this, OnSuccessCallback_213, OnFailureCallback_213); } - void OnFailureResponse_212(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_213(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_212(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_213(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNonNull("nullableInt32s", nullableInt32s)); VerifyOrReturn(CheckValue("nullableInt32s.Value()", nullableInt32s.Value(), -2147483647L)); @@ -38119,7 +38560,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt32sNullValue_213() + CHIP_ERROR TestWriteAttributeNullableInt32sNullValue_214() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38129,33 +38570,33 @@ class TestCluster : public TestCommand nullableInt32sArgument.SetNull(); return cluster.WriteAttribute( - nullableInt32sArgument, this, OnSuccessCallback_213, OnFailureCallback_213); + nullableInt32sArgument, this, OnSuccessCallback_214, OnFailureCallback_214); } - void OnFailureResponse_213(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_214(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_213() { NextTest(); } + void OnSuccessResponse_214() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt32sNullValue_214() + CHIP_ERROR TestReadAttributeNullableInt32sNullValue_215() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_214, OnFailureCallback_214); + this, OnSuccessCallback_215, OnFailureCallback_215); } - void OnFailureResponse_214(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_215(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_214(const chip::app::DataModel::Nullable & nullableInt32s) + void OnSuccessResponse_215(const chip::app::DataModel::Nullable & nullableInt32s) { VerifyOrReturn(CheckValueNull("nullableInt32s", nullableInt32s)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sMinValue_215() + CHIP_ERROR TestWriteAttributeNullableInt64sMinValue_216() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38165,26 +38606,26 @@ class TestCluster : public TestCommand nullableInt64sArgument.SetNonNull() = -9223372036854775807LL; return cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_215, OnFailureCallback_215); + nullableInt64sArgument, this, OnSuccessCallback_216, OnFailureCallback_216); } - void OnFailureResponse_215(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_216(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_215() { NextTest(); } + void OnSuccessResponse_216() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sMinValue_216() + CHIP_ERROR TestReadAttributeNullableInt64sMinValue_217() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_216, OnFailureCallback_216); + this, OnSuccessCallback_217, OnFailureCallback_217); } - void OnFailureResponse_216(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_217(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_216(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_217(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNonNull("nullableInt64s", nullableInt64s)); VerifyOrReturn(CheckValue("nullableInt64s.Value()", nullableInt64s.Value(), -9223372036854775807LL)); @@ -38192,7 +38633,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sInvalidValue_217() + CHIP_ERROR TestWriteAttributeNullableInt64sInvalidValue_218() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38202,26 +38643,30 @@ class TestCluster : public TestCommand nullableInt64sArgument.SetNonNull() = -9223372036854775807LL - 1; return cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_217, OnFailureCallback_217); + nullableInt64sArgument, this, OnSuccessCallback_218, OnFailureCallback_218); } - void OnFailureResponse_217(uint8_t status) { NextTest(); } + void OnFailureResponse_218(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_217() { ThrowSuccessResponse(); } + void OnSuccessResponse_218() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableInt64sUnchangedValue_218() + CHIP_ERROR TestReadAttributeNullableInt64sUnchangedValue_219() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_218, OnFailureCallback_218); + this, OnSuccessCallback_219, OnFailureCallback_219); } - void OnFailureResponse_218(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_219(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_218(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_219(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNonNull("nullableInt64s", nullableInt64s)); VerifyOrReturn(CheckValue("nullableInt64s.Value()", nullableInt64s.Value(), -9223372036854775807LL)); @@ -38229,7 +38674,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableInt64sNullValue_219() + CHIP_ERROR TestWriteAttributeNullableInt64sNullValue_220() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38239,33 +38684,33 @@ class TestCluster : public TestCommand nullableInt64sArgument.SetNull(); return cluster.WriteAttribute( - nullableInt64sArgument, this, OnSuccessCallback_219, OnFailureCallback_219); + nullableInt64sArgument, this, OnSuccessCallback_220, OnFailureCallback_220); } - void OnFailureResponse_219(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_220(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_219() { NextTest(); } + void OnSuccessResponse_220() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableInt64sNullValue_220() + CHIP_ERROR TestReadAttributeNullableInt64sNullValue_221() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_220, OnFailureCallback_220); + this, OnSuccessCallback_221, OnFailureCallback_221); } - void OnFailureResponse_220(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_221(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_220(const chip::app::DataModel::Nullable & nullableInt64s) + void OnSuccessResponse_221(const chip::app::DataModel::Nullable & nullableInt64s) { VerifyOrReturn(CheckValueNull("nullableInt64s", nullableInt64s)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8MaxValue_221() + CHIP_ERROR TestWriteAttributeNullableEnum8MaxValue_222() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38275,26 +38720,26 @@ class TestCluster : public TestCommand nullableEnum8Argument.SetNonNull() = static_cast(254); return cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_221, OnFailureCallback_221); + nullableEnum8Argument, this, OnSuccessCallback_222, OnFailureCallback_222); } - void OnFailureResponse_221(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_222(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_221() { NextTest(); } + void OnSuccessResponse_222() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum8MaxValue_222() + CHIP_ERROR TestReadAttributeNullableEnum8MaxValue_223() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_222, OnFailureCallback_222); + this, OnSuccessCallback_223, OnFailureCallback_223); } - void OnFailureResponse_222(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_223(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_222(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_223(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNonNull("nullableEnum8", nullableEnum8)); VerifyOrReturn(CheckValue("nullableEnum8.Value()", nullableEnum8.Value(), 254)); @@ -38302,7 +38747,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8InvalidValue_223() + CHIP_ERROR TestWriteAttributeNullableEnum8InvalidValue_224() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38312,26 +38757,30 @@ class TestCluster : public TestCommand nullableEnum8Argument.SetNonNull() = static_cast(255); return cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_223, OnFailureCallback_223); + nullableEnum8Argument, this, OnSuccessCallback_224, OnFailureCallback_224); } - void OnFailureResponse_223(uint8_t status) { NextTest(); } + void OnFailureResponse_224(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_223() { ThrowSuccessResponse(); } + void OnSuccessResponse_224() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableEnum8UnchangedValue_224() + CHIP_ERROR TestReadAttributeNullableEnum8UnchangedValue_225() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_224, OnFailureCallback_224); + this, OnSuccessCallback_225, OnFailureCallback_225); } - void OnFailureResponse_224(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_225(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_224(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_225(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNonNull("nullableEnum8", nullableEnum8)); VerifyOrReturn(CheckValue("nullableEnum8.Value()", nullableEnum8.Value(), 254)); @@ -38339,7 +38788,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum8NullValue_225() + CHIP_ERROR TestWriteAttributeNullableEnum8NullValue_226() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38349,33 +38798,33 @@ class TestCluster : public TestCommand nullableEnum8Argument.SetNull(); return cluster.WriteAttribute( - nullableEnum8Argument, this, OnSuccessCallback_225, OnFailureCallback_225); + nullableEnum8Argument, this, OnSuccessCallback_226, OnFailureCallback_226); } - void OnFailureResponse_225(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_226(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_225() { NextTest(); } + void OnSuccessResponse_226() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum8NullValue_226() + CHIP_ERROR TestReadAttributeNullableEnum8NullValue_227() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_226, OnFailureCallback_226); + this, OnSuccessCallback_227, OnFailureCallback_227); } - void OnFailureResponse_226(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_227(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_226(const chip::app::DataModel::Nullable & nullableEnum8) + void OnSuccessResponse_227(const chip::app::DataModel::Nullable & nullableEnum8) { VerifyOrReturn(CheckValueNull("nullableEnum8", nullableEnum8)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16MaxValue_227() + CHIP_ERROR TestWriteAttributeNullableEnum16MaxValue_228() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38385,26 +38834,26 @@ class TestCluster : public TestCommand nullableEnum16Argument.SetNonNull() = static_cast(65534); return cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_227, OnFailureCallback_227); + nullableEnum16Argument, this, OnSuccessCallback_228, OnFailureCallback_228); } - void OnFailureResponse_227(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_228(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_227() { NextTest(); } + void OnSuccessResponse_228() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum16MaxValue_228() + CHIP_ERROR TestReadAttributeNullableEnum16MaxValue_229() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_228, OnFailureCallback_228); + this, OnSuccessCallback_229, OnFailureCallback_229); } - void OnFailureResponse_228(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_229(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_228(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_229(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNonNull("nullableEnum16", nullableEnum16)); VerifyOrReturn(CheckValue("nullableEnum16.Value()", nullableEnum16.Value(), 65534U)); @@ -38412,7 +38861,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16InvalidValue_229() + CHIP_ERROR TestWriteAttributeNullableEnum16InvalidValue_230() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38422,26 +38871,30 @@ class TestCluster : public TestCommand nullableEnum16Argument.SetNonNull() = static_cast(65535); return cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_229, OnFailureCallback_229); + nullableEnum16Argument, this, OnSuccessCallback_230, OnFailureCallback_230); } - void OnFailureResponse_229(uint8_t status) { NextTest(); } + void OnFailureResponse_230(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } - void OnSuccessResponse_229() { ThrowSuccessResponse(); } + void OnSuccessResponse_230() { ThrowSuccessResponse(); } - CHIP_ERROR TestReadAttributeNullableEnum16UnchangedValue_230() + CHIP_ERROR TestReadAttributeNullableEnum16UnchangedValue_231() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_230, OnFailureCallback_230); + this, OnSuccessCallback_231, OnFailureCallback_231); } - void OnFailureResponse_230(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_231(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_230(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_231(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNonNull("nullableEnum16", nullableEnum16)); VerifyOrReturn(CheckValue("nullableEnum16.Value()", nullableEnum16.Value(), 65534U)); @@ -38449,7 +38902,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableEnum16NullValue_231() + CHIP_ERROR TestWriteAttributeNullableEnum16NullValue_232() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38459,45 +38912,45 @@ class TestCluster : public TestCommand nullableEnum16Argument.SetNull(); return cluster.WriteAttribute( - nullableEnum16Argument, this, OnSuccessCallback_231, OnFailureCallback_231); + nullableEnum16Argument, this, OnSuccessCallback_232, OnFailureCallback_232); } - void OnFailureResponse_231(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_232(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_231() { NextTest(); } + void OnSuccessResponse_232() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableEnum16NullValue_232() + CHIP_ERROR TestReadAttributeNullableEnum16NullValue_233() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_232, OnFailureCallback_232); + this, OnSuccessCallback_233, OnFailureCallback_233); } - void OnFailureResponse_232(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_233(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_232(const chip::app::DataModel::Nullable & nullableEnum16) + void OnSuccessResponse_233(const chip::app::DataModel::Nullable & nullableEnum16) { VerifyOrReturn(CheckValueNull("nullableEnum16", nullableEnum16)); NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetStringDefaultValue_233() + CHIP_ERROR TestReadAttributeNullableOctetStringDefaultValue_234() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_233, OnFailureCallback_233); + this, OnSuccessCallback_234, OnFailureCallback_234); } - void OnFailureResponse_233(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_234(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_233(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_234(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -38506,7 +38959,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_234() + CHIP_ERROR TestWriteAttributeNullableOctetString_235() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38517,26 +38970,26 @@ class TestCluster : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("TestValuegarbage: not in length on purpose"), 9); return cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_234, OnFailureCallback_234); + nullableOctetStringArgument, this, OnSuccessCallback_235, OnFailureCallback_235); } - void OnFailureResponse_234(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_235(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_234() { NextTest(); } + void OnSuccessResponse_235() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_235() + CHIP_ERROR TestReadAttributeNullableOctetString_236() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_235, OnFailureCallback_235); + this, OnSuccessCallback_236, OnFailureCallback_236); } - void OnFailureResponse_235(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_236(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_235(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_236(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -38545,7 +38998,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_236() + CHIP_ERROR TestWriteAttributeNullableOctetString_237() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38555,33 +39008,33 @@ class TestCluster : public TestCommand nullableOctetStringArgument.SetNull(); return cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_236, OnFailureCallback_236); + nullableOctetStringArgument, this, OnSuccessCallback_237, OnFailureCallback_237); } - void OnFailureResponse_236(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_237(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_236() { NextTest(); } + void OnSuccessResponse_237() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_237() + CHIP_ERROR TestReadAttributeNullableOctetString_238() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_237, OnFailureCallback_237); + this, OnSuccessCallback_238, OnFailureCallback_238); } - void OnFailureResponse_237(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_238(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_237(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_238(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNull("nullableOctetString", nullableOctetString)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableOctetString_238() + CHIP_ERROR TestWriteAttributeNullableOctetString_239() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38592,26 +39045,26 @@ class TestCluster : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); return cluster.WriteAttribute( - nullableOctetStringArgument, this, OnSuccessCallback_238, OnFailureCallback_238); + nullableOctetStringArgument, this, OnSuccessCallback_239, OnFailureCallback_239); } - void OnFailureResponse_238(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_239(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_238() { NextTest(); } + void OnSuccessResponse_239() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableOctetString_239() + CHIP_ERROR TestReadAttributeNullableOctetString_240() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_239, OnFailureCallback_239); + this, OnSuccessCallback_240, OnFailureCallback_240); } - void OnFailureResponse_239(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_240(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_239(const chip::app::DataModel::Nullable & nullableOctetString) + void OnSuccessResponse_240(const chip::app::DataModel::Nullable & nullableOctetString) { VerifyOrReturn(CheckValueNonNull("nullableOctetString", nullableOctetString)); VerifyOrReturn(CheckValueAsString("nullableOctetString.Value()", nullableOctetString.Value(), @@ -38620,19 +39073,19 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharStringDefaultValue_240() + CHIP_ERROR TestReadAttributeNullableCharStringDefaultValue_241() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_240, OnFailureCallback_240); + this, OnSuccessCallback_241, OnFailureCallback_241); } - void OnFailureResponse_240(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_241(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_240(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_241(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNonNull("nullableCharString", nullableCharString)); VerifyOrReturn(CheckValueAsString("nullableCharString.Value()", nullableCharString.Value(), chip::CharSpan("", 0))); @@ -38640,7 +39093,7 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharString_241() + CHIP_ERROR TestWriteAttributeNullableCharString_242() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38650,14 +39103,14 @@ class TestCluster : public TestCommand nullableCharStringArgument.SetNonNull() = chip::Span("☉T☉garbage: not in length on purpose", 7); return cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_241, OnFailureCallback_241); + nullableCharStringArgument, this, OnSuccessCallback_242, OnFailureCallback_242); } - void OnFailureResponse_241(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_242(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_241() { NextTest(); } + void OnSuccessResponse_242() { NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharStringValueTooLong_242() + CHIP_ERROR TestWriteAttributeNullableCharStringValueTooLong_243() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38667,33 +39120,33 @@ class TestCluster : public TestCommand nullableCharStringArgument.SetNull(); return cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_242, OnFailureCallback_242); + nullableCharStringArgument, this, OnSuccessCallback_243, OnFailureCallback_243); } - void OnFailureResponse_242(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_243(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_242() { NextTest(); } + void OnSuccessResponse_243() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharString_243() + CHIP_ERROR TestReadAttributeNullableCharString_244() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_243, OnFailureCallback_243); + this, OnSuccessCallback_244, OnFailureCallback_244); } - void OnFailureResponse_243(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_244(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_243(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_244(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNull("nullableCharString", nullableCharString)); NextTest(); } - CHIP_ERROR TestWriteAttributeNullableCharStringEmpty_244() + CHIP_ERROR TestWriteAttributeNullableCharStringEmpty_245() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; @@ -38703,26 +39156,26 @@ class TestCluster : public TestCommand nullableCharStringArgument.SetNonNull() = chip::Span("garbage: not in length on purpose", 0); return cluster.WriteAttribute( - nullableCharStringArgument, this, OnSuccessCallback_244, OnFailureCallback_244); + nullableCharStringArgument, this, OnSuccessCallback_245, OnFailureCallback_245); } - void OnFailureResponse_244(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_245(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_244() { NextTest(); } + void OnSuccessResponse_245() { NextTest(); } - CHIP_ERROR TestReadAttributeNullableCharString_245() + CHIP_ERROR TestReadAttributeNullableCharString_246() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 1; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); return cluster.ReadAttribute( - this, OnSuccessCallback_245, OnFailureCallback_245); + this, OnSuccessCallback_246, OnFailureCallback_246); } - void OnFailureResponse_245(uint8_t status) { ThrowFailureResponse(); } + void OnFailureResponse_246(uint8_t status) { ThrowFailureResponse(); } - void OnSuccessResponse_245(const chip::app::DataModel::Nullable & nullableCharString) + void OnSuccessResponse_246(const chip::app::DataModel::Nullable & nullableCharString) { VerifyOrReturn(CheckValueNonNull("nullableCharString", nullableCharString)); VerifyOrReturn(CheckValueAsString("nullableCharString.Value()", nullableCharString.Value(), chip::CharSpan("", 0))); @@ -38730,19 +39183,41 @@ class TestCluster : public TestCommand NextTest(); } - CHIP_ERROR TestReadNonexistentAttribute_246() + CHIP_ERROR TestReadAttributeFromNonexistentEndpoint_247() { const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 200; chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevice, endpoint); - return cluster.ReadAttribute(this, OnSuccessCallback_246, - OnFailureCallback_246); + return cluster.ReadAttribute(this, OnSuccessCallback_247, + OnFailureCallback_247); + } + + void OnFailureResponse_247(uint8_t status) + { + VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); + NextTest(); + } + + void OnSuccessResponse_247(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } + + CHIP_ERROR TestReadAttributeFromNonexistentCluster_248() + { + const chip::EndpointId endpoint = mEndpointId.HasValue() ? mEndpointId.Value() : 0; + chip::Controller::TestClusterClusterTest cluster; + cluster.Associate(mDevice, endpoint); + + return cluster.ReadAttribute(this, OnSuccessCallback_248, + OnFailureCallback_248); } - void OnFailureResponse_246(uint8_t status) { NextTest(); } + void OnFailureResponse_248(uint8_t status) + { + VerifyOrReturn(CheckConstraintNotValue("status", status, 0)); + NextTest(); + } - void OnSuccessResponse_246(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } + void OnSuccessResponse_248(const chip::app::DataModel::DecodableList & listInt8u) { ThrowSuccessResponse(); } }; class TestClusterComplexTypes : public TestCommand @@ -43825,7 +44300,11 @@ class TestModeSelectCluster : public TestCommand return CHIP_NO_ERROR; } - void OnFailureResponse_7(uint8_t status) { NextTest(); } + void OnFailureResponse_7(uint8_t status) + { + VerifyOrReturn(CheckValue("status", status, 135)); + NextTest(); + } void OnSuccessResponse_7() { ThrowSuccessResponse(); } };