From 39a7700446a67d7a9e38d8e608d5cf56b910dfb2 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Fri, 2 Dec 2022 22:01:34 +0100 Subject: [PATCH] Remove EMBER_ZCL_STATUS_INVALID_FIELD --- .../include/level-control/LevelControl.cpp | 2 +- .../color-control-server.cpp | 2 +- .../clusters/level-control/level-control.cpp | 4 +- src/app/clusters/scenes/scenes.cpp | 14 +- src/app/tests/suites/DL_Schedules.yaml | 62 ++++----- src/app/util/af-enums.h | 1 - .../chip-tool/zap-generated/test/Commands.h | 62 ++++----- .../zap-generated/test/Commands.h | 124 +++++++++--------- 8 files changed, 135 insertions(+), 136 deletions(-) diff --git a/examples/tv-app/linux/include/level-control/LevelControl.cpp b/examples/tv-app/linux/include/level-control/LevelControl.cpp index 6390707e97418e..3147396e008b53 100644 --- a/examples/tv-app/linux/include/level-control/LevelControl.cpp +++ b/examples/tv-app/linux/include/level-control/LevelControl.cpp @@ -89,7 +89,7 @@ static void stepHandler(CommandId commandId, uint8_t stepMode, uint8_t stepSize, } break; default: - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; goto send_default_response; } diff --git a/src/app/clusters/color-control-server/color-control-server.cpp b/src/app/clusters/color-control-server/color-control-server.cpp index 486126fb9ddab6..8d6230e6ede743 100644 --- a/src/app/clusters/color-control-server/color-control-server.cpp +++ b/src/app/clusters/color-control-server/color-control-server.cpp @@ -2207,7 +2207,7 @@ bool ColorControlServer::moveColorTempCommand(const app::ConcreteCommandPath & c if (rate == 0) { - emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_INVALID_FIELD); + emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_INVALID_COMMAND); return true; } diff --git a/src/app/clusters/level-control/level-control.cpp b/src/app/clusters/level-control/level-control.cpp index 723cc3a1edaf33..c97fad07a2fae3 100644 --- a/src/app/clusters/level-control/level-control.cpp +++ b/src/app/clusters/level-control/level-control.cpp @@ -830,7 +830,7 @@ static void moveHandler(EndpointId endpoint, CommandId commandId, uint8_t moveMo difference = static_cast(currentLevel.Value() - state->minLevel); break; default: - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; goto send_default_response; } @@ -972,7 +972,7 @@ static void stepHandler(EndpointId endpoint, CommandId commandId, uint8_t stepMo } break; default: - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; goto send_default_response; } diff --git a/src/app/clusters/scenes/scenes.cpp b/src/app/clusters/scenes/scenes.cpp index 58369e8eb11837..1a9e58144194a3 100644 --- a/src/app/clusters/scenes/scenes.cpp +++ b/src/app/clusters/scenes/scenes.cpp @@ -234,7 +234,7 @@ bool emberAfScenesClusterRemoveSceneCallback(app::CommandHandler * commandObj, c if (!isEndpointInGroup(fabricIndex, emberAfCurrentEndpoint(), groupId)) { - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; } else { @@ -284,7 +284,7 @@ bool emberAfScenesClusterRemoveAllScenesCallback(app::CommandHandler * commandOb auto fabricIndex = commandObj->GetAccessingFabricIndex(); auto & groupId = commandData.groupId; - EmberAfStatus status = EMBER_ZCL_STATUS_INVALID_FIELD; + EmberAfStatus status = EMBER_ZCL_STATUS_INVALID_COMMAND; CHIP_ERROR err = CHIP_NO_ERROR; emberAfScenesClusterPrintln("RX: RemoveAllScenes 0x%2x", groupId); @@ -417,7 +417,7 @@ bool emberAfScenesClusterGetSceneMembershipCallback(app::CommandHandler * comman if (!isEndpointInGroup(fabricIndex, emberAfCurrentEndpoint(), groupId)) { - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; } if (status == EMBER_ZCL_STATUS_SUCCESS) @@ -471,7 +471,7 @@ EmberAfStatus emberAfScenesClusterStoreCurrentSceneCallback(chip::FabricIndex fa if (!isEndpointInGroup(fabricIndex, endpoint, groupId)) { - return EMBER_ZCL_STATUS_INVALID_FIELD; + return EMBER_ZCL_STATUS_INVALID_COMMAND; } for (i = 0; i < MATTER_SCENES_TABLE_SIZE; i++) @@ -589,7 +589,7 @@ EmberAfStatus emberAfScenesClusterRecallSavedSceneCallback(chip::FabricIndex fab { if (!isEndpointInGroup(fabricIndex, endpoint, groupId)) { - return EMBER_ZCL_STATUS_INVALID_FIELD; + return EMBER_ZCL_STATUS_INVALID_COMMAND; } uint8_t i; @@ -737,7 +737,7 @@ bool emberAfPluginScenesServerParseAddScene( // Add Scene commands can only reference groups to which we belong. if (!isEndpointInGroup(fabricIndex, endpoint, groupId)) { - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; goto kickout; } @@ -1070,7 +1070,7 @@ bool emberAfPluginScenesServerParseViewScene(app::CommandHandler * commandObj, c // View Scene commands can only reference groups which we belong to. if (!isEndpointInGroup(fabricIndex, endpoint, groupId)) { - status = EMBER_ZCL_STATUS_INVALID_FIELD; + status = EMBER_ZCL_STATUS_INVALID_COMMAND; } else { diff --git a/src/app/tests/suites/DL_Schedules.yaml b/src/app/tests/suites/DL_Schedules.yaml index 580b6556a26869..7f87cfde766436 100644 --- a/src/app/tests/suites/DL_Schedules.yaml +++ b/src/app/tests/suites/DL_Schedules.yaml @@ -108,7 +108,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with out-of-bounds index" command: "SetWeekDaySchedule" @@ -129,7 +129,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with 0 user index" command: "SetWeekDaySchedule" @@ -150,7 +150,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with out-of-bounds user index" command: "SetWeekDaySchedule" @@ -171,7 +171,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule for non-existing user" command: "SetWeekDaySchedule" @@ -213,7 +213,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule for Sunday and Monday" command: "SetWeekDaySchedule" @@ -234,7 +234,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule for Sunday Wednesday and Saturday" command: "SetWeekDaySchedule" @@ -255,7 +255,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with invalid start hour" command: "SetWeekDaySchedule" @@ -276,7 +276,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with invalid start minute" command: "SetWeekDaySchedule" @@ -297,7 +297,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with invalid end hour" command: "SetWeekDaySchedule" @@ -318,7 +318,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with invalid end minute" command: "SetWeekDaySchedule" @@ -339,7 +339,7 @@ tests: - name: "endMinute" value: 60 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with start hour later that end hour" command: "SetWeekDaySchedule" @@ -360,7 +360,7 @@ tests: - name: "endMinute" value: 00 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Week Day schedule with start minute later that end minute when @@ -383,7 +383,7 @@ tests: - name: "endMinute" value: 49 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Make sure that previous operations did not create a schedule" command: "GetWeekDaySchedule" @@ -506,7 +506,7 @@ tests: - name: "localEndTime" value: 12345689 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Year Day schedule with out-of-bounds index" command: "SetYearDaySchedule" @@ -521,7 +521,7 @@ tests: - name: "localEndTime" value: 12345689 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Year Day schedule with 0 user index" command: "SetYearDaySchedule" @@ -536,7 +536,7 @@ tests: - name: "localEndTime" value: 12345689 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Year Day schedule with out-of-bounds user index" command: "SetYearDaySchedule" @@ -551,7 +551,7 @@ tests: - name: "localEndTime" value: 12345689 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Year Day schedule for non-existing user" command: "SetYearDaySchedule" @@ -704,7 +704,7 @@ tests: - name: "operatingMode" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Holiday schedule with out-of-bounds index" command: "SetHolidaySchedule" @@ -719,7 +719,7 @@ tests: - name: "operatingMode" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Holiday schedule with start hour later that end hour" command: "SetHolidaySchedule" @@ -734,7 +734,7 @@ tests: - name: "operatingMode" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Create Holiday schedule with invalid operating mode" command: "SetHolidaySchedule" @@ -749,7 +749,7 @@ tests: - name: "operatingMode" value: 5 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Make sure that previous operations did not create a schedule" command: "GetHolidaySchedule" @@ -918,7 +918,7 @@ tests: - name: "userIndex" value: 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Week Day schedule with out-of-bounds index" command: "ClearWeekDaySchedule" @@ -929,7 +929,7 @@ tests: - name: "userIndex" value: 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Week Day schedule with 0 user index" command: "ClearWeekDaySchedule" @@ -940,7 +940,7 @@ tests: - name: "userIndex" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Week Day schedule with out-of-bounds user index" command: "ClearWeekDaySchedule" @@ -951,7 +951,7 @@ tests: - name: "userIndex" value: NumberOfTotalUsersSupported + 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Week Day schedule with non-existing user" command: "ClearWeekDaySchedule" @@ -1043,7 +1043,7 @@ tests: - name: "userIndex" value: 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Year Day schedule with out-of-bounds index" command: "ClearYearDaySchedule" @@ -1054,7 +1054,7 @@ tests: - name: "userIndex" value: 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Year Day schedule with 0 user index" command: "ClearYearDaySchedule" @@ -1065,7 +1065,7 @@ tests: - name: "userIndex" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Year Day schedule with out-of-bounds user index" command: "ClearYearDaySchedule" @@ -1076,7 +1076,7 @@ tests: - name: "userIndex" value: NumberOfTotalUsersSupported + 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Year Day schedule with non-existing user" command: "ClearYearDaySchedule" @@ -1164,7 +1164,7 @@ tests: - name: "holidayIndex" value: 0 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Clear Holiday schedule with out-of-bounds index" command: "ClearHolidaySchedule" @@ -1173,7 +1173,7 @@ tests: - name: "holidayIndex" value: NumberOfYearDaySchedulesSupportedPerUser + 1 response: - error: INVALID_FIELD + error: INVALID_COMMAND - label: "Make sure that week day schedule was not deleted" command: "GetWeekDaySchedule" diff --git a/src/app/util/af-enums.h b/src/app/util/af-enums.h index 3214420927cb42..09c5c3de36213d 100644 --- a/src/app/util/af-enums.h +++ b/src/app/util/af-enums.h @@ -35,7 +35,6 @@ enum EmberAfStatus : uint8_t EMBER_ZCL_STATUS_DEPRECATED83 = 0x83, EMBER_ZCL_STATUS_DEPRECATED84 = 0x84, EMBER_ZCL_STATUS_INVALID_COMMAND = 0x85, - 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, // Deprecated; same as CONSTRAINT_ERROR diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 2091c79610662a..2292e0940488fc 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -70995,46 +70995,46 @@ class DL_SchedulesSuite : public TestCommand } break; case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 9: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 12: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 13: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 14: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 15: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 16: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 17: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 18: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 19: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -71098,16 +71098,16 @@ class DL_SchedulesSuite : public TestCommand } break; case 26: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 27: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 28: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 29: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 30: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -71177,16 +71177,16 @@ class DL_SchedulesSuite : public TestCommand } break; case 38: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 39: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 40: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 41: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 42: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -71275,16 +71275,16 @@ class DL_SchedulesSuite : public TestCommand } break; case 51: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 52: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 53: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 54: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 55: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -71339,16 +71339,16 @@ class DL_SchedulesSuite : public TestCommand } break; case 59: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 60: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 61: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 62: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 63: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -71403,10 +71403,10 @@ class DL_SchedulesSuite : public TestCommand } break; case 67: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 68: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 69: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 9fd2ea0102cf72..995d011966626f 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -114251,46 +114251,46 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 9: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); break; case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 12: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 13: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 14: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 15: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 16: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 17: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 18: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 19: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -114311,16 +114311,16 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 26: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 27: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 28: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 29: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 30: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -114347,16 +114347,16 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 38: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 39: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 40: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 41: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 42: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -114386,16 +114386,16 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 51: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 52: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 53: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 54: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 55: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -114410,16 +114410,16 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 59: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 60: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 61: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 62: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 63: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -114434,10 +114434,10 @@ class DL_Schedules : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 67: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 68: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_FIELD)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_INVALID_COMMAND)); break; case 69: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -114822,7 +114822,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -114852,7 +114852,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -114882,7 +114882,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -114912,7 +114912,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -114972,7 +114972,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115002,7 +115002,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115032,7 +115032,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115062,7 +115062,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115092,7 +115092,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115122,7 +115122,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115152,7 +115152,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115182,7 +115182,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115214,7 +115214,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115471,7 +115471,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115498,7 +115498,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115525,7 +115525,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115552,7 +115552,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115863,7 +115863,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115890,7 +115890,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115917,7 +115917,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -115944,7 +115944,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116300,7 +116300,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116326,7 +116326,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116352,7 +116352,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116378,7 +116378,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116588,7 +116588,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116614,7 +116614,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116640,7 +116640,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116666,7 +116666,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116875,7 +116875,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }]; @@ -116900,7 +116900,7 @@ class DL_Schedules : public TestCommandBridge { err ? ([err.domain isEqualToString:MTRInteractionErrorDomain] ? err.code : EMBER_ZCL_STATUS_FAILURE) : 0, - EMBER_ZCL_STATUS_INVALID_FIELD)); + EMBER_ZCL_STATUS_INVALID_COMMAND)); NextTest(); }];