From 4ecf57615150e7b36cf81f88d443e77232ba42ad Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Thu, 3 Mar 2022 17:33:39 +0100 Subject: [PATCH] [chip-tool] Add support for multiple reads/subscribes into a single exchange (#15787) * [chip-tool] Add support for multiple reads/subscribes into a single exchange * Update generated content --- .../commands/clusters/ClusterCommand.h | 4 +- .../commands/clusters/ModelCommand.h | 4 +- .../commands/clusters/ReportCommand.h | 261 +- .../commands/clusters/WriteAttributeCommand.h | 4 +- .../chip-tool/commands/common/Command.cpp | 68 + examples/chip-tool/commands/common/Command.h | 7 +- examples/chip-tool/templates/commands.zapt | 10 +- .../zap-generated/cluster/Commands.h | 2664 ++++++++--------- 8 files changed, 1613 insertions(+), 1409 deletions(-) diff --git a/examples/chip-tool/commands/clusters/ClusterCommand.h b/examples/chip-tool/commands/clusters/ClusterCommand.h index c7a5520e4a5165..92197e115e9639 100644 --- a/examples/chip-tool/commands/clusters/ClusterCommand.h +++ b/examples/chip-tool/commands/clusters/ClusterCommand.h @@ -52,9 +52,9 @@ class ClusterCommand : public ModelCommand, public chip::app::CommandSender::Cal ~ClusterCommand() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return ClusterCommand::SendCommand(device, endpointId, mClusterId, mCommandId, mPayload); + return ClusterCommand::SendCommand(device, endpointIds.at(0), mClusterId, mCommandId, mPayload); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override diff --git a/examples/chip-tool/commands/clusters/ModelCommand.h b/examples/chip-tool/commands/clusters/ModelCommand.h index f1576fd2a039f5..9ce82a3592a51a 100644 --- a/examples/chip-tool/commands/clusters/ModelCommand.h +++ b/examples/chip-tool/commands/clusters/ModelCommand.h @@ -42,7 +42,7 @@ class ModelCommand : public CHIPCommand CHIP_ERROR RunCommand() override; chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(10); } - virtual CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endPointId) = 0; + virtual CHIP_ERROR SendCommand(ChipDevice * device, std::vector endPointIds) = 0; virtual CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) { @@ -51,7 +51,7 @@ class ModelCommand : public CHIPCommand private: chip::NodeId mNodeId; - chip::EndpointId mEndPointId; + std::vector mEndPointId; static void OnDeviceConnectedFn(void * context, ChipDevice * device); static void OnDeviceConnectionFailureFn(void * context, PeerId peerId, CHIP_ERROR error); diff --git a/examples/chip-tool/commands/clusters/ReportCommand.h b/examples/chip-tool/commands/clusters/ReportCommand.h index 9d39180a98331f..dcc7acdbb1b6cd 100644 --- a/examples/chip-tool/commands/clusters/ReportCommand.h +++ b/examples/chip-tool/commands/clusters/ReportCommand.h @@ -23,6 +23,8 @@ #include "DataModelLogger.h" #include "ModelCommand.h" +constexpr uint8_t kMaxAllowedPaths = 10; + class ReportCommand : public ModelCommand, public chip::app::ReadClient::Callback { public: @@ -106,32 +108,95 @@ class ReportCommand : public ModelCommand, public chip::app::ReadClient::Callbac void OnSubscriptionEstablished(uint64_t subscriptionId) override { OnAttributeSubscription(); } protected: - CHIP_ERROR ReportAttribute(ChipDevice * device, chip::EndpointId endpointId, chip::ClusterId clusterId, - chip::AttributeId attributeId, chip::app::ReadClient::InteractionType interactionType, - uint16_t minInterval = 0, uint16_t maxInterval = 0, + CHIP_ERROR ReportAttribute(ChipDevice * device, std::vector endpointIds, + std::vector clusterIds, std::vector attributeIds, + chip::app::ReadClient::InteractionType interactionType, uint16_t minInterval = 0, + uint16_t maxInterval = 0, const chip::Optional & aDataVersion = chip::NullOptional) { - chip::app::AttributePathParams attributePathParams[1]; - attributePathParams[0].mEndpointId = endpointId; - attributePathParams[0].mClusterId = clusterId; - attributePathParams[0].mAttributeId = attributeId; + const size_t clusterCount = clusterIds.size(); + const size_t attributeCount = attributeIds.size(); + const size_t endpointCount = endpointIds.size(); + + VerifyOrReturnError(clusterCount > 0 && clusterCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(attributeCount > 0 && attributeCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(endpointCount > 0 && endpointCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + + const bool hasSameIdsCount = (clusterCount == attributeCount) && (clusterCount == endpointCount); + const bool multipleClusters = clusterCount > 1 && attributeCount == 1 && endpointCount == 1; + const bool multipleAttributes = attributeCount > 1 && clusterCount == 1 && endpointCount == 1; + const bool multipleEndpoints = endpointCount > 1 && clusterCount == 1 && attributeCount == 1; + + size_t pathsCount = 0; + if (hasSameIdsCount) + { + pathsCount = clusterCount; + } + else if (multipleClusters) + { + pathsCount = clusterCount; + } + else if (multipleAttributes) + { + pathsCount = attributeCount; + } + else if (multipleEndpoints) + { + pathsCount = endpointCount; + } + else + { + ChipLogError( + chipTool, + "\n%sAttribute commands targetting multiple paths needs to have: \n \t * One element with multiple ids (for " + "example 1 cluster id, 1 attribute id, 2 endpoint ids)\n\t * Or the same " + "number of ids (for examples 2 cluster ids, 2 attribute ids and 2 endpoint ids).\n The current command has %zu " + "cluster ids, %zu attribute ids, %zu endpoint ids.", + interactionType == chip::app::ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read", clusterCount, + attributeCount, endpointCount); + return CHIP_ERROR_INVALID_ARGUMENT; + } + + chip::app::AttributePathParams attributePathParams[kMaxAllowedPaths]; + chip::app::DataVersionFilter dataVersionFilter[kMaxAllowedPaths]; + + ChipLogProgress(chipTool, "Sending %sAttribute to:", + interactionType == chip::app::ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read"); + for (size_t i = 0; i < pathsCount; i++) + { + chip::ClusterId clusterId = clusterIds.at((hasSameIdsCount || multipleClusters) ? i : 0); + chip::AttributeId attributeId = attributeIds.at((hasSameIdsCount || multipleAttributes) ? i : 0); + chip::EndpointId endpointId = endpointIds.at((hasSameIdsCount || multipleEndpoints) ? i : 0); + + ChipLogProgress(chipTool, "\tcluster " ChipLogFormatMEI ", attribute: " ChipLogFormatMEI ", endpoint %" PRIu16, + ChipLogValueMEI(clusterId), ChipLogValueMEI(attributeId), endpointId); + attributePathParams[i].mClusterId = clusterId; + attributePathParams[i].mAttributeId = attributeId; + attributePathParams[i].mEndpointId = endpointId; + + if (aDataVersion.HasValue()) + { + dataVersionFilter[i].mEndpointId = endpointId; + dataVersionFilter[i].mClusterId = clusterId; + dataVersionFilter[i].mDataVersion.SetValue(aDataVersion.Value()); + } + } chip::app::ReadPrepareParams params(device->GetSecureSession().Value()); params.mpEventPathParamsList = nullptr; params.mEventPathParamsListSize = 0; params.mpAttributePathParamsList = attributePathParams; - params.mAttributePathParamsListSize = 1; + params.mAttributePathParamsListSize = pathsCount; if (mFabricFiltered.HasValue()) { params.mIsFabricFiltered = mFabricFiltered.Value(); } - chip::Optional dataVersionFilter; if (aDataVersion.HasValue()) { - params.mpDataVersionFilterList = &dataVersionFilter.Emplace(endpointId, clusterId, aDataVersion.Value()); - params.mDataVersionFilterListSize = 1; + params.mpDataVersionFilterList = dataVersionFilter; + params.mDataVersionFilterListSize = pathsCount; } if (interactionType == chip::app::ReadClient::InteractionType::Subscribe) @@ -145,18 +210,73 @@ class ReportCommand : public ModelCommand, public chip::app::ReadClient::Callbac return mReadClient->SendRequest(params); } - CHIP_ERROR ReportEvent(ChipDevice * device, chip::EndpointId endpointId, chip::ClusterId clusterId, chip::EventId eventId, - chip::app::ReadClient::InteractionType interactionType, uint16_t minInterval = 0, - uint16_t maxInterval = 0) + CHIP_ERROR ReportEvent(ChipDevice * device, std::vector endpointIds, std::vector clusterIds, + std::vector eventIds, chip::app::ReadClient::InteractionType interactionType, + uint16_t minInterval = 0, uint16_t maxInterval = 0) { - chip::app::EventPathParams eventPathParams[1]; - eventPathParams[0].mEndpointId = endpointId; - eventPathParams[0].mClusterId = clusterId; - eventPathParams[0].mEventId = eventId; + const size_t clusterCount = clusterIds.size(); + const size_t eventCount = eventIds.size(); + const size_t endpointCount = endpointIds.size(); + + VerifyOrReturnError(clusterCount > 0 && clusterCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(eventCount > 0 && eventCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(endpointCount > 0 && endpointCount <= kMaxAllowedPaths, CHIP_ERROR_INVALID_ARGUMENT); + + const bool hasSameIdsCount = (clusterCount == eventCount) && (clusterCount == endpointCount); + const bool multipleClusters = clusterCount > 1 && eventCount == 1 && endpointCount == 1; + const bool multipleEvents = eventCount > 1 && clusterCount == 1 && endpointCount == 1; + const bool multipleEndpoints = endpointCount > 1 && clusterCount == 1 && eventCount == 1; + + size_t pathsCount = 0; + if (hasSameIdsCount) + { + pathsCount = clusterCount; + } + else if (multipleClusters) + { + pathsCount = clusterCount; + } + else if (multipleEvents) + { + pathsCount = eventCount; + } + else if (multipleEndpoints) + { + pathsCount = endpointCount; + } + else + { + ChipLogError( + chipTool, + "\n%sEvent command targetting multiple paths needs to have: \n \t * One element with multiple ids (for " + "example 1 cluster id, 1 event id, 2 endpoint ids)\n\t * Or the same " + "number of ids (for examples 2 cluster ids, 2 event ids and 2 endpoint ids).\n The current command has %zu " + "cluster ids, %zu event ids, %zu endpoint ids.", + interactionType == chip::app::ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read", clusterCount, + eventCount, endpointCount); + return CHIP_ERROR_INVALID_ARGUMENT; + } + + chip::app::EventPathParams eventPathParams[kMaxAllowedPaths]; + + ChipLogProgress(chipTool, "Sending %sEvent to:", + interactionType == chip::app::ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read"); + for (size_t i = 0; i < pathsCount; i++) + { + chip::ClusterId clusterId = clusterIds.at((hasSameIdsCount || multipleClusters) ? i : 0); + chip::EventId eventId = eventIds.at((hasSameIdsCount || multipleEvents) ? i : 0); + chip::EndpointId endpointId = endpointIds.at((hasSameIdsCount || multipleEndpoints) ? i : 0); + + ChipLogProgress(chipTool, "\tcluster " ChipLogFormatMEI ", event: " ChipLogFormatMEI ", endpoint %" PRIu16, + ChipLogValueMEI(clusterId), ChipLogValueMEI(eventId), endpointId); + eventPathParams[i].mClusterId = clusterId; + eventPathParams[i].mEventId = eventId; + eventPathParams[i].mEndpointId = endpointId; + } chip::app::ReadPrepareParams params(device->GetSecureSession().Value()); params.mpEventPathParamsList = eventPathParams; - params.mEventPathParamsListSize = 1; + params.mEventPathParamsListSize = pathsCount; params.mpAttributePathParamsList = nullptr; params.mAttributePathParamsListSize = 0; @@ -186,17 +306,17 @@ class ReadAttribute : public ReportCommand public: ReadAttribute(CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("read-by-id", credsIssuerConfig) { - AddArgument("cluster-id", 0, UINT32_MAX, &mClusterId); - AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeId); + AddArgument("cluster-id", 0, UINT32_MAX, &mClusterIds); + AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeIds); AddArgument("data-version", 0, UINT32_MAX, &mDataVersion); AddArgument("fabric-filtered", 0, 1, &mFabricFiltered); ReportCommand::AddArguments(); } ReadAttribute(chip::ClusterId clusterId, CredentialIssuerCommands * credsIssuerConfig) : - ReportCommand("read-by-id", credsIssuerConfig), mClusterId(clusterId) + ReportCommand("read-by-id", credsIssuerConfig), mClusterIds(1, clusterId) { - AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeId); + AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeIds); AddArgument("data-version", 0, UINT32_MAX, &mDataVersion); AddArgument("fabric-filtered", 0, 1, &mFabricFiltered); ReportCommand::AddArguments(); @@ -205,7 +325,7 @@ class ReadAttribute : public ReportCommand ReadAttribute(chip::ClusterId clusterId, const char * attributeName, chip::AttributeId attributeId, CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("read", credsIssuerConfig), - mClusterId(clusterId), mAttributeId(attributeId) + mClusterIds(1, clusterId), mAttributeIds(1, attributeId) { AddArgument("attr-name", attributeName); AddArgument("data-version", 0, UINT32_MAX, &mDataVersion); @@ -215,17 +335,15 @@ class ReadAttribute : public ReportCommand ~ReadAttribute() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending ReadAttribute to cluster " ChipLogFormatMEI " on endpoint %" PRIu16, - ChipLogValueMEI(mClusterId), endpointId); - return ReportCommand::ReportAttribute(device, endpointId, mClusterId, mAttributeId, + return ReportCommand::ReportAttribute(device, endpointIds, mClusterIds, mAttributeIds, chip::app::ReadClient::InteractionType::Read, 0, 0, mDataVersion); } private: - chip::ClusterId mClusterId; - chip::AttributeId mAttributeId; + std::vector mClusterIds; + std::vector mAttributeIds; chip::Optional mDataVersion; }; @@ -234,8 +352,8 @@ class SubscribeAttribute : public ReportCommand public: SubscribeAttribute(CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("subscribe-by-id", credsIssuerConfig) { - AddArgument("cluster-id", 0, UINT32_MAX, &mClusterId); - AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeId); + AddArgument("cluster-id", 0, UINT32_MAX, &mClusterIds); + AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeIds); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval); AddArgument("data-version", 0, UINT32_MAX, &mDataVersion); @@ -245,9 +363,9 @@ class SubscribeAttribute : public ReportCommand } SubscribeAttribute(chip::ClusterId clusterId, CredentialIssuerCommands * credsIssuerConfig) : - ReportCommand("subscribe-by-id", credsIssuerConfig), mClusterId(clusterId) + ReportCommand("subscribe-by-id", credsIssuerConfig), mClusterIds(1, clusterId) { - AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeId); + AddArgument("attribute-id", 0, UINT32_MAX, &mAttributeIds); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval); AddArgument("data-version", 0, UINT32_MAX, &mDataVersion); @@ -259,7 +377,7 @@ class SubscribeAttribute : public ReportCommand SubscribeAttribute(chip::ClusterId clusterId, const char * attributeName, chip::AttributeId attributeId, CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("subscribe", credsIssuerConfig), - mClusterId(clusterId), mAttributeId(attributeId) + mClusterIds(1, clusterId), mAttributeIds(1, attributeId) { AddArgument("attr-name", attributeName); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); @@ -272,11 +390,9 @@ class SubscribeAttribute : public ReportCommand ~SubscribeAttribute() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending SubscribeAttribute to cluster " ChipLogFormatMEI " on endpoint %" PRIu16, - ChipLogValueMEI(mClusterId), endpointId); - return ReportCommand::ReportAttribute(device, endpointId, mClusterId, mAttributeId, + return ReportCommand::ReportAttribute(device, endpointIds, mClusterIds, mAttributeIds, chip::app::ReadClient::InteractionType::Subscribe, mMinInterval, mMaxInterval, mDataVersion); } @@ -290,13 +406,22 @@ class SubscribeAttribute : public ReportCommand { if (!mWait) { - SetCommandExitStatus(CHIP_NO_ERROR); + // The ReadClient instance can not be released directly into the OnAttributeSubscription + // callback since it happens to be called by ReadClient itself which is doing additional + // work after that. + chip::DeviceLayer::PlatformMgr().ScheduleWork( + [](intptr_t arg) { + auto * command = reinterpret_cast(arg); + command->mReadClient.reset(); + command->SetCommandExitStatus(CHIP_NO_ERROR); + }, + reinterpret_cast(this)); } } private: - chip::ClusterId mClusterId; - chip::AttributeId mAttributeId; + std::vector mClusterIds; + std::vector mAttributeIds; uint16_t mMinInterval; uint16_t mMaxInterval; @@ -309,22 +434,22 @@ class ReadEvent : public ReportCommand public: ReadEvent(CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("read-event-by-id", credsIssuerConfig) { - AddArgument("cluster-id", 0, UINT32_MAX, &mClusterId); - AddArgument("event-id", 0, UINT32_MAX, &mEventId); + AddArgument("cluster-id", 0, UINT32_MAX, &mClusterIds); + AddArgument("event-id", 0, UINT32_MAX, &mEventIds); ReportCommand::AddArguments(); } ReadEvent(chip::ClusterId clusterId, CredentialIssuerCommands * credsIssuerConfig) : - ReportCommand("read-event-by-id", credsIssuerConfig), mClusterId(clusterId) + ReportCommand("read-event-by-id", credsIssuerConfig), mClusterIds(1, clusterId) { - AddArgument("event-id", 0, UINT32_MAX, &mEventId); + AddArgument("event-id", 0, UINT32_MAX, &mEventIds); ReportCommand::AddArguments(); } ReadEvent(chip::ClusterId clusterId, const char * eventName, chip::EventId eventId, CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("read-event", credsIssuerConfig), - mClusterId(clusterId), mEventId(eventId) + mClusterIds(1, clusterId), mEventIds(1, eventId) { AddArgument("event-name", eventName); ReportCommand::AddArguments(); @@ -332,16 +457,15 @@ class ReadEvent : public ReportCommand ~ReadEvent() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending ReadEvent to cluster " ChipLogFormatMEI " on endpoint %" PRIu16, - ChipLogValueMEI(mClusterId), endpointId); - return ReportCommand::ReportEvent(device, endpointId, mClusterId, mEventId, chip::app::ReadClient::InteractionType::Read); + return ReportCommand::ReportEvent(device, endpointIds, mClusterIds, mEventIds, + chip::app::ReadClient::InteractionType::Read); } private: - chip::ClusterId mClusterId; - chip::EventId mEventId; + std::vector mClusterIds; + std::vector mEventIds; }; class SubscribeEvent : public ReportCommand @@ -349,8 +473,8 @@ class SubscribeEvent : public ReportCommand public: SubscribeEvent(CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("subscribe-event-by-id", credsIssuerConfig) { - AddArgument("cluster-id", 0, UINT32_MAX, &mClusterId); - AddArgument("event-id", 0, UINT32_MAX, &mEventId); + AddArgument("cluster-id", 0, UINT32_MAX, &mClusterIds); + AddArgument("event-id", 0, UINT32_MAX, &mEventIds); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval); AddArgument("wait", 0, 1, &mWait); @@ -358,9 +482,9 @@ class SubscribeEvent : public ReportCommand } SubscribeEvent(chip::ClusterId clusterId, CredentialIssuerCommands * credsIssuerConfig) : - ReportCommand("subscribe-event-by-id", credsIssuerConfig), mClusterId(clusterId) + ReportCommand("subscribe-event-by-id", credsIssuerConfig), mClusterIds(1, clusterId) { - AddArgument("event-id", 0, UINT32_MAX, &mEventId); + AddArgument("event-id", 0, UINT32_MAX, &mEventIds); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval); AddArgument("wait", 0, 1, &mWait); @@ -370,7 +494,7 @@ class SubscribeEvent : public ReportCommand SubscribeEvent(chip::ClusterId clusterId, const char * eventName, chip::EventId eventId, CredentialIssuerCommands * credsIssuerConfig) : ReportCommand("subscribe-event", credsIssuerConfig), - mClusterId(clusterId), mEventId(eventId) + mClusterIds(1, clusterId), mEventIds(1, eventId) { AddArgument("attr-name", eventName); AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); @@ -381,11 +505,9 @@ class SubscribeEvent : public ReportCommand ~SubscribeEvent() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending SubscribeEvent to cluster " ChipLogFormatMEI " on endpoint %" PRIu16, - ChipLogValueMEI(mClusterId), endpointId); - return ReportCommand::ReportEvent(device, endpointId, mClusterId, mEventId, + return ReportCommand::ReportEvent(device, endpointIds, mClusterIds, mEventIds, chip::app::ReadClient::InteractionType::Subscribe, mMinInterval, mMaxInterval); } @@ -398,13 +520,22 @@ class SubscribeEvent : public ReportCommand { if (!mWait) { - SetCommandExitStatus(CHIP_NO_ERROR); + // The ReadClient instance can not be released directly into the OnEventSubscription + // callback since it happens to be called by ReadClient itself which is doing additional + // work after that. + chip::DeviceLayer::PlatformMgr().ScheduleWork( + [](intptr_t arg) { + auto * command = reinterpret_cast(arg); + command->mReadClient.reset(); + command->SetCommandExitStatus(CHIP_NO_ERROR); + }, + reinterpret_cast(this)); } } private: - chip::ClusterId mClusterId; - chip::EventId mEventId; + std::vector mClusterIds; + std::vector mEventIds; uint16_t mMinInterval; uint16_t mMaxInterval; diff --git a/examples/chip-tool/commands/clusters/WriteAttributeCommand.h b/examples/chip-tool/commands/clusters/WriteAttributeCommand.h index 47a8caa9710d5b..39016e2e125a22 100644 --- a/examples/chip-tool/commands/clusters/WriteAttributeCommand.h +++ b/examples/chip-tool/commands/clusters/WriteAttributeCommand.h @@ -55,9 +55,9 @@ class WriteAttribute : public ModelCommand, public chip::app::WriteClient::Callb ~WriteAttribute() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, mClusterId, mAttributeId, mAttributeValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), mClusterId, mAttributeId, mAttributeValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override diff --git a/examples/chip-tool/commands/common/Command.cpp b/examples/chip-tool/commands/common/Command.cpp index a9ca1b14d59e25..e11efe21a920c0 100644 --- a/examples/chip-tool/commands/common/Command.cpp +++ b/examples/chip-tool/commands/common/Command.cpp @@ -193,6 +193,48 @@ bool Command::InitArgument(size_t argIndex, char * argValue) return CHIP_NO_ERROR == customArgument->Parse(arg.name, argValue); } + case ArgumentType::Vector16: + case ArgumentType::Vector32: { + std::vector values; + uint64_t min = chip::CanCastTo(arg.min) ? static_cast(arg.min) : 0; + uint64_t max = arg.max; + + std::stringstream ss(argValue); + while (ss.good()) + { + std::string valueAsString; + getline(ss, valueAsString, ','); + isHexNotation = strncmp(valueAsString.c_str(), "0x", 2) == 0 || strncmp(valueAsString.c_str(), "0X", 2) == 0; + + std::stringstream subss; + isHexNotation ? subss << std::hex << valueAsString : subss << valueAsString; + + uint64_t value; + subss >> value; + VerifyOrReturnError(!subss.fail() && subss.eof() && value >= min && value <= max, false); + values.push_back(value); + } + + if (arg.type == ArgumentType::Vector16) + { + auto vectorArgument = static_cast *>(arg.value); + for (uint64_t v : values) + { + vectorArgument->push_back(static_cast(v)); + } + } + else + { + auto vectorArgument = static_cast *>(arg.value); + for (uint64_t v : values) + { + vectorArgument->push_back(static_cast(v)); + } + } + + return true; + } + case ArgumentType::Attribute: { if (arg.isOptional() || arg.isNullable()) { @@ -489,6 +531,32 @@ size_t Command::AddArgument(const char * name, AddressWithInterface * out, uint8 return AddArgumentToList(std::move(arg)); } +size_t Command::AddArgument(const char * name, int64_t min, uint64_t max, std::vector * value) +{ + Argument arg; + arg.type = ArgumentType::Vector16; + arg.name = name; + arg.value = static_cast(value); + arg.min = min; + arg.max = max; + arg.flags = 0; + + return AddArgumentToList(std::move(arg)); +} + +size_t Command::AddArgument(const char * name, int64_t min, uint64_t max, std::vector * value) +{ + Argument arg; + arg.type = ArgumentType::Vector32; + arg.name = name; + arg.value = static_cast(value); + arg.min = min; + arg.max = max; + arg.flags = 0; + + return AddArgumentToList(std::move(arg)); +} + size_t Command::AddArgument(const char * name, ComplexArgument * value) { Argument arg; diff --git a/examples/chip-tool/commands/common/Command.h b/examples/chip-tool/commands/common/Command.h index 9a01e08c797d04..19ae591ed0590e 100644 --- a/examples/chip-tool/commands/common/Command.h +++ b/examples/chip-tool/commands/common/Command.h @@ -69,7 +69,9 @@ enum ArgumentType Attribute, Address, Complex, - Custom + Custom, + Vector16, + Vector32, }; struct Argument @@ -170,6 +172,9 @@ class Command size_t AddArgument(const char * name, float min, float max, float * out, uint8_t flags = 0); size_t AddArgument(const char * name, double min, double max, double * out, uint8_t flags = 0); + size_t AddArgument(const char * name, int64_t min, uint64_t max, std::vector * value); + size_t AddArgument(const char * name, int64_t min, uint64_t max, std::vector * value); + template ::value>> size_t AddArgument(const char * name, int64_t min, uint64_t max, T * out, uint8_t flags = 0) { diff --git a/examples/chip-tool/templates/commands.zapt b/examples/chip-tool/templates/commands.zapt index 900274de62dd1e..e5999dc7538b75 100644 --- a/examples/chip-tool/templates/commands.zapt +++ b/examples/chip-tool/templates/commands.zapt @@ -38,11 +38,11 @@ public: ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, {{asHex parent.code 8}}, {{asHex code 8}}, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), {{asHex parent.code 8}}, {{asHex code 8}}, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -83,9 +83,9 @@ public: ~Write{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, {{asHex parent.code 8}}, {{asHex code 8}}, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), {{asHex parent.code 8}}, {{asHex code 8}}, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override diff --git a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h index 1764568e61a79d..ff2456de9c48c8 100644 --- a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h @@ -236,9 +236,9 @@ class WritePowerConfigurationMainsAlarmMask : public WriteAttribute ~WritePowerConfigurationMainsAlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -263,9 +263,9 @@ class WritePowerConfigurationMainsVoltageMinThreshold : public WriteAttribute ~WritePowerConfigurationMainsVoltageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -290,9 +290,9 @@ class WritePowerConfigurationMainsVoltageMaxThreshold : public WriteAttribute ~WritePowerConfigurationMainsVoltageMaxThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -317,9 +317,9 @@ class WritePowerConfigurationMainsVoltageDwellTrip : public WriteAttribute ~WritePowerConfigurationMainsVoltageDwellTrip() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -344,9 +344,9 @@ class WritePowerConfigurationBatteryManufacturer : public WriteAttribute ~WritePowerConfigurationBatteryManufacturer() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -371,9 +371,9 @@ class WritePowerConfigurationBatterySize : public WriteAttribute ~WritePowerConfigurationBatterySize() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -398,9 +398,9 @@ class WritePowerConfigurationBatteryAhrRating : public WriteAttribute ~WritePowerConfigurationBatteryAhrRating() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -425,9 +425,9 @@ class WritePowerConfigurationBatteryQuantity : public WriteAttribute ~WritePowerConfigurationBatteryQuantity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000033, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000033, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -452,9 +452,9 @@ class WritePowerConfigurationBatteryRatedVoltage : public WriteAttribute ~WritePowerConfigurationBatteryRatedVoltage() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000034, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000034, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -479,9 +479,9 @@ class WritePowerConfigurationBatteryAlarmMask : public WriteAttribute ~WritePowerConfigurationBatteryAlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000035, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000035, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -506,9 +506,9 @@ class WritePowerConfigurationBatteryVoltageMinThreshold : public WriteAttribute ~WritePowerConfigurationBatteryVoltageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000036, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000036, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -533,9 +533,9 @@ class WritePowerConfigurationBatteryVoltageThreshold1 : public WriteAttribute ~WritePowerConfigurationBatteryVoltageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000037, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000037, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -560,9 +560,9 @@ class WritePowerConfigurationBatteryVoltageThreshold2 : public WriteAttribute ~WritePowerConfigurationBatteryVoltageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000038, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000038, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -587,9 +587,9 @@ class WritePowerConfigurationBatteryVoltageThreshold3 : public WriteAttribute ~WritePowerConfigurationBatteryVoltageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000039, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000039, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -614,9 +614,9 @@ class WritePowerConfigurationBatteryPercentageMinThreshold : public WriteAttribu ~WritePowerConfigurationBatteryPercentageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000003A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000003A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -641,9 +641,9 @@ class WritePowerConfigurationBatteryPercentageThreshold1 : public WriteAttribute ~WritePowerConfigurationBatteryPercentageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000003B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000003B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -668,9 +668,9 @@ class WritePowerConfigurationBatteryPercentageThreshold2 : public WriteAttribute ~WritePowerConfigurationBatteryPercentageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000003C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000003C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -695,9 +695,9 @@ class WritePowerConfigurationBatteryPercentageThreshold3 : public WriteAttribute ~WritePowerConfigurationBatteryPercentageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000003D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000003D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -722,9 +722,9 @@ class WritePowerConfigurationBattery2Manufacturer : public WriteAttribute ~WritePowerConfigurationBattery2Manufacturer() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000050, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000050, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -749,9 +749,9 @@ class WritePowerConfigurationBattery2Size : public WriteAttribute ~WritePowerConfigurationBattery2Size() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000051, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000051, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -776,9 +776,9 @@ class WritePowerConfigurationBattery2AhrRating : public WriteAttribute ~WritePowerConfigurationBattery2AhrRating() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000052, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000052, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -803,9 +803,9 @@ class WritePowerConfigurationBattery2Quantity : public WriteAttribute ~WritePowerConfigurationBattery2Quantity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000053, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000053, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -830,9 +830,9 @@ class WritePowerConfigurationBattery2RatedVoltage : public WriteAttribute ~WritePowerConfigurationBattery2RatedVoltage() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000054, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000054, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -857,9 +857,9 @@ class WritePowerConfigurationBattery2AlarmMask : public WriteAttribute ~WritePowerConfigurationBattery2AlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000055, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000055, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -884,9 +884,9 @@ class WritePowerConfigurationBattery2VoltageMinThreshold : public WriteAttribute ~WritePowerConfigurationBattery2VoltageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000056, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000056, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -911,9 +911,9 @@ class WritePowerConfigurationBattery2VoltageThreshold1 : public WriteAttribute ~WritePowerConfigurationBattery2VoltageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000057, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000057, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -938,9 +938,9 @@ class WritePowerConfigurationBattery2VoltageThreshold2 : public WriteAttribute ~WritePowerConfigurationBattery2VoltageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000058, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000058, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -965,9 +965,9 @@ class WritePowerConfigurationBattery2VoltageThreshold3 : public WriteAttribute ~WritePowerConfigurationBattery2VoltageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000059, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000059, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -992,9 +992,9 @@ class WritePowerConfigurationBattery2PercentageMinThreshold : public WriteAttrib ~WritePowerConfigurationBattery2PercentageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000005A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000005A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1019,9 +1019,9 @@ class WritePowerConfigurationBattery2PercentageThreshold1 : public WriteAttribut ~WritePowerConfigurationBattery2PercentageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000005B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000005B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1046,9 +1046,9 @@ class WritePowerConfigurationBattery2PercentageThreshold2 : public WriteAttribut ~WritePowerConfigurationBattery2PercentageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000005C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000005C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1073,9 +1073,9 @@ class WritePowerConfigurationBattery2PercentageThreshold3 : public WriteAttribut ~WritePowerConfigurationBattery2PercentageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000005D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000005D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1100,9 +1100,9 @@ class WritePowerConfigurationBattery3Manufacturer : public WriteAttribute ~WritePowerConfigurationBattery3Manufacturer() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000070, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000070, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1127,9 +1127,9 @@ class WritePowerConfigurationBattery3Size : public WriteAttribute ~WritePowerConfigurationBattery3Size() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000071, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000071, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1154,9 +1154,9 @@ class WritePowerConfigurationBattery3AhrRating : public WriteAttribute ~WritePowerConfigurationBattery3AhrRating() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000072, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000072, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1181,9 +1181,9 @@ class WritePowerConfigurationBattery3Quantity : public WriteAttribute ~WritePowerConfigurationBattery3Quantity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000073, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000073, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1208,9 +1208,9 @@ class WritePowerConfigurationBattery3RatedVoltage : public WriteAttribute ~WritePowerConfigurationBattery3RatedVoltage() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000074, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000074, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1235,9 +1235,9 @@ class WritePowerConfigurationBattery3AlarmMask : public WriteAttribute ~WritePowerConfigurationBattery3AlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000075, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000075, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1262,9 +1262,9 @@ class WritePowerConfigurationBattery3VoltageMinThreshold : public WriteAttribute ~WritePowerConfigurationBattery3VoltageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000076, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000076, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1289,9 +1289,9 @@ class WritePowerConfigurationBattery3VoltageThreshold1 : public WriteAttribute ~WritePowerConfigurationBattery3VoltageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000077, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000077, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1316,9 +1316,9 @@ class WritePowerConfigurationBattery3VoltageThreshold2 : public WriteAttribute ~WritePowerConfigurationBattery3VoltageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000078, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000078, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1343,9 +1343,9 @@ class WritePowerConfigurationBattery3VoltageThreshold3 : public WriteAttribute ~WritePowerConfigurationBattery3VoltageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x00000079, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x00000079, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1370,9 +1370,9 @@ class WritePowerConfigurationBattery3PercentageMinThreshold : public WriteAttrib ~WritePowerConfigurationBattery3PercentageMinThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000007A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000007A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1397,9 +1397,9 @@ class WritePowerConfigurationBattery3PercentageThreshold1 : public WriteAttribut ~WritePowerConfigurationBattery3PercentageThreshold1() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000007B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000007B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1424,9 +1424,9 @@ class WritePowerConfigurationBattery3PercentageThreshold2 : public WriteAttribut ~WritePowerConfigurationBattery3PercentageThreshold2() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000007C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000007C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1451,9 +1451,9 @@ class WritePowerConfigurationBattery3PercentageThreshold3 : public WriteAttribut ~WritePowerConfigurationBattery3PercentageThreshold3() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000001, 0x0000007D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000001, 0x0000007D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1502,9 +1502,9 @@ class WriteDeviceTemperatureConfigurationDeviceTempAlarmMask : public WriteAttri ~WriteDeviceTemperatureConfigurationDeviceTempAlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000002, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000002, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1529,9 +1529,9 @@ class WriteDeviceTemperatureConfigurationLowTempThreshold : public WriteAttribut ~WriteDeviceTemperatureConfigurationLowTempThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000002, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000002, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1556,9 +1556,9 @@ class WriteDeviceTemperatureConfigurationHighTempThreshold : public WriteAttribu ~WriteDeviceTemperatureConfigurationHighTempThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000002, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000002, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1583,9 +1583,9 @@ class WriteDeviceTemperatureConfigurationLowTempDwellTripPoint : public WriteAtt ~WriteDeviceTemperatureConfigurationLowTempDwellTripPoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000002, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000002, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1610,9 +1610,9 @@ class WriteDeviceTemperatureConfigurationHighTempDwellTripPoint : public WriteAt ~WriteDeviceTemperatureConfigurationHighTempDwellTripPoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000002, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000002, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1656,11 +1656,11 @@ class IdentifyIdentify : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000003, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000003, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1685,11 +1685,11 @@ class IdentifyIdentifyQuery : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000003, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000003, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1716,11 +1716,11 @@ class IdentifyTriggerEffect : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000040) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000003) command (0x00000040) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000003, 0x00000040, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000003, 0x00000040, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1746,9 +1746,9 @@ class WriteIdentifyIdentifyTime : public WriteAttribute ~WriteIdentifyIdentifyTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000003, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000003, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1795,11 +1795,11 @@ class GroupsAddGroup : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1825,11 +1825,11 @@ class GroupsViewGroup : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1856,11 +1856,11 @@ class GroupsGetGroupMembership : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1887,11 +1887,11 @@ class GroupsRemoveGroup : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1916,11 +1916,11 @@ class GroupsRemoveAllGroups : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -1948,11 +1948,11 @@ class GroupsAddGroupIfIdentifying : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000004) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000004, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000004, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2014,11 +2014,11 @@ class ScenesAddScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2047,11 +2047,11 @@ class ScenesViewScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2078,11 +2078,11 @@ class ScenesRemoveScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2108,11 +2108,11 @@ class ScenesRemoveAllScenes : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2139,11 +2139,11 @@ class ScenesStoreScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2171,11 +2171,11 @@ class ScenesRecallScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2202,11 +2202,11 @@ class ScenesGetSceneMembership : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2237,11 +2237,11 @@ class ScenesEnhancedAddScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000040) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000040) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000040, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000040, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2270,11 +2270,11 @@ class ScenesEnhancedViewScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000041) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000041) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000041, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000041, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2304,11 +2304,11 @@ class ScenesCopyScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000042) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000005) command (0x00000042) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000005, 0x00000042, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000005, 0x00000042, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2359,11 +2359,11 @@ class OnOffOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2388,11 +2388,11 @@ class OnOffOn : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2417,11 +2417,11 @@ class OnOffToggle : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2448,11 +2448,11 @@ class OnOffOffWithEffect : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000040) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000040) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000040, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000040, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2478,11 +2478,11 @@ class OnOffOnWithRecallGlobalScene : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000041) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000041) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000041, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000041, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2510,11 +2510,11 @@ class OnOffOnWithTimedOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000042) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000042) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000006, 0x00000042, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00000042, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2540,9 +2540,9 @@ class WriteOnOffOnTime : public WriteAttribute ~WriteOnOffOnTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000006, 0x00004001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00004001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2566,9 +2566,9 @@ class WriteOnOffOffWaitTime : public WriteAttribute ~WriteOnOffOffWaitTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000006, 0x00004002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00004002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2592,9 +2592,9 @@ class WriteOnOffStartUpOnOff : public WriteAttribute ~WriteOnOffStartUpOnOff() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000006, 0x00004003, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000006, 0x00004003, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2636,9 +2636,9 @@ class WriteOnOffSwitchConfigurationSwitchActions : public WriteAttribute ~WriteOnOffSwitchConfigurationSwitchActions() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000007, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000007, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2702,11 +2702,11 @@ class LevelControlMoveToLevel : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2735,11 +2735,11 @@ class LevelControlMove : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2769,11 +2769,11 @@ class LevelControlStep : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2800,11 +2800,11 @@ class LevelControlStop : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2832,11 +2832,11 @@ class LevelControlMoveToLevelWithOnOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2863,11 +2863,11 @@ class LevelControlMoveWithOnOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2895,11 +2895,11 @@ class LevelControlStepWithOnOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2924,11 +2924,11 @@ class LevelControlStopWithOnOff : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000008) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000008, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2954,9 +2954,9 @@ class WriteLevelControlOptions : public WriteAttribute ~WriteLevelControlOptions() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x0000000F, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x0000000F, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -2981,9 +2981,9 @@ class WriteLevelControlOnOffTransitionTime : public WriteAttribute ~WriteLevelControlOnOffTransitionTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3007,9 +3007,9 @@ class WriteLevelControlOnLevel : public WriteAttribute ~WriteLevelControlOnLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3034,9 +3034,9 @@ class WriteLevelControlOnTransitionTime : public WriteAttribute ~WriteLevelControlOnTransitionTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3061,9 +3061,9 @@ class WriteLevelControlOffTransitionTime : public WriteAttribute ~WriteLevelControlOffTransitionTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3088,9 +3088,9 @@ class WriteLevelControlDefaultMoveRate : public WriteAttribute ~WriteLevelControlDefaultMoveRate() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3115,9 +3115,9 @@ class WriteLevelControlStartUpCurrentLevel : public WriteAttribute ~WriteLevelControlStartUpCurrentLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000008, 0x00004000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000008, 0x00004000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3162,11 +3162,11 @@ class AlarmsResetAlarm : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000009, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000009, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3191,11 +3191,11 @@ class AlarmsResetAllAlarms : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000009, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000009, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3220,11 +3220,11 @@ class AlarmsGetAlarm : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000009, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000009, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3249,11 +3249,11 @@ class AlarmsResetAlarmLog : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000009) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000009, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000009, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3304,9 +3304,9 @@ class WriteTimeTime : public WriteAttribute ~WriteTimeTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3330,9 +3330,9 @@ class WriteTimeTimeStatus : public WriteAttribute ~WriteTimeTimeStatus() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3356,9 +3356,9 @@ class WriteTimeTimeZone : public WriteAttribute ~WriteTimeTimeZone() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3382,9 +3382,9 @@ class WriteTimeDstStart : public WriteAttribute ~WriteTimeDstStart() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000003, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000003, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3408,9 +3408,9 @@ class WriteTimeDstEnd : public WriteAttribute ~WriteTimeDstEnd() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3434,9 +3434,9 @@ class WriteTimeDstShift : public WriteAttribute ~WriteTimeDstShift() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3460,9 +3460,9 @@ class WriteTimeValidUntilTime : public WriteAttribute ~WriteTimeValidUntilTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000A, 0x00000009, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000A, 0x00000009, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3510,9 +3510,9 @@ class WriteBinaryInputBasicActiveText : public WriteAttribute ~WriteBinaryInputBasicActiveText() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3537,9 +3537,9 @@ class WriteBinaryInputBasicDescription : public WriteAttribute ~WriteBinaryInputBasicDescription() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x0000001C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x0000001C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3564,9 +3564,9 @@ class WriteBinaryInputBasicInactiveText : public WriteAttribute ~WriteBinaryInputBasicInactiveText() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x0000002E, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x0000002E, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3591,9 +3591,9 @@ class WriteBinaryInputBasicOutOfService : public WriteAttribute ~WriteBinaryInputBasicOutOfService() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x00000051, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x00000051, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3618,9 +3618,9 @@ class WriteBinaryInputBasicPresentValue : public WriteAttribute ~WriteBinaryInputBasicPresentValue() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x00000055, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x00000055, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3645,9 +3645,9 @@ class WriteBinaryInputBasicReliability : public WriteAttribute ~WriteBinaryInputBasicReliability() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000000F, 0x00000067, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000000F, 0x00000067, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3701,11 +3701,11 @@ class PowerProfilePowerProfileRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3731,11 +3731,11 @@ class PowerProfilePowerProfileStateRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3765,11 +3765,11 @@ class PowerProfileGetPowerProfilePriceResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3798,11 +3798,11 @@ class PowerProfileGetOverallSchedulePriceResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3832,11 +3832,11 @@ class PowerProfileEnergyPhasesScheduleNotification : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3867,11 +3867,11 @@ class PowerProfileEnergyPhasesScheduleResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3900,11 +3900,11 @@ class PowerProfilePowerProfileScheduleConstraintsRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3931,11 +3931,11 @@ class PowerProfileEnergyPhasesScheduleStateRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3965,11 +3965,11 @@ class PowerProfileGetPowerProfilePriceExtendedResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001A) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001A, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -3995,9 +3995,9 @@ class WritePowerProfileScheduleMode : public WriteAttribute ~WritePowerProfileScheduleMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000001A, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000001A, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4046,11 +4046,11 @@ class ApplianceControlExecutionOfACommand : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4075,11 +4075,11 @@ class ApplianceControlSignalState : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4108,11 +4108,11 @@ class ApplianceControlWriteFunctions : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4139,11 +4139,11 @@ class ApplianceControlOverloadPauseResume : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4169,11 +4169,11 @@ class ApplianceControlOverloadPause : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4200,11 +4200,11 @@ class ApplianceControlOverloadWarning : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000001B) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000001B, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000001B, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4281,9 +4281,9 @@ class WriteBindingBinding : public WriteAttribute ~WriteBindingBinding() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000001E, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000001E, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4328,9 +4328,9 @@ class WriteAccessControlAcl : public WriteAttribute ~WriteAccessControlAcl() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000001F, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000001F, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4357,9 +4357,9 @@ class WriteAccessControlExtension : public WriteAttribute ~WriteAccessControlExtension() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000001F, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000001F, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4413,11 +4413,11 @@ class PollControlCheckInResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000020, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4442,11 +4442,11 @@ class PollControlFastPollStop : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000020, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4473,11 +4473,11 @@ class PollControlSetLongPollInterval : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000020, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4504,11 +4504,11 @@ class PollControlSetShortPollInterval : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000020) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000020, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4535,9 +4535,9 @@ class WritePollControlCheckInInterval : public WriteAttribute ~WritePollControlCheckInInterval() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000020, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4562,9 +4562,9 @@ class WritePollControlFastPollTimeout : public WriteAttribute ~WritePollControlFastPollTimeout() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000020, 0x00000003, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000020, 0x00000003, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4621,11 +4621,11 @@ class BridgedActionsInstantAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4654,11 +4654,11 @@ class BridgedActionsInstantActionWithTransition : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4685,11 +4685,11 @@ class BridgedActionsStartAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4718,11 +4718,11 @@ class BridgedActionsStartActionWithDuration : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4749,11 +4749,11 @@ class BridgedActionsStopAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4780,11 +4780,11 @@ class BridgedActionsPauseAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4813,11 +4813,11 @@ class BridgedActionsPauseActionWithDuration : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4844,11 +4844,11 @@ class BridgedActionsResumeAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4875,11 +4875,11 @@ class BridgedActionsEnableAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4908,11 +4908,11 @@ class BridgedActionsEnableActionWithDuration : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4939,11 +4939,11 @@ class BridgedActionsDisableAction : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x0000000A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x0000000A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x0000000A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x0000000A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -4972,11 +4972,11 @@ class BridgedActionsDisableActionWithDuration : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x0000000B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000025) command (0x0000000B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000025, 0x0000000B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000025, 0x0000000B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5040,11 +5040,11 @@ class BasicMfgSpecificPing : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000028) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000028) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000028, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000028, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5070,9 +5070,9 @@ class WriteBasicNodeLabel : public WriteAttribute ~WriteBasicNodeLabel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000028, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000028, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5096,9 +5096,9 @@ class WriteBasicLocation : public WriteAttribute ~WriteBasicLocation() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000028, 0x00000006, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000028, 0x00000006, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5123,9 +5123,9 @@ class WriteBasicLocalConfigDisabled : public WriteAttribute ~WriteBasicLocalConfigDisabled() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000028, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000028, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5175,11 +5175,11 @@ class OtaSoftwareUpdateProviderQueryImage : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000029, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000029, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5209,11 +5209,11 @@ class OtaSoftwareUpdateProviderApplyUpdateRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000029, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000029, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5241,11 +5241,11 @@ class OtaSoftwareUpdateProviderNotifyUpdateApplied : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000029) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000029, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000029, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5299,11 +5299,11 @@ class OtaSoftwareUpdateRequestorAnnounceOtaProvider : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000002A) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000002A) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000002A, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000002A, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5330,9 +5330,9 @@ class WriteOtaSoftwareUpdateRequestorDefaultOtaProviders : public WriteAttribute ~WriteOtaSoftwareUpdateRequestorDefaultOtaProviders() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000002A, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000002A, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5377,9 +5377,9 @@ class WriteLocalizationConfigurationActiveLocale : public WriteAttribute ~WriteLocalizationConfigurationActiveLocale() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000002B, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000002B, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5422,9 +5422,9 @@ class WriteTimeFormatLocalizationHourFormat : public WriteAttribute ~WriteTimeFormatLocalizationHourFormat() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000002C, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000002C, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5449,9 +5449,9 @@ class WriteTimeFormatLocalizationActiveCalendarType : public WriteAttribute ~WriteTimeFormatLocalizationActiveCalendarType() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000002C, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000002C, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5492,9 +5492,9 @@ class WriteUnitLocalizationTemperatureUnit : public WriteAttribute ~WriteUnitLocalizationTemperatureUnit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000002D, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000002D, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5605,11 +5605,11 @@ class GeneralCommissioningArmFailSafe : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000030, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000030, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5639,11 +5639,11 @@ class GeneralCommissioningSetRegulatoryConfig : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000030, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000030, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5669,11 +5669,11 @@ class GeneralCommissioningCommissioningComplete : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000030) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000030, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000030, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5700,9 +5700,9 @@ class WriteGeneralCommissioningBreadcrumb : public WriteAttribute ~WriteGeneralCommissioningBreadcrumb() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000030, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000030, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5757,11 +5757,11 @@ class NetworkCommissioningScanNetworks : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5790,11 +5790,11 @@ class NetworkCommissioningAddOrUpdateWiFiNetwork : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5822,11 +5822,11 @@ class NetworkCommissioningAddOrUpdateThreadNetwork : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5854,11 +5854,11 @@ class NetworkCommissioningRemoveNetwork : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5886,11 +5886,11 @@ class NetworkCommissioningConnectNetwork : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5919,11 +5919,11 @@ class NetworkCommissioningReorderNetwork : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000031) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000031, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5950,9 +5950,9 @@ class WriteNetworkCommissioningInterfaceEnabled : public WriteAttribute ~WriteNetworkCommissioningInterfaceEnabled() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000031, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000031, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -5995,11 +5995,11 @@ class DiagnosticLogsRetrieveLogsRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000032) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000032) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000032, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000032, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6073,11 +6073,11 @@ class SoftwareDiagnosticsResetWatermarks : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000034) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000034) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000034, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000034, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6183,11 +6183,11 @@ class ThreadNetworkDiagnosticsResetCounts : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000035) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000035) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000035, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000035, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6245,11 +6245,11 @@ class WiFiNetworkDiagnosticsResetCounts : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000036) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000036) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000036, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000036, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6300,11 +6300,11 @@ class EthernetNetworkDiagnosticsResetCounts : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000037) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000037) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000037, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000037, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6379,9 +6379,9 @@ class WriteBridgedDeviceBasicNodeLabel : public WriteAttribute ~WriteBridgedDeviceBasicNodeLabel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000039, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000039, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6457,11 +6457,11 @@ class AdministratorCommissioningOpenCommissioningWindow : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003C, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003C, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6488,11 +6488,11 @@ class AdministratorCommissioningOpenBasicCommissioningWindow : public ClusterCom ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003C, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003C, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6518,11 +6518,11 @@ class AdministratorCommissioningRevokeCommissioning : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003C) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003C, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003C, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6579,11 +6579,11 @@ class OperationalCredentialsAttestationRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6610,11 +6610,11 @@ class OperationalCredentialsCertificateChainRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6640,11 +6640,11 @@ class OperationalCredentialsCSRRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6674,11 +6674,11 @@ class OperationalCredentialsAddNOC : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6705,11 +6705,11 @@ class OperationalCredentialsUpdateNOC : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6736,11 +6736,11 @@ class OperationalCredentialsUpdateFabricLabel : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6767,11 +6767,11 @@ class OperationalCredentialsRemoveFabric : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x0000000A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x0000000A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6798,11 +6798,11 @@ class OperationalCredentialsAddTrustedRootCertificate : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x0000000B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x0000000B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6829,11 +6829,11 @@ class OperationalCredentialsRemoveTrustedRootCertificate : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000C) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003E) command (0x0000000C) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003E, 0x0000000C, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003E, 0x0000000C, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6883,11 +6883,11 @@ class GroupKeyManagementKeySetWrite : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003F, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003F, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6914,11 +6914,11 @@ class GroupKeyManagementKeySetRead : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003F, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003F, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6945,11 +6945,11 @@ class GroupKeyManagementKeySetRemove : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003F, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003F, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -6976,11 +6976,11 @@ class GroupKeyManagementKeySetReadAllIndices : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000003F) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000003F, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000003F, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7008,9 +7008,9 @@ class WriteGroupKeyManagementGroupKeyMap : public WriteAttribute ~WriteGroupKeyManagementGroupKeyMap() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000003F, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000003F, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7070,9 +7070,9 @@ class WriteUserLabelLabelList : public WriteAttribute ~WriteUserLabelLabelList() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000041, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000041, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7180,11 +7180,11 @@ class ModeSelectChangeToMode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000050) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000050) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000050, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000050, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7210,9 +7210,9 @@ class WriteModeSelectOnMode : public WriteAttribute ~WriteModeSelectOnMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000050, 0x00000002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000050, 0x00000002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7256,9 +7256,9 @@ class WriteShadeConfigurationStatus : public WriteAttribute ~WriteShadeConfigurationStatus() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000100, 0x00000002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000100, 0x00000002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7283,9 +7283,9 @@ class WriteShadeConfigurationClosedLimit : public WriteAttribute ~WriteShadeConfigurationClosedLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000100, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000100, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7309,9 +7309,9 @@ class WriteShadeConfigurationMode : public WriteAttribute ~WriteShadeConfigurationMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000100, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000100, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7431,11 +7431,11 @@ class DoorLockLockDoor : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7461,11 +7461,11 @@ class DoorLockUnlockDoor : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7493,11 +7493,11 @@ class DoorLockUnlockWithTimeout : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7523,11 +7523,11 @@ class DoorLockGetLogRecord : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7556,11 +7556,11 @@ class DoorLockSetPINCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7586,11 +7586,11 @@ class DoorLockGetPINCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7616,11 +7616,11 @@ class DoorLockClearPINCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7645,11 +7645,11 @@ class DoorLockClearAllPINCodes : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7676,11 +7676,11 @@ class DoorLockSetUserStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7706,11 +7706,11 @@ class DoorLockGetUserStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7743,11 +7743,11 @@ class DoorLockSetWeekDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7775,11 +7775,11 @@ class DoorLockGetWeekDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000C) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000C) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000C, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000C, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7807,11 +7807,11 @@ class DoorLockClearWeekDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000D) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000D) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000D, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000D, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7841,11 +7841,11 @@ class DoorLockSetYearDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000E) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000E) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000E, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000E, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7873,11 +7873,11 @@ class DoorLockGetYearDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000F) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000000F) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000000F, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000000F, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7905,11 +7905,11 @@ class DoorLockClearYearDaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000010) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000010) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000010, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000010, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7939,11 +7939,11 @@ class DoorLockSetHolidaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000011) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000011) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000011, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000011, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -7970,11 +7970,11 @@ class DoorLockGetHolidaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000012) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000012) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000012, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000012, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8001,11 +8001,11 @@ class DoorLockClearHolidaySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000013) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000013) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000013, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000013, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8032,11 +8032,11 @@ class DoorLockSetUserType : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000014) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000014) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000014, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000014, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8062,11 +8062,11 @@ class DoorLockGetUserType : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000015) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000015) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000015, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000015, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8095,11 +8095,11 @@ class DoorLockSetRFIDCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000016) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000016) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000016, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000016, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8125,11 +8125,11 @@ class DoorLockGetRFIDCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000017) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000017) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000017, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000017, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8155,11 +8155,11 @@ class DoorLockClearRFIDCode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000018) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000018) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000018, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000018, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8185,11 +8185,11 @@ class DoorLockClearAllRFIDCodes : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000019) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000019) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000019, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000019, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8221,11 +8221,11 @@ class DoorLockSetUser : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000001A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000001A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8251,11 +8251,11 @@ class DoorLockGetUser : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000001B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000001B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8281,11 +8281,11 @@ class DoorLockClearUser : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001D) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x0000001D) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x0000001D, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000001D, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8317,11 +8317,11 @@ class DoorLockSetCredential : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000022) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000022) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000022, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000022, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8349,11 +8349,11 @@ class DoorLockGetCredentialStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000024) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000024) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000024, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000024, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8381,11 +8381,11 @@ class DoorLockClearCredential : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000026) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000101) command (0x00000026) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000101, 0x00000026, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000026, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8413,9 +8413,9 @@ class WriteDoorLockDoorOpenEvents : public WriteAttribute ~WriteDoorLockDoorOpenEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8440,9 +8440,9 @@ class WriteDoorLockDoorClosedEvents : public WriteAttribute ~WriteDoorLockDoorClosedEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8466,9 +8466,9 @@ class WriteDoorLockOpenPeriod : public WriteAttribute ~WriteDoorLockOpenPeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000006, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000006, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8492,9 +8492,9 @@ class WriteDoorLockEnableLogging : public WriteAttribute ~WriteDoorLockEnableLogging() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000020, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000020, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8518,9 +8518,9 @@ class WriteDoorLockLanguage : public WriteAttribute ~WriteDoorLockLanguage() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000021, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000021, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8544,9 +8544,9 @@ class WriteDoorLockLEDSettings : public WriteAttribute ~WriteDoorLockLEDSettings() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000022, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000022, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8570,9 +8570,9 @@ class WriteDoorLockAutoRelockTime : public WriteAttribute ~WriteDoorLockAutoRelockTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000023, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000023, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8596,9 +8596,9 @@ class WriteDoorLockSoundVolume : public WriteAttribute ~WriteDoorLockSoundVolume() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000024, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000024, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8622,9 +8622,9 @@ class WriteDoorLockOperatingMode : public WriteAttribute ~WriteDoorLockOperatingMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000025, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000025, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8649,9 +8649,9 @@ class WriteDoorLockEnableLocalProgramming : public WriteAttribute ~WriteDoorLockEnableLocalProgramming() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000028, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000028, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8676,9 +8676,9 @@ class WriteDoorLockEnableOneTouchLocking : public WriteAttribute ~WriteDoorLockEnableOneTouchLocking() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000029, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000029, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8703,9 +8703,9 @@ class WriteDoorLockEnableInsideStatusLED : public WriteAttribute ~WriteDoorLockEnableInsideStatusLED() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x0000002A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000002A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8730,9 +8730,9 @@ class WriteDoorLockEnablePrivacyModeButton : public WriteAttribute ~WriteDoorLockEnablePrivacyModeButton() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x0000002B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000002B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8757,9 +8757,9 @@ class WriteDoorLockLocalProgrammingFeatures : public WriteAttribute ~WriteDoorLockLocalProgrammingFeatures() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x0000002C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x0000002C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8784,9 +8784,9 @@ class WriteDoorLockWrongCodeEntryLimit : public WriteAttribute ~WriteDoorLockWrongCodeEntryLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8811,9 +8811,9 @@ class WriteDoorLockUserCodeTemporaryDisableTime : public WriteAttribute ~WriteDoorLockUserCodeTemporaryDisableTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8838,9 +8838,9 @@ class WriteDoorLockSendPINOverTheAir : public WriteAttribute ~WriteDoorLockSendPINOverTheAir() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8865,9 +8865,9 @@ class WriteDoorLockRequirePINforRemoteOperation : public WriteAttribute ~WriteDoorLockRequirePINforRemoteOperation() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000033, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000033, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8892,9 +8892,9 @@ class WriteDoorLockExpiringUserTimeout : public WriteAttribute ~WriteDoorLockExpiringUserTimeout() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000035, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000035, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8918,9 +8918,9 @@ class WriteDoorLockAlarmMask : public WriteAttribute ~WriteDoorLockAlarmMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000040, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000040, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8945,9 +8945,9 @@ class WriteDoorLockKeypadOperationEventMask : public WriteAttribute ~WriteDoorLockKeypadOperationEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000041, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000041, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8972,9 +8972,9 @@ class WriteDoorLockRemoteOperationEventMask : public WriteAttribute ~WriteDoorLockRemoteOperationEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000042, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000042, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -8999,9 +8999,9 @@ class WriteDoorLockManualOperationEventMask : public WriteAttribute ~WriteDoorLockManualOperationEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000043, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000043, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9026,9 +9026,9 @@ class WriteDoorLockRFIDOperationEventMask : public WriteAttribute ~WriteDoorLockRFIDOperationEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000044, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000044, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9053,9 +9053,9 @@ class WriteDoorLockKeypadProgrammingEventMask : public WriteAttribute ~WriteDoorLockKeypadProgrammingEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000045, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000045, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9080,9 +9080,9 @@ class WriteDoorLockRemoteProgrammingEventMask : public WriteAttribute ~WriteDoorLockRemoteProgrammingEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000046, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000046, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9107,9 +9107,9 @@ class WriteDoorLockRFIDProgrammingEventMask : public WriteAttribute ~WriteDoorLockRFIDProgrammingEventMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000101, 0x00000047, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000101, 0x00000047, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9176,11 +9176,11 @@ class WindowCoveringUpOrOpen : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9205,11 +9205,11 @@ class WindowCoveringDownOrClose : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9234,11 +9234,11 @@ class WindowCoveringStopMotion : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9265,11 +9265,11 @@ class WindowCoveringGoToLiftValue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9297,11 +9297,11 @@ class WindowCoveringGoToLiftPercentage : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9328,11 +9328,11 @@ class WindowCoveringGoToTiltValue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9360,11 +9360,11 @@ class WindowCoveringGoToTiltPercentage : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000102) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000102, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9390,9 +9390,9 @@ class WriteWindowCoveringMode : public WriteAttribute ~WriteWindowCoveringMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000102, 0x00000017, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000102, 0x00000017, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9444,11 +9444,11 @@ class BarrierControlBarrierControlGoToPercent : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000103) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000103) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000103, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9474,11 +9474,11 @@ class BarrierControlBarrierControlStop : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000103) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000103) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000103, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9505,9 +9505,9 @@ class WriteBarrierControlBarrierOpenEvents : public WriteAttribute ~WriteBarrierControlBarrierOpenEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9532,9 +9532,9 @@ class WriteBarrierControlBarrierCloseEvents : public WriteAttribute ~WriteBarrierControlBarrierCloseEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9559,9 +9559,9 @@ class WriteBarrierControlBarrierCommandOpenEvents : public WriteAttribute ~WriteBarrierControlBarrierCommandOpenEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000006, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000006, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9586,9 +9586,9 @@ class WriteBarrierControlBarrierCommandCloseEvents : public WriteAttribute ~WriteBarrierControlBarrierCommandCloseEvents() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000007, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000007, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9613,9 +9613,9 @@ class WriteBarrierControlBarrierOpenPeriod : public WriteAttribute ~WriteBarrierControlBarrierOpenPeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000008, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000008, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9640,9 +9640,9 @@ class WriteBarrierControlBarrierClosePeriod : public WriteAttribute ~WriteBarrierControlBarrierClosePeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000103, 0x00000009, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000103, 0x00000009, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9723,9 +9723,9 @@ class WritePumpConfigurationAndControlLifetimeRunningHours : public WriteAttribu ~WritePumpConfigurationAndControlLifetimeRunningHours() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000200, 0x00000015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000200, 0x00000015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9750,9 +9750,9 @@ class WritePumpConfigurationAndControlLifetimeEnergyConsumed : public WriteAttri ~WritePumpConfigurationAndControlLifetimeEnergyConsumed() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000200, 0x00000017, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000200, 0x00000017, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9777,9 +9777,9 @@ class WritePumpConfigurationAndControlOperationMode : public WriteAttribute ~WritePumpConfigurationAndControlOperationMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000200, 0x00000020, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000200, 0x00000020, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9804,9 +9804,9 @@ class WritePumpConfigurationAndControlControlMode : public WriteAttribute ~WritePumpConfigurationAndControlControlMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000200, 0x00000021, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000200, 0x00000021, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9895,11 +9895,11 @@ class ThermostatSetpointRaiseLower : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000201, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9929,11 +9929,11 @@ class ThermostatSetWeeklySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000201, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9962,11 +9962,11 @@ class ThermostatGetWeeklySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000201, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -9992,11 +9992,11 @@ class ThermostatClearWeeklySchedule : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000201, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10022,11 +10022,11 @@ class ThermostatGetRelayStatusLog : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000201) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000201, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10053,9 +10053,9 @@ class WriteThermostatHvacSystemTypeConfiguration : public WriteAttribute ~WriteThermostatHvacSystemTypeConfiguration() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000009, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000009, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10080,9 +10080,9 @@ class WriteThermostatLocalTemperatureCalibration : public WriteAttribute ~WriteThermostatLocalTemperatureCalibration() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10107,9 +10107,9 @@ class WriteThermostatOccupiedCoolingSetpoint : public WriteAttribute ~WriteThermostatOccupiedCoolingSetpoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10134,9 +10134,9 @@ class WriteThermostatOccupiedHeatingSetpoint : public WriteAttribute ~WriteThermostatOccupiedHeatingSetpoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10161,9 +10161,9 @@ class WriteThermostatUnoccupiedCoolingSetpoint : public WriteAttribute ~WriteThermostatUnoccupiedCoolingSetpoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10188,9 +10188,9 @@ class WriteThermostatUnoccupiedHeatingSetpoint : public WriteAttribute ~WriteThermostatUnoccupiedHeatingSetpoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10215,9 +10215,9 @@ class WriteThermostatMinHeatSetpointLimit : public WriteAttribute ~WriteThermostatMinHeatSetpointLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10242,9 +10242,9 @@ class WriteThermostatMaxHeatSetpointLimit : public WriteAttribute ~WriteThermostatMaxHeatSetpointLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000016, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000016, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10269,9 +10269,9 @@ class WriteThermostatMinCoolSetpointLimit : public WriteAttribute ~WriteThermostatMinCoolSetpointLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000017, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000017, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10296,9 +10296,9 @@ class WriteThermostatMaxCoolSetpointLimit : public WriteAttribute ~WriteThermostatMaxCoolSetpointLimit() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000018, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000018, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10323,9 +10323,9 @@ class WriteThermostatMinSetpointDeadBand : public WriteAttribute ~WriteThermostatMinSetpointDeadBand() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000019, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000019, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10349,9 +10349,9 @@ class WriteThermostatRemoteSensing : public WriteAttribute ~WriteThermostatRemoteSensing() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x0000001A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x0000001A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10376,9 +10376,9 @@ class WriteThermostatControlSequenceOfOperation : public WriteAttribute ~WriteThermostatControlSequenceOfOperation() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x0000001B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x0000001B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10402,9 +10402,9 @@ class WriteThermostatSystemMode : public WriteAttribute ~WriteThermostatSystemMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x0000001C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x0000001C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10429,9 +10429,9 @@ class WriteThermostatTemperatureSetpointHold : public WriteAttribute ~WriteThermostatTemperatureSetpointHold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000023, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000023, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10456,9 +10456,9 @@ class WriteThermostatTemperatureSetpointHoldDuration : public WriteAttribute ~WriteThermostatTemperatureSetpointHoldDuration() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000024, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000024, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10483,9 +10483,9 @@ class WriteThermostatThermostatProgrammingOperationMode : public WriteAttribute ~WriteThermostatThermostatProgrammingOperationMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000025, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000025, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10509,9 +10509,9 @@ class WriteThermostatAcType : public WriteAttribute ~WriteThermostatAcType() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000040, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000040, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10535,9 +10535,9 @@ class WriteThermostatAcCapacity : public WriteAttribute ~WriteThermostatAcCapacity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000041, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000041, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10562,9 +10562,9 @@ class WriteThermostatAcRefrigerantType : public WriteAttribute ~WriteThermostatAcRefrigerantType() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000042, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000042, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10588,9 +10588,9 @@ class WriteThermostatAcCompressor : public WriteAttribute ~WriteThermostatAcCompressor() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000043, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000043, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10614,9 +10614,9 @@ class WriteThermostatAcErrorCode : public WriteAttribute ~WriteThermostatAcErrorCode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000044, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000044, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10641,9 +10641,9 @@ class WriteThermostatAcLouverPosition : public WriteAttribute ~WriteThermostatAcLouverPosition() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000045, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000045, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10668,9 +10668,9 @@ class WriteThermostatAcCapacityFormat : public WriteAttribute ~WriteThermostatAcCapacityFormat() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000201, 0x00000047, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000201, 0x00000047, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10711,9 +10711,9 @@ class WriteFanControlFanMode : public WriteAttribute ~WriteFanControlFanMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000202, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000202, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10738,9 +10738,9 @@ class WriteFanControlFanModeSequence : public WriteAttribute ~WriteFanControlFanModeSequence() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000202, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000202, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10788,9 +10788,9 @@ class WriteDehumidificationControlRhDehumidificationSetpoint : public WriteAttri ~WriteDehumidificationControlRhDehumidificationSetpoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10815,9 +10815,9 @@ class WriteDehumidificationControlRelativeHumidityMode : public WriteAttribute ~WriteDehumidificationControlRelativeHumidityMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10842,9 +10842,9 @@ class WriteDehumidificationControlDehumidificationLockout : public WriteAttribut ~WriteDehumidificationControlDehumidificationLockout() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10869,9 +10869,9 @@ class WriteDehumidificationControlDehumidificationHysteresis : public WriteAttri ~WriteDehumidificationControlDehumidificationHysteresis() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10896,9 +10896,9 @@ class WriteDehumidificationControlDehumidificationMaxCool : public WriteAttribut ~WriteDehumidificationControlDehumidificationMaxCool() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10923,9 +10923,9 @@ class WriteDehumidificationControlRelativeHumidityDisplay : public WriteAttribut ~WriteDehumidificationControlRelativeHumidityDisplay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000203, 0x00000015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000203, 0x00000015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10968,9 +10968,9 @@ class WriteThermostatUserInterfaceConfigurationTemperatureDisplayMode : public W ~WriteThermostatUserInterfaceConfigurationTemperatureDisplayMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000204, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000204, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -10995,9 +10995,9 @@ class WriteThermostatUserInterfaceConfigurationKeypadLockout : public WriteAttri ~WriteThermostatUserInterfaceConfigurationKeypadLockout() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000204, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000204, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11022,9 +11022,9 @@ class WriteThermostatUserInterfaceConfigurationScheduleProgrammingVisibility : p ~WriteThermostatUserInterfaceConfigurationScheduleProgrammingVisibility() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000204, 0x00000002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000204, 0x00000002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11138,11 +11138,11 @@ class ColorControlMoveToHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11171,11 +11171,11 @@ class ColorControlMoveHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11205,11 +11205,11 @@ class ColorControlStepHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11239,11 +11239,11 @@ class ColorControlMoveToSaturation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11272,11 +11272,11 @@ class ColorControlMoveSaturation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11306,11 +11306,11 @@ class ColorControlStepSaturation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11341,11 +11341,11 @@ class ColorControlMoveToHueAndSaturation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11375,11 +11375,11 @@ class ColorControlMoveToColor : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11408,11 +11408,11 @@ class ColorControlMoveColor : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11442,11 +11442,11 @@ class ColorControlStepColor : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11476,11 +11476,11 @@ class ColorControlMoveToColorTemperature : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000000A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000000A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x0000000A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000000A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11511,11 +11511,11 @@ class ColorControlEnhancedMoveToHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000040) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000040) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000040, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000040, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11545,11 +11545,11 @@ class ColorControlEnhancedMoveHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000041) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000041) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000041, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000041, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11580,11 +11580,11 @@ class ColorControlEnhancedStepHue : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000042) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000042) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000042, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000042, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11615,11 +11615,11 @@ class ColorControlEnhancedMoveToHueAndSaturation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000043) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000043) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000043, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000043, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11651,11 +11651,11 @@ class ColorControlColorLoopSet : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000044) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000044) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000044, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000044, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11682,11 +11682,11 @@ class ColorControlStopMoveStep : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000047) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x00000047) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x00000047, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000047, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11718,11 +11718,11 @@ class ColorControlMoveColorTemperature : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000004B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000004B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x0000004B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000004B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11755,11 +11755,11 @@ class ColorControlStepColorTemperature : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000004C) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000300) command (0x0000004C) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000300, 0x0000004C, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000004C, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11786,9 +11786,9 @@ class WriteColorControlColorControlOptions : public WriteAttribute ~WriteColorControlColorControlOptions() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x0000000F, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000000F, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11812,9 +11812,9 @@ class WriteColorControlWhitePointX : public WriteAttribute ~WriteColorControlWhitePointX() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11838,9 +11838,9 @@ class WriteColorControlWhitePointY : public WriteAttribute ~WriteColorControlWhitePointY() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11864,9 +11864,9 @@ class WriteColorControlColorPointRX : public WriteAttribute ~WriteColorControlColorPointRX() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11890,9 +11890,9 @@ class WriteColorControlColorPointRY : public WriteAttribute ~WriteColorControlColorPointRY() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000033, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000033, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11917,9 +11917,9 @@ class WriteColorControlColorPointRIntensity : public WriteAttribute ~WriteColorControlColorPointRIntensity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000034, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000034, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11943,9 +11943,9 @@ class WriteColorControlColorPointGX : public WriteAttribute ~WriteColorControlColorPointGX() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000036, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000036, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11969,9 +11969,9 @@ class WriteColorControlColorPointGY : public WriteAttribute ~WriteColorControlColorPointGY() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000037, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000037, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -11996,9 +11996,9 @@ class WriteColorControlColorPointGIntensity : public WriteAttribute ~WriteColorControlColorPointGIntensity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00000038, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00000038, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12022,9 +12022,9 @@ class WriteColorControlColorPointBX : public WriteAttribute ~WriteColorControlColorPointBX() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x0000003A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000003A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12048,9 +12048,9 @@ class WriteColorControlColorPointBY : public WriteAttribute ~WriteColorControlColorPointBY() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x0000003B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000003B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12075,9 +12075,9 @@ class WriteColorControlColorPointBIntensity : public WriteAttribute ~WriteColorControlColorPointBIntensity() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x0000003C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x0000003C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12102,9 +12102,9 @@ class WriteColorControlStartUpColorTemperatureMireds : public WriteAttribute ~WriteColorControlStartUpColorTemperatureMireds() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000300, 0x00004010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000300, 0x00004010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12159,9 +12159,9 @@ class WriteBallastConfigurationMinLevel : public WriteAttribute ~WriteBallastConfigurationMinLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12185,9 +12185,9 @@ class WriteBallastConfigurationMaxLevel : public WriteAttribute ~WriteBallastConfigurationMaxLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12212,9 +12212,9 @@ class WriteBallastConfigurationPowerOnLevel : public WriteAttribute ~WriteBallastConfigurationPowerOnLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12239,9 +12239,9 @@ class WriteBallastConfigurationPowerOnFadeTime : public WriteAttribute ~WriteBallastConfigurationPowerOnFadeTime() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12266,9 +12266,9 @@ class WriteBallastConfigurationIntrinsicBallastFactor : public WriteAttribute ~WriteBallastConfigurationIntrinsicBallastFactor() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12293,9 +12293,9 @@ class WriteBallastConfigurationBallastFactorAdjustment : public WriteAttribute ~WriteBallastConfigurationBallastFactorAdjustment() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12319,9 +12319,9 @@ class WriteBallastConfigurationLampType : public WriteAttribute ~WriteBallastConfigurationLampType() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12346,9 +12346,9 @@ class WriteBallastConfigurationLampManufacturer : public WriteAttribute ~WriteBallastConfigurationLampManufacturer() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12373,9 +12373,9 @@ class WriteBallastConfigurationLampRatedHours : public WriteAttribute ~WriteBallastConfigurationLampRatedHours() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12400,9 +12400,9 @@ class WriteBallastConfigurationLampBurnHours : public WriteAttribute ~WriteBallastConfigurationLampBurnHours() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000033, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000033, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12427,9 +12427,9 @@ class WriteBallastConfigurationLampAlarmMode : public WriteAttribute ~WriteBallastConfigurationLampAlarmMode() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000034, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000034, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12454,9 +12454,9 @@ class WriteBallastConfigurationLampBurnHoursTripPoint : public WriteAttribute ~WriteBallastConfigurationLampBurnHoursTripPoint() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000301, 0x00000035, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000301, 0x00000035, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12609,9 +12609,9 @@ class WriteOccupancySensingPirOccupiedToUnoccupiedDelay : public WriteAttribute ~WriteOccupancySensingPirOccupiedToUnoccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12636,9 +12636,9 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedDelay : public WriteAttribute ~WriteOccupancySensingPirUnoccupiedToOccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12663,9 +12663,9 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedThreshold : public WriteAttrib ~WriteOccupancySensingPirUnoccupiedToOccupiedThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12690,9 +12690,9 @@ class WriteOccupancySensingUltrasonicOccupiedToUnoccupiedDelay : public WriteAtt ~WriteOccupancySensingUltrasonicOccupiedToUnoccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000020, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000020, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12717,9 +12717,9 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedDelay : public WriteAtt ~WriteOccupancySensingUltrasonicUnoccupiedToOccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000021, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000021, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12744,9 +12744,9 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold : public Writ ~WriteOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000022, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000022, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12771,9 +12771,9 @@ class WriteOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay : public Wri ~WriteOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12798,9 +12798,9 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay : public Wri ~WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -12825,9 +12825,9 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedThreshold : public ~WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedThreshold() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000406, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000406, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13448,11 +13448,11 @@ class IasZoneZoneEnrollResponse : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000500, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000500, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13478,11 +13478,11 @@ class IasZoneInitiateNormalOperationMode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000500, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000500, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13509,11 +13509,11 @@ class IasZoneInitiateTestMode : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000500) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000500, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000500, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13539,9 +13539,9 @@ class WriteIasZoneIasCieAddress : public WriteAttribute ~WriteIasZoneIasCieAddress() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000500, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000500, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13566,9 +13566,9 @@ class WriteIasZoneCurrentZoneSensitivityLevel : public WriteAttribute ~WriteIasZoneCurrentZoneSensitivityLevel() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000500, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000500, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13619,11 +13619,11 @@ class IasAceArm : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13652,11 +13652,11 @@ class IasAceBypass : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13682,11 +13682,11 @@ class IasAceEmergency : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13711,11 +13711,11 @@ class IasAceFire : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13740,11 +13740,11 @@ class IasAcePanic : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13769,11 +13769,11 @@ class IasAceGetZoneIdMap : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13800,11 +13800,11 @@ class IasAceGetZoneInformation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13829,11 +13829,11 @@ class IasAceGetPanelStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13859,11 +13859,11 @@ class IasAceGetBypassedZoneList : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13892,11 +13892,11 @@ class IasAceGetZoneStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000501) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000501, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000501, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13943,11 +13943,11 @@ class IasWdStartWarning : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000502) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000502) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000502, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000502, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -13973,11 +13973,11 @@ class IasWdSquawk : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000502) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000502) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000502, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000502, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14003,9 +14003,9 @@ class WriteIasWdMaxDuration : public WriteAttribute ~WriteIasWdMaxDuration() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000502, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000502, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14066,11 +14066,11 @@ class ChannelChangeChannel : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000504, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000504, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14098,11 +14098,11 @@ class ChannelChangeChannelByNumber : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000504, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000504, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14128,11 +14128,11 @@ class ChannelSkipChannel : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000504) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000504, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000504, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14178,11 +14178,11 @@ class TargetNavigatorNavigateTarget : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000505) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000505) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000505, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000505, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14240,11 +14240,11 @@ class MediaPlaybackPlay : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14269,11 +14269,11 @@ class MediaPlaybackPause : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14298,11 +14298,11 @@ class MediaPlaybackStopPlayback : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14327,11 +14327,11 @@ class MediaPlaybackStartOver : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14356,11 +14356,11 @@ class MediaPlaybackPrevious : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14385,11 +14385,11 @@ class MediaPlaybackNext : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14414,11 +14414,11 @@ class MediaPlaybackRewind : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14443,11 +14443,11 @@ class MediaPlaybackFastForward : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14473,11 +14473,11 @@ class MediaPlaybackSkipForward : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14503,11 +14503,11 @@ class MediaPlaybackSkipBackward : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14533,11 +14533,11 @@ class MediaPlaybackSeek : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x0000000B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000506) command (0x0000000B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000506, 0x0000000B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000506, 0x0000000B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14584,11 +14584,11 @@ class MediaInputSelectInput : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000507, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000507, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14613,11 +14613,11 @@ class MediaInputShowInputStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000507, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000507, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14642,11 +14642,11 @@ class MediaInputHideInputStatus : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000507, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000507, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14673,11 +14673,11 @@ class MediaInputRenameInput : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000507) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000507, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000507, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14718,11 +14718,11 @@ class LowPowerSleep : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000508) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000508) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000508, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000508, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14764,11 +14764,11 @@ class KeypadInputSendKey : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000509) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000509) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000509, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000509, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14816,11 +14816,11 @@ class ContentLauncherLaunchContent : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050A) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050A) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050A, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050A, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14850,11 +14850,11 @@ class ContentLauncherLaunchURL : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050A) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050A) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050A, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050A, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14883,9 +14883,9 @@ class WriteContentLauncherSupportedStreamingProtocols : public WriteAttribute ~WriteContentLauncherSupportedStreamingProtocols() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050A, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050A, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14928,11 +14928,11 @@ class AudioOutputSelectOutput : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050B) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050B) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050B, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050B, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -14959,11 +14959,11 @@ class AudioOutputRenameOutput : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050B) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050B) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050B, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050B, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15011,11 +15011,11 @@ class ApplicationLauncherLaunchApp : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050C, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050C, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15043,11 +15043,11 @@ class ApplicationLauncherStopApp : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050C, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050C, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15075,11 +15075,11 @@ class ApplicationLauncherHideApp : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050C) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050C, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050C, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15107,9 +15107,9 @@ class WriteApplicationLauncherCurrentApp : public WriteAttribute ~WriteApplicationLauncherCurrentApp() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050C, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050C, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15176,11 +15176,11 @@ class AccountLoginGetSetupPIN : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050E, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050E, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15207,11 +15207,11 @@ class AccountLoginLogin : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050E, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050E, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15236,11 +15236,11 @@ class AccountLoginLogout : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050E) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050E, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050E, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15385,11 +15385,11 @@ class TestClusterTest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15414,11 +15414,11 @@ class TestClusterTestNotHandled : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15443,11 +15443,11 @@ class TestClusterTestSpecific : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15473,11 +15473,11 @@ class TestClusterTestUnknownCommand : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000003) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000003) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000003, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000003, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15505,11 +15505,11 @@ class TestClusterTestAddArguments : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000004) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000004) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000004, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000004, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15536,11 +15536,11 @@ class TestClusterTestSimpleArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000005) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000005) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000005, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000005, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15573,11 +15573,11 @@ class TestClusterTestStructArrayArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000006) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000006) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000006, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000006, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15610,11 +15610,11 @@ class TestClusterTestStructArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000007) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000007) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000007, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000007, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15642,11 +15642,11 @@ class TestClusterTestNestedStructArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000008) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000008) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000008, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000008, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15674,11 +15674,11 @@ class TestClusterTestListStructArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000009) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000009) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000009, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000009, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15707,11 +15707,11 @@ class TestClusterTestListInt8UArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000A) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000A) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000A, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000A, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15739,11 +15739,11 @@ class TestClusterTestNestedStructListArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000B) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000B) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000B, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000B, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15771,11 +15771,11 @@ class TestClusterTestListNestedStructListArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000C) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000C) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000C, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000C, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15804,11 +15804,11 @@ class TestClusterTestListInt8UReverseRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000D) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000D) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000D, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000D, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15837,11 +15837,11 @@ class TestClusterTestEnumsRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000E) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000E) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000E, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000E, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15868,11 +15868,11 @@ class TestClusterTestNullableOptionalRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000F) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x0000000F) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x0000000F, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000F, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15913,11 +15913,11 @@ class TestClusterTestComplexNullableOptionalRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000010) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000010) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000010, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000010, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15958,11 +15958,11 @@ class TestClusterSimpleStructEchoRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000011) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000011) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000011, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000011, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -15989,11 +15989,11 @@ class TestClusterTimedInvokeRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000012) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000012) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000012, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000012, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16020,11 +16020,11 @@ class TestClusterTestSimpleOptionalArgumentRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000013) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000013) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000013, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000013, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16053,11 +16053,11 @@ class TestClusterTestEmitTestEventRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000014) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000014) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000014, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000014, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16084,11 +16084,11 @@ class TestClusterTestEmitTestFabricScopedEventRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000015) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x0000050F) command (0x00000015) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x0000050F, 0x00000015, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000015, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16114,9 +16114,9 @@ class WriteTestClusterBoolean : public WriteAttribute ~WriteTestClusterBoolean() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16140,9 +16140,9 @@ class WriteTestClusterBitmap8 : public WriteAttribute ~WriteTestClusterBitmap8() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16166,9 +16166,9 @@ class WriteTestClusterBitmap16 : public WriteAttribute ~WriteTestClusterBitmap16() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16192,9 +16192,9 @@ class WriteTestClusterBitmap32 : public WriteAttribute ~WriteTestClusterBitmap32() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000003, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000003, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16218,9 +16218,9 @@ class WriteTestClusterBitmap64 : public WriteAttribute ~WriteTestClusterBitmap64() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16244,9 +16244,9 @@ class WriteTestClusterInt8u : public WriteAttribute ~WriteTestClusterInt8u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16270,9 +16270,9 @@ class WriteTestClusterInt16u : public WriteAttribute ~WriteTestClusterInt16u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000006, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000006, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16296,9 +16296,9 @@ class WriteTestClusterInt24u : public WriteAttribute ~WriteTestClusterInt24u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000007, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000007, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16322,9 +16322,9 @@ class WriteTestClusterInt32u : public WriteAttribute ~WriteTestClusterInt32u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000008, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000008, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16348,9 +16348,9 @@ class WriteTestClusterInt40u : public WriteAttribute ~WriteTestClusterInt40u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000009, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000009, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16374,9 +16374,9 @@ class WriteTestClusterInt48u : public WriteAttribute ~WriteTestClusterInt48u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16400,9 +16400,9 @@ class WriteTestClusterInt56u : public WriteAttribute ~WriteTestClusterInt56u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16426,9 +16426,9 @@ class WriteTestClusterInt64u : public WriteAttribute ~WriteTestClusterInt64u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16452,9 +16452,9 @@ class WriteTestClusterInt8s : public WriteAttribute ~WriteTestClusterInt8s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16478,9 +16478,9 @@ class WriteTestClusterInt16s : public WriteAttribute ~WriteTestClusterInt16s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000E, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000E, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16504,9 +16504,9 @@ class WriteTestClusterInt24s : public WriteAttribute ~WriteTestClusterInt24s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000000F, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000000F, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16530,9 +16530,9 @@ class WriteTestClusterInt32s : public WriteAttribute ~WriteTestClusterInt32s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16556,9 +16556,9 @@ class WriteTestClusterInt40s : public WriteAttribute ~WriteTestClusterInt40s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16582,9 +16582,9 @@ class WriteTestClusterInt48s : public WriteAttribute ~WriteTestClusterInt48s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16608,9 +16608,9 @@ class WriteTestClusterInt56s : public WriteAttribute ~WriteTestClusterInt56s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16634,9 +16634,9 @@ class WriteTestClusterInt64s : public WriteAttribute ~WriteTestClusterInt64s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16660,9 +16660,9 @@ class WriteTestClusterEnum8 : public WriteAttribute ~WriteTestClusterEnum8() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16686,9 +16686,9 @@ class WriteTestClusterEnum16 : public WriteAttribute ~WriteTestClusterEnum16() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000016, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000016, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16712,9 +16712,9 @@ class WriteTestClusterFloatSingle : public WriteAttribute ~WriteTestClusterFloatSingle() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000017, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000017, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16738,9 +16738,9 @@ class WriteTestClusterFloatDouble : public WriteAttribute ~WriteTestClusterFloatDouble() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000018, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000018, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16764,9 +16764,9 @@ class WriteTestClusterOctetString : public WriteAttribute ~WriteTestClusterOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000019, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000019, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16791,9 +16791,9 @@ class WriteTestClusterListInt8u : public WriteAttribute ~WriteTestClusterListInt8u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16819,9 +16819,9 @@ class WriteTestClusterListOctetString : public WriteAttribute ~WriteTestClusterListOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16847,9 +16847,9 @@ class WriteTestClusterListStructOctetString : public WriteAttribute ~WriteTestClusterListStructOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16876,9 +16876,9 @@ class WriteTestClusterLongOctetString : public WriteAttribute ~WriteTestClusterLongOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16902,9 +16902,9 @@ class WriteTestClusterCharString : public WriteAttribute ~WriteTestClusterCharString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001E, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001E, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16929,9 +16929,9 @@ class WriteTestClusterLongCharString : public WriteAttribute ~WriteTestClusterLongCharString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000001F, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000001F, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16955,9 +16955,9 @@ class WriteTestClusterEpochUs : public WriteAttribute ~WriteTestClusterEpochUs() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000020, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000020, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -16981,9 +16981,9 @@ class WriteTestClusterEpochS : public WriteAttribute ~WriteTestClusterEpochS() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000021, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000021, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17007,9 +17007,9 @@ class WriteTestClusterVendorId : public WriteAttribute ~WriteTestClusterVendorId() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000022, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000022, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17034,9 +17034,9 @@ class WriteTestClusterListNullablesAndOptionalsStruct : public WriteAttribute ~WriteTestClusterListNullablesAndOptionalsStruct() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000023, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000023, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17063,9 +17063,9 @@ class WriteTestClusterEnumAttr : public WriteAttribute ~WriteTestClusterEnumAttr() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000024, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000024, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17090,9 +17090,9 @@ class WriteTestClusterStructAttr : public WriteAttribute ~WriteTestClusterStructAttr() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000025, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000025, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17118,9 +17118,9 @@ class WriteTestClusterRangeRestrictedInt8u : public WriteAttribute ~WriteTestClusterRangeRestrictedInt8u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000026, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000026, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17145,9 +17145,9 @@ class WriteTestClusterRangeRestrictedInt8s : public WriteAttribute ~WriteTestClusterRangeRestrictedInt8s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000027, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000027, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17172,9 +17172,9 @@ class WriteTestClusterRangeRestrictedInt16u : public WriteAttribute ~WriteTestClusterRangeRestrictedInt16u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000028, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000028, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17199,9 +17199,9 @@ class WriteTestClusterRangeRestrictedInt16s : public WriteAttribute ~WriteTestClusterRangeRestrictedInt16s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000029, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000029, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17226,9 +17226,9 @@ class WriteTestClusterListLongOctetString : public WriteAttribute ~WriteTestClusterListLongOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000002A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000002A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17254,9 +17254,9 @@ class WriteTestClusterTimedWriteBoolean : public WriteAttribute ~WriteTestClusterTimedWriteBoolean() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000030, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000030, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17281,9 +17281,9 @@ class WriteTestClusterGeneralErrorBoolean : public WriteAttribute ~WriteTestClusterGeneralErrorBoolean() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000031, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000031, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17308,9 +17308,9 @@ class WriteTestClusterClusterErrorBoolean : public WriteAttribute ~WriteTestClusterClusterErrorBoolean() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00000032, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00000032, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17334,9 +17334,9 @@ class WriteTestClusterUnsupported : public WriteAttribute ~WriteTestClusterUnsupported() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x000000FF, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x000000FF, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17361,9 +17361,9 @@ class WriteTestClusterNullableBoolean : public WriteAttribute ~WriteTestClusterNullableBoolean() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008000, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008000, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17388,9 +17388,9 @@ class WriteTestClusterNullableBitmap8 : public WriteAttribute ~WriteTestClusterNullableBitmap8() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008001, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008001, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17415,9 +17415,9 @@ class WriteTestClusterNullableBitmap16 : public WriteAttribute ~WriteTestClusterNullableBitmap16() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008002, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008002, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17442,9 +17442,9 @@ class WriteTestClusterNullableBitmap32 : public WriteAttribute ~WriteTestClusterNullableBitmap32() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008003, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008003, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17469,9 +17469,9 @@ class WriteTestClusterNullableBitmap64 : public WriteAttribute ~WriteTestClusterNullableBitmap64() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008004, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008004, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17495,9 +17495,9 @@ class WriteTestClusterNullableInt8u : public WriteAttribute ~WriteTestClusterNullableInt8u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17522,9 +17522,9 @@ class WriteTestClusterNullableInt16u : public WriteAttribute ~WriteTestClusterNullableInt16u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008006, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008006, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17549,9 +17549,9 @@ class WriteTestClusterNullableInt24u : public WriteAttribute ~WriteTestClusterNullableInt24u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008007, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008007, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17576,9 +17576,9 @@ class WriteTestClusterNullableInt32u : public WriteAttribute ~WriteTestClusterNullableInt32u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008008, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008008, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17603,9 +17603,9 @@ class WriteTestClusterNullableInt40u : public WriteAttribute ~WriteTestClusterNullableInt40u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008009, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008009, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17630,9 +17630,9 @@ class WriteTestClusterNullableInt48u : public WriteAttribute ~WriteTestClusterNullableInt48u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800A, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800A, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17657,9 +17657,9 @@ class WriteTestClusterNullableInt56u : public WriteAttribute ~WriteTestClusterNullableInt56u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800B, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800B, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17684,9 +17684,9 @@ class WriteTestClusterNullableInt64u : public WriteAttribute ~WriteTestClusterNullableInt64u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800C, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800C, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17710,9 +17710,9 @@ class WriteTestClusterNullableInt8s : public WriteAttribute ~WriteTestClusterNullableInt8s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800D, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800D, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17737,9 +17737,9 @@ class WriteTestClusterNullableInt16s : public WriteAttribute ~WriteTestClusterNullableInt16s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800E, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800E, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17764,9 +17764,9 @@ class WriteTestClusterNullableInt24s : public WriteAttribute ~WriteTestClusterNullableInt24s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000800F, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000800F, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17791,9 +17791,9 @@ class WriteTestClusterNullableInt32s : public WriteAttribute ~WriteTestClusterNullableInt32s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008010, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008010, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17818,9 +17818,9 @@ class WriteTestClusterNullableInt40s : public WriteAttribute ~WriteTestClusterNullableInt40s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008011, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008011, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17845,9 +17845,9 @@ class WriteTestClusterNullableInt48s : public WriteAttribute ~WriteTestClusterNullableInt48s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008012, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008012, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17872,9 +17872,9 @@ class WriteTestClusterNullableInt56s : public WriteAttribute ~WriteTestClusterNullableInt56s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008013, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008013, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17899,9 +17899,9 @@ class WriteTestClusterNullableInt64s : public WriteAttribute ~WriteTestClusterNullableInt64s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008014, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008014, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17925,9 +17925,9 @@ class WriteTestClusterNullableEnum8 : public WriteAttribute ~WriteTestClusterNullableEnum8() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008015, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008015, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17952,9 +17952,9 @@ class WriteTestClusterNullableEnum16 : public WriteAttribute ~WriteTestClusterNullableEnum16() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008016, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008016, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -17979,9 +17979,9 @@ class WriteTestClusterNullableFloatSingle : public WriteAttribute ~WriteTestClusterNullableFloatSingle() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008017, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008017, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18006,9 +18006,9 @@ class WriteTestClusterNullableFloatDouble : public WriteAttribute ~WriteTestClusterNullableFloatDouble() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008018, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008018, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18033,9 +18033,9 @@ class WriteTestClusterNullableOctetString : public WriteAttribute ~WriteTestClusterNullableOctetString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008019, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008019, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18060,9 +18060,9 @@ class WriteTestClusterNullableCharString : public WriteAttribute ~WriteTestClusterNullableCharString() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x0000801E, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x0000801E, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18087,9 +18087,9 @@ class WriteTestClusterNullableEnumAttr : public WriteAttribute ~WriteTestClusterNullableEnumAttr() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008024, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008024, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18114,9 +18114,9 @@ class WriteTestClusterNullableStruct : public WriteAttribute ~WriteTestClusterNullableStruct() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008025, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008025, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18142,9 +18142,9 @@ class WriteTestClusterNullableRangeRestrictedInt8u : public WriteAttribute ~WriteTestClusterNullableRangeRestrictedInt8u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008026, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008026, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18169,9 +18169,9 @@ class WriteTestClusterNullableRangeRestrictedInt8s : public WriteAttribute ~WriteTestClusterNullableRangeRestrictedInt8s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008027, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008027, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18196,9 +18196,9 @@ class WriteTestClusterNullableRangeRestrictedInt16u : public WriteAttribute ~WriteTestClusterNullableRangeRestrictedInt16u() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008028, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008028, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18223,9 +18223,9 @@ class WriteTestClusterNullableRangeRestrictedInt16s : public WriteAttribute ~WriteTestClusterNullableRangeRestrictedInt16s() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x0000050F, 0x00008029, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x0000050F, 0x00008029, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18266,11 +18266,11 @@ class MessagingGetLastMessage : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000703, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000703, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18300,11 +18300,11 @@ class MessagingMessageConfirmation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000703, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000703, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18331,11 +18331,11 @@ class MessagingGetMessageCancellation : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000002) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000703) command (0x00000002) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000703, 0x00000002, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000703, 0x00000002, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18416,9 +18416,9 @@ class WriteMeterIdentificationCustomerName : public WriteAttribute ~WriteMeterIdentificationCustomerName() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B01, 0x00000005, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B01, 0x00000005, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18457,11 +18457,11 @@ class ApplianceEventsAndAlertGetAlerts : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000B02) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000B02) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000B02, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000B02, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18506,11 +18506,11 @@ class ApplianceStatisticsLogRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000B03) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000B03) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000B03, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000B03, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18536,11 +18536,11 @@ class ApplianceStatisticsLogQueueRequest : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000B03) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000B03) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000B03, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000B03, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18711,11 +18711,11 @@ class ElectricalMeasurementGetProfileInfoCommand : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000B04) command (0x00000000) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000B04) command (0x00000000) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000B04, 0x00000000, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000000, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18744,11 +18744,11 @@ class ElectricalMeasurementGetMeasurementProfileCommand : public ClusterCommand ClusterCommand::AddArguments(); } - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - ChipLogProgress(chipTool, "Sending cluster (0x00000B04) command (0x00000001) on endpoint %" PRIu16, endpointId); + ChipLogProgress(chipTool, "Sending cluster (0x00000B04) command (0x00000001) on endpoint %" PRIu16, endpointIds.at(0)); - return ClusterCommand::SendCommand(device, endpointId, 0x00000B04, 0x00000001, mRequest); + return ClusterCommand::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000001, mRequest); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18775,9 +18775,9 @@ class WriteElectricalMeasurementAverageRmsVoltageMeasurementPeriod : public Writ ~WriteElectricalMeasurementAverageRmsVoltageMeasurementPeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000511, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000511, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18802,9 +18802,9 @@ class WriteElectricalMeasurementAverageRmsUnderVoltageCounter : public WriteAttr ~WriteElectricalMeasurementAverageRmsUnderVoltageCounter() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000513, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000513, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18829,9 +18829,9 @@ class WriteElectricalMeasurementRmsExtremeOverVoltagePeriod : public WriteAttrib ~WriteElectricalMeasurementRmsExtremeOverVoltagePeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000514, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000514, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18856,9 +18856,9 @@ class WriteElectricalMeasurementRmsExtremeUnderVoltagePeriod : public WriteAttri ~WriteElectricalMeasurementRmsExtremeUnderVoltagePeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000515, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000515, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18883,9 +18883,9 @@ class WriteElectricalMeasurementRmsVoltageSagPeriod : public WriteAttribute ~WriteElectricalMeasurementRmsVoltageSagPeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000516, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000516, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18910,9 +18910,9 @@ class WriteElectricalMeasurementRmsVoltageSwellPeriod : public WriteAttribute ~WriteElectricalMeasurementRmsVoltageSwellPeriod() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000517, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000517, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18937,9 +18937,9 @@ class WriteElectricalMeasurementOverloadAlarmsMask : public WriteAttribute ~WriteElectricalMeasurementOverloadAlarmsMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000700, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000700, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override @@ -18964,9 +18964,9 @@ class WriteElectricalMeasurementAcOverloadAlarmsMask : public WriteAttribute ~WriteElectricalMeasurementAcOverloadAlarmsMask() {} - CHIP_ERROR SendCommand(ChipDevice * device, chip::EndpointId endpointId) override + CHIP_ERROR SendCommand(ChipDevice * device, std::vector endpointIds) override { - return WriteAttribute::SendCommand(device, endpointId, 0x00000B04, 0x00000800, mValue); + return WriteAttribute::SendCommand(device, endpointIds.at(0), 0x00000B04, 0x00000800, mValue); } CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex, chip::NodeId senderNodeId) override