Skip to content

Commit 593861d

Browse files
authored
Decouple ember functions from general diagnostics cluster (project-chip#37001)
* Decouple ember functions from general diagnostics cluster * Optimize flash cost * Add compile flag for each command * Address review comments
1 parent 9e23d47 commit 593861d

File tree

8 files changed

+600
-314
lines changed

8 files changed

+600
-314
lines changed

scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/IMClusterCommandHandler.cpp

-62
Original file line numberDiff line numberDiff line change
@@ -577,65 +577,6 @@ Protocols::InteractionModel::Status DispatchServerCommand(CommandHandler * apCom
577577

578578
} // namespace FaultInjection
579579

580-
namespace GeneralDiagnostics {
581-
582-
Protocols::InteractionModel::Status DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandPath & aCommandPath,
583-
TLV::TLVReader & aDataTlv)
584-
{
585-
CHIP_ERROR TLVError = CHIP_NO_ERROR;
586-
bool wasHandled = false;
587-
{
588-
switch (aCommandPath.mCommandId)
589-
{
590-
case Commands::TestEventTrigger::Id: {
591-
Commands::TestEventTrigger::DecodableType commandData;
592-
TLVError = DataModel::Decode(aDataTlv, commandData);
593-
if (TLVError == CHIP_NO_ERROR)
594-
{
595-
wasHandled = emberAfGeneralDiagnosticsClusterTestEventTriggerCallback(apCommandObj, aCommandPath, commandData);
596-
}
597-
break;
598-
}
599-
case Commands::TimeSnapshot::Id: {
600-
Commands::TimeSnapshot::DecodableType commandData;
601-
TLVError = DataModel::Decode(aDataTlv, commandData);
602-
if (TLVError == CHIP_NO_ERROR)
603-
{
604-
wasHandled = emberAfGeneralDiagnosticsClusterTimeSnapshotCallback(apCommandObj, aCommandPath, commandData);
605-
}
606-
break;
607-
}
608-
case Commands::PayloadTestRequest::Id: {
609-
Commands::PayloadTestRequest::DecodableType commandData;
610-
TLVError = DataModel::Decode(aDataTlv, commandData);
611-
if (TLVError == CHIP_NO_ERROR)
612-
{
613-
wasHandled = emberAfGeneralDiagnosticsClusterPayloadTestRequestCallback(apCommandObj, aCommandPath, commandData);
614-
}
615-
break;
616-
}
617-
default: {
618-
// Unrecognized command ID, error status will apply.
619-
ChipLogError(Zcl, "Unknown command " ChipLogFormatMEI " for cluster " ChipLogFormatMEI,
620-
ChipLogValueMEI(aCommandPath.mCommandId), ChipLogValueMEI(aCommandPath.mClusterId));
621-
return Protocols::InteractionModel::Status::UnsupportedCommand;
622-
}
623-
}
624-
}
625-
626-
if (CHIP_NO_ERROR != TLVError || !wasHandled)
627-
{
628-
ChipLogProgress(Zcl, "Failed to dispatch command, TLVError=%" CHIP_ERROR_FORMAT, TLVError.Format());
629-
return Protocols::InteractionModel::Status::InvalidCommand;
630-
}
631-
632-
// We use success as a marker that no special handling is required
633-
// This is to avoid having a std::optional which uses slightly more code.
634-
return Protocols::InteractionModel::Status::Success;
635-
}
636-
637-
} // namespace GeneralDiagnostics
638-
639580
namespace GroupKeyManagement {
640581

641582
Protocols::InteractionModel::Status DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandPath & aCommandPath,
@@ -1975,9 +1916,6 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV:
19751916
case Clusters::FaultInjection::Id:
19761917
errorStatus = Clusters::FaultInjection::DispatchServerCommand(apCommandObj, aCommandPath, aReader);
19771918
break;
1978-
case Clusters::GeneralDiagnostics::Id:
1979-
errorStatus = Clusters::GeneralDiagnostics::DispatchServerCommand(apCommandObj, aCommandPath, aReader);
1980-
break;
19811919
case Clusters::GroupKeyManagement::Id:
19821920
errorStatus = Clusters::GroupKeyManagement::DispatchServerCommand(apCommandObj, aCommandPath, aReader);
19831921
break;

scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/gen_config.h

+261
Original file line numberDiff line numberDiff line change
@@ -586,3 +586,264 @@
586586
#define ZCL_USING_FAULT_INJECTION_CLUSTER_SERVER
587587
#define MATTER_DM_PLUGIN_FAULT_INJECTION_SERVER
588588
#define MATTER_DM_PLUGIN_FAULT_INJECTION
589+
590+
/**** Cluster Commands Flag ****/
591+
// ActivatedCarbonFilterMonitoring Cluster Commands
592+
#define ACTIVATED_CARBON_FILTER_MONITORING_ENABLE_RESET_CONDITION_CMD 1
593+
594+
// AdministratorCommissioning Cluster Commands
595+
#define ADMINISTRATOR_COMMISSIONING_ENABLE_OPEN_COMMISSIONING_WINDOW_CMD 1
596+
#define ADMINISTRATOR_COMMISSIONING_ENABLE_OPEN_BASIC_COMMISSIONING_WINDOW_CMD 1
597+
#define ADMINISTRATOR_COMMISSIONING_ENABLE_REVOKE_COMMISSIONING_CMD 1
598+
599+
// BooleanStateConfiguration Cluster Commands
600+
#define BOOLEAN_STATE_CONFIGURATION_ENABLE_SUPPRESS_ALARM_CMD 1
601+
#define BOOLEAN_STATE_CONFIGURATION_ENABLE_ENABLE_DISABLE_ALARM_CMD 1
602+
603+
// ColorControl Cluster Commands
604+
#define COLOR_CONTROL_ENABLE_MOVE_TO_HUE_CMD 1
605+
#define COLOR_CONTROL_ENABLE_MOVE_HUE_CMD 1
606+
#define COLOR_CONTROL_ENABLE_STEP_HUE_CMD 1
607+
#define COLOR_CONTROL_ENABLE_MOVE_TO_SATURATION_CMD 1
608+
#define COLOR_CONTROL_ENABLE_MOVE_SATURATION_CMD 1
609+
#define COLOR_CONTROL_ENABLE_STEP_SATURATION_CMD 1
610+
#define COLOR_CONTROL_ENABLE_MOVE_TO_HUE_AND_SATURATION_CMD 1
611+
#define COLOR_CONTROL_ENABLE_MOVE_TO_COLOR_CMD 1
612+
#define COLOR_CONTROL_ENABLE_MOVE_COLOR_CMD 1
613+
#define COLOR_CONTROL_ENABLE_STEP_COLOR_CMD 1
614+
#define COLOR_CONTROL_ENABLE_MOVE_TO_COLOR_TEMPERATURE_CMD 1
615+
#define COLOR_CONTROL_ENABLE_ENHANCED_MOVE_TO_HUE_CMD 1
616+
#define COLOR_CONTROL_ENABLE_ENHANCED_MOVE_HUE_CMD 1
617+
#define COLOR_CONTROL_ENABLE_ENHANCED_STEP_HUE_CMD 1
618+
#define COLOR_CONTROL_ENABLE_ENHANCED_MOVE_TO_HUE_AND_SATURATION_CMD 1
619+
#define COLOR_CONTROL_ENABLE_COLOR_LOOP_SET_CMD 1
620+
#define COLOR_CONTROL_ENABLE_STOP_MOVE_STEP_CMD 1
621+
#define COLOR_CONTROL_ENABLE_MOVE_COLOR_TEMPERATURE_CMD 1
622+
#define COLOR_CONTROL_ENABLE_STEP_COLOR_TEMPERATURE_CMD 1
623+
624+
// DeviceEnergyManagement Cluster Commands
625+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_POWER_ADJUST_REQUEST_CMD 1
626+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_CANCEL_POWER_ADJUST_REQUEST_CMD 1
627+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_START_TIME_ADJUST_REQUEST_CMD 1
628+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_PAUSE_REQUEST_CMD 1
629+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_RESUME_REQUEST_CMD 1
630+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_MODIFY_FORECAST_REQUEST_CMD 1
631+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_REQUEST_CONSTRAINT_BASED_FORECAST_CMD 1
632+
#define DEVICE_ENERGY_MANAGEMENT_ENABLE_CANCEL_REQUEST_CMD 1
633+
634+
// DeviceEnergyManagementMode Cluster Commands
635+
#define DEVICE_ENERGY_MANAGEMENT_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
636+
637+
// DiagnosticLogs Cluster Commands
638+
#define DIAGNOSTIC_LOGS_ENABLE_RETRIEVE_LOGS_REQUEST_CMD 1
639+
640+
// DishwasherAlarm Cluster Commands
641+
#define DISHWASHER_ALARM_ENABLE_RESET_CMD 1
642+
#define DISHWASHER_ALARM_ENABLE_MODIFY_ENABLED_ALARMS_CMD 1
643+
644+
// DishwasherMode Cluster Commands
645+
#define DISHWASHER_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
646+
647+
// EnergyEvse Cluster Commands
648+
#define ENERGY_EVSE_ENABLE_DISABLE_CMD 1
649+
#define ENERGY_EVSE_ENABLE_ENABLE_CHARGING_CMD 1
650+
#define ENERGY_EVSE_ENABLE_ENABLE_DISCHARGING_CMD 1
651+
#define ENERGY_EVSE_ENABLE_START_DIAGNOSTICS_CMD 1
652+
#define ENERGY_EVSE_ENABLE_SET_TARGETS_CMD 1
653+
#define ENERGY_EVSE_ENABLE_GET_TARGETS_CMD 1
654+
#define ENERGY_EVSE_ENABLE_CLEAR_TARGETS_CMD 1
655+
656+
// EnergyEvseMode Cluster Commands
657+
#define ENERGY_EVSE_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
658+
659+
// EthernetNetworkDiagnostics Cluster Commands
660+
#define ETHERNET_NETWORK_DIAGNOSTICS_ENABLE_RESET_COUNTS_CMD 1
661+
662+
// FanControl Cluster Commands
663+
#define FAN_CONTROL_ENABLE_STEP_CMD 1
664+
665+
// FaultInjection Cluster Commands
666+
#define FAULT_INJECTION_ENABLE_FAIL_AT_FAULT_CMD 1
667+
#define FAULT_INJECTION_ENABLE_FAIL_RANDOMLY_AT_FAULT_CMD 1
668+
669+
// GeneralCommissioning Cluster Commands
670+
#define GENERAL_COMMISSIONING_ENABLE_ARM_FAIL_SAFE_CMD 1
671+
#define GENERAL_COMMISSIONING_ENABLE_SET_REGULATORY_CONFIG_CMD 1
672+
#define GENERAL_COMMISSIONING_ENABLE_COMMISSIONING_COMPLETE_CMD 1
673+
674+
// GeneralDiagnostics Cluster Commands
675+
#define GENERAL_DIAGNOSTICS_ENABLE_TEST_EVENT_TRIGGER_CMD 1
676+
#define GENERAL_DIAGNOSTICS_ENABLE_TIME_SNAPSHOT_CMD 1
677+
#define GENERAL_DIAGNOSTICS_ENABLE_PAYLOAD_TEST_REQUEST_CMD 1
678+
679+
// GroupKeyManagement Cluster Commands
680+
#define GROUP_KEY_MANAGEMENT_ENABLE_KEY_SET_WRITE_CMD 1
681+
#define GROUP_KEY_MANAGEMENT_ENABLE_KEY_SET_READ_CMD 1
682+
#define GROUP_KEY_MANAGEMENT_ENABLE_KEY_SET_REMOVE_CMD 1
683+
#define GROUP_KEY_MANAGEMENT_ENABLE_KEY_SET_READ_ALL_INDICES_CMD 1
684+
685+
// Groups Cluster Commands
686+
#define GROUPS_ENABLE_ADD_GROUP_CMD 1
687+
#define GROUPS_ENABLE_VIEW_GROUP_CMD 1
688+
#define GROUPS_ENABLE_GET_GROUP_MEMBERSHIP_CMD 1
689+
#define GROUPS_ENABLE_REMOVE_GROUP_CMD 1
690+
#define GROUPS_ENABLE_REMOVE_ALL_GROUPS_CMD 1
691+
#define GROUPS_ENABLE_ADD_GROUP_IF_IDENTIFYING_CMD 1
692+
693+
// HepaFilterMonitoring Cluster Commands
694+
#define HEPA_FILTER_MONITORING_ENABLE_RESET_CONDITION_CMD 1
695+
696+
// Identify Cluster Commands
697+
#define IDENTIFY_ENABLE_IDENTIFY_CMD 1
698+
#define IDENTIFY_ENABLE_TRIGGER_EFFECT_CMD 1
699+
700+
// LaundryWasherMode Cluster Commands
701+
#define LAUNDRY_WASHER_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
702+
703+
// LevelControl Cluster Commands
704+
#define LEVEL_CONTROL_ENABLE_MOVE_TO_LEVEL_CMD 1
705+
#define LEVEL_CONTROL_ENABLE_MOVE_CMD 1
706+
#define LEVEL_CONTROL_ENABLE_STEP_CMD 1
707+
#define LEVEL_CONTROL_ENABLE_STOP_CMD 1
708+
#define LEVEL_CONTROL_ENABLE_MOVE_TO_LEVEL_WITH_ON_OFF_CMD 1
709+
#define LEVEL_CONTROL_ENABLE_MOVE_WITH_ON_OFF_CMD 1
710+
#define LEVEL_CONTROL_ENABLE_STEP_WITH_ON_OFF_CMD 1
711+
#define LEVEL_CONTROL_ENABLE_STOP_WITH_ON_OFF_CMD 1
712+
713+
// LowPower Cluster Commands
714+
#define LOW_POWER_ENABLE_SLEEP_CMD 1
715+
716+
// ModeSelect Cluster Commands
717+
#define MODE_SELECT_ENABLE_CHANGE_TO_MODE_CMD 1
718+
719+
// NetworkCommissioning Cluster Commands
720+
#define NETWORK_COMMISSIONING_ENABLE_SCAN_NETWORKS_CMD 1
721+
#define NETWORK_COMMISSIONING_ENABLE_ADD_OR_UPDATE_WI_FI_NETWORK_CMD 1
722+
#define NETWORK_COMMISSIONING_ENABLE_ADD_OR_UPDATE_THREAD_NETWORK_CMD 1
723+
#define NETWORK_COMMISSIONING_ENABLE_REMOVE_NETWORK_CMD 1
724+
#define NETWORK_COMMISSIONING_ENABLE_CONNECT_NETWORK_CMD 1
725+
#define NETWORK_COMMISSIONING_ENABLE_REORDER_NETWORK_CMD 1
726+
727+
// OtaSoftwareUpdateRequestor Cluster Commands
728+
#define OTA_SOFTWARE_UPDATE_REQUESTOR_ENABLE_ANNOUNCE_OTA_PROVIDER_CMD 1
729+
730+
// OnOff Cluster Commands
731+
#define ON_OFF_ENABLE_OFF_CMD 1
732+
#define ON_OFF_ENABLE_ON_CMD 1
733+
#define ON_OFF_ENABLE_TOGGLE_CMD 1
734+
#define ON_OFF_ENABLE_OFF_WITH_EFFECT_CMD 1
735+
#define ON_OFF_ENABLE_ON_WITH_RECALL_GLOBAL_SCENE_CMD 1
736+
#define ON_OFF_ENABLE_ON_WITH_TIMED_OFF_CMD 1
737+
738+
// OperationalCredentials Cluster Commands
739+
#define OPERATIONAL_CREDENTIALS_ENABLE_ATTESTATION_REQUEST_CMD 1
740+
#define OPERATIONAL_CREDENTIALS_ENABLE_CERTIFICATE_CHAIN_REQUEST_CMD 1
741+
#define OPERATIONAL_CREDENTIALS_ENABLE_CSR_REQUEST_CMD 1
742+
#define OPERATIONAL_CREDENTIALS_ENABLE_ADD_NOC_CMD 1
743+
#define OPERATIONAL_CREDENTIALS_ENABLE_UPDATE_NOC_CMD 1
744+
#define OPERATIONAL_CREDENTIALS_ENABLE_UPDATE_FABRIC_LABEL_CMD 1
745+
#define OPERATIONAL_CREDENTIALS_ENABLE_REMOVE_FABRIC_CMD 1
746+
#define OPERATIONAL_CREDENTIALS_ENABLE_ADD_TRUSTED_ROOT_CERTIFICATE_CMD 1
747+
748+
// OperationalState Cluster Commands
749+
#define OPERATIONAL_STATE_ENABLE_PAUSE_CMD 1
750+
#define OPERATIONAL_STATE_ENABLE_STOP_CMD 1
751+
#define OPERATIONAL_STATE_ENABLE_START_CMD 1
752+
#define OPERATIONAL_STATE_ENABLE_RESUME_CMD 1
753+
754+
// OvenCavityOperationalState Cluster Commands
755+
#define OVEN_CAVITY_OPERATIONAL_STATE_ENABLE_PAUSE_CMD 1
756+
#define OVEN_CAVITY_OPERATIONAL_STATE_ENABLE_STOP_CMD 1
757+
#define OVEN_CAVITY_OPERATIONAL_STATE_ENABLE_START_CMD 1
758+
#define OVEN_CAVITY_OPERATIONAL_STATE_ENABLE_RESUME_CMD 1
759+
760+
// OvenMode Cluster Commands
761+
#define OVEN_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
762+
763+
// RvcCleanMode Cluster Commands
764+
#define RVC_CLEAN_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
765+
766+
// RvcOperationalState Cluster Commands
767+
#define RVC_OPERATIONAL_STATE_ENABLE_PAUSE_CMD 1
768+
#define RVC_OPERATIONAL_STATE_ENABLE_RESUME_CMD 1
769+
#define RVC_OPERATIONAL_STATE_ENABLE_GO_HOME_CMD 1
770+
771+
// RvcRunMode Cluster Commands
772+
#define RVC_RUN_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
773+
774+
// RefrigeratorAndTemperatureControlledCabinetMode Cluster Commands
775+
#define REFRIGERATOR_AND_TEMPERATURE_CONTROLLED_CABINET_MODE_ENABLE_CHANGE_TO_MODE_CMD 1
776+
777+
// ScenesManagement Cluster Commands
778+
#define SCENES_MANAGEMENT_ENABLE_ADD_SCENE_CMD 1
779+
#define SCENES_MANAGEMENT_ENABLE_VIEW_SCENE_CMD 1
780+
#define SCENES_MANAGEMENT_ENABLE_REMOVE_SCENE_CMD 1
781+
#define SCENES_MANAGEMENT_ENABLE_REMOVE_ALL_SCENES_CMD 1
782+
#define SCENES_MANAGEMENT_ENABLE_STORE_SCENE_CMD 1
783+
#define SCENES_MANAGEMENT_ENABLE_RECALL_SCENE_CMD 1
784+
#define SCENES_MANAGEMENT_ENABLE_GET_SCENE_MEMBERSHIP_CMD 1
785+
#define SCENES_MANAGEMENT_ENABLE_COPY_SCENE_CMD 1
786+
787+
// SmokeCoAlarm Cluster Commands
788+
#define SMOKE_CO_ALARM_ENABLE_SELF_TEST_REQUEST_CMD 1
789+
790+
// SoftwareDiagnostics Cluster Commands
791+
#define SOFTWARE_DIAGNOSTICS_ENABLE_RESET_WATERMARKS_CMD 1
792+
793+
// TemperatureControl Cluster Commands
794+
#define TEMPERATURE_CONTROL_ENABLE_SET_TEMPERATURE_CMD 1
795+
796+
// Thermostat Cluster Commands
797+
#define THERMOSTAT_ENABLE_SETPOINT_RAISE_LOWER_CMD 1
798+
#define THERMOSTAT_ENABLE_SET_ACTIVE_SCHEDULE_REQUEST_CMD 1
799+
#define THERMOSTAT_ENABLE_SET_ACTIVE_PRESET_REQUEST_CMD 1
800+
#define THERMOSTAT_ENABLE_ATOMIC_REQUEST_CMD 1
801+
802+
// ThreadNetworkDiagnostics Cluster Commands
803+
#define THREAD_NETWORK_DIAGNOSTICS_ENABLE_RESET_COUNTS_CMD 1
804+
805+
// TimeSynchronization Cluster Commands
806+
#define TIME_SYNCHRONIZATION_ENABLE_SET_UTC_TIME_CMD 1
807+
#define TIME_SYNCHRONIZATION_ENABLE_SET_TRUSTED_TIME_SOURCE_CMD 1
808+
#define TIME_SYNCHRONIZATION_ENABLE_SET_TIME_ZONE_CMD 1
809+
#define TIME_SYNCHRONIZATION_ENABLE_SET_DST_OFFSET_CMD 1
810+
#define TIME_SYNCHRONIZATION_ENABLE_SET_DEFAULT_NTP_CMD 1
811+
812+
// UnitTesting Cluster Commands
813+
#define UNIT_TESTING_ENABLE_TEST_CMD 1
814+
#define UNIT_TESTING_ENABLE_TEST_NOT_HANDLED_CMD 1
815+
#define UNIT_TESTING_ENABLE_TEST_SPECIFIC_CMD 1
816+
#define UNIT_TESTING_ENABLE_TEST_ADD_ARGUMENTS_CMD 1
817+
#define UNIT_TESTING_ENABLE_TEST_STRUCT_ARGUMENT_REQUEST_CMD 1
818+
#define UNIT_TESTING_ENABLE_TEST_NESTED_STRUCT_ARGUMENT_REQUEST_CMD 1
819+
#define UNIT_TESTING_ENABLE_TEST_LIST_STRUCT_ARGUMENT_REQUEST_CMD 1
820+
#define UNIT_TESTING_ENABLE_TEST_LIST_INT8_U_ARGUMENT_REQUEST_CMD 1
821+
#define UNIT_TESTING_ENABLE_TEST_NESTED_STRUCT_LIST_ARGUMENT_REQUEST_CMD 1
822+
#define UNIT_TESTING_ENABLE_TEST_LIST_NESTED_STRUCT_LIST_ARGUMENT_REQUEST_CMD 1
823+
#define UNIT_TESTING_ENABLE_TEST_LIST_INT8_U_REVERSE_REQUEST_CMD 1
824+
#define UNIT_TESTING_ENABLE_TEST_ENUMS_REQUEST_CMD 1
825+
#define UNIT_TESTING_ENABLE_TEST_NULLABLE_OPTIONAL_REQUEST_CMD 1
826+
#define UNIT_TESTING_ENABLE_SIMPLE_STRUCT_ECHO_REQUEST_CMD 1
827+
#define UNIT_TESTING_ENABLE_TIMED_INVOKE_REQUEST_CMD 1
828+
#define UNIT_TESTING_ENABLE_TEST_SIMPLE_OPTIONAL_ARGUMENT_REQUEST_CMD 1
829+
#define UNIT_TESTING_ENABLE_TEST_EMIT_TEST_EVENT_REQUEST_CMD 1
830+
#define UNIT_TESTING_ENABLE_TEST_EMIT_TEST_FABRIC_SCOPED_EVENT_REQUEST_CMD 1
831+
#define UNIT_TESTING_ENABLE_TEST_BATCH_HELPER_REQUEST_CMD 1
832+
#define UNIT_TESTING_ENABLE_TEST_SECOND_BATCH_HELPER_REQUEST_CMD 1
833+
#define UNIT_TESTING_ENABLE_TEST_DIFFERENT_VENDOR_MEI_REQUEST_CMD 1
834+
835+
// ValveConfigurationAndControl Cluster Commands
836+
#define VALVE_CONFIGURATION_AND_CONTROL_ENABLE_OPEN_CMD 1
837+
#define VALVE_CONFIGURATION_AND_CONTROL_ENABLE_CLOSE_CMD 1
838+
839+
// WiFiNetworkDiagnostics Cluster Commands
840+
#define WI_FI_NETWORK_DIAGNOSTICS_ENABLE_RESET_COUNTS_CMD 1
841+
842+
// WindowCovering Cluster Commands
843+
#define WINDOW_COVERING_ENABLE_UP_OR_OPEN_CMD 1
844+
#define WINDOW_COVERING_ENABLE_DOWN_OR_CLOSE_CMD 1
845+
#define WINDOW_COVERING_ENABLE_STOP_MOTION_CMD 1
846+
#define WINDOW_COVERING_ENABLE_GO_TO_LIFT_VALUE_CMD 1
847+
#define WINDOW_COVERING_ENABLE_GO_TO_LIFT_PERCENTAGE_CMD 1
848+
#define WINDOW_COVERING_ENABLE_GO_TO_TILT_VALUE_CMD 1
849+
#define WINDOW_COVERING_ENABLE_GO_TO_TILT_PERCENTAGE_CMD 1

0 commit comments

Comments
 (0)