diff --git a/examples/bridge-app/linux/main.cpp b/examples/bridge-app/linux/main.cpp index df297b04472761..2fa20a30a8875d 100644 --- a/examples/bridge-app/linux/main.cpp +++ b/examples/bridge-app/linux/main.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/dynamic-bridge-app/linux/main.cpp b/examples/dynamic-bridge-app/linux/main.cpp index e3a550a8297166..d67b7bf0be2edf 100644 --- a/examples/dynamic-bridge-app/linux/main.cpp +++ b/examples/dynamic-bridge-app/linux/main.cpp @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/IMClusterCommandHandler.cpp b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/IMClusterCommandHandler.cpp index de20da021761d1..bc4f23ab7fab79 100644 --- a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/IMClusterCommandHandler.cpp +++ b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/IMClusterCommandHandler.cpp @@ -30,9 +30,6 @@ #include #include -// Currently we need some work to keep compatible with ember lib. -#include - namespace chip { namespace app { @@ -2052,8 +2049,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { - Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: @@ -2148,8 +2143,6 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::UnsupportedCluster); break; } - - Compatibility::ResetEmberAfObjects(); } } // namespace app diff --git a/scripts/tools/zap/tests/outputs/lighting-app/app-templates/IMClusterCommandHandler.cpp b/scripts/tools/zap/tests/outputs/lighting-app/app-templates/IMClusterCommandHandler.cpp index 931f8329e5a1b9..f4a0e4d80406fa 100644 --- a/scripts/tools/zap/tests/outputs/lighting-app/app-templates/IMClusterCommandHandler.cpp +++ b/scripts/tools/zap/tests/outputs/lighting-app/app-templates/IMClusterCommandHandler.cpp @@ -30,9 +30,6 @@ #include #include -// Currently we need some work to keep compatible with ember lib. -#include - namespace chip { namespace app { @@ -1179,8 +1176,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { - Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: @@ -1239,8 +1234,6 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::UnsupportedCluster); break; } - - Compatibility::ResetEmberAfObjects(); } } // namespace app diff --git a/src/app/chip-zcl-zpro-codec.h b/src/app/chip-zcl-zpro-codec.h deleted file mode 100644 index a1a20639c7895a..00000000000000 --- a/src/app/chip-zcl-zpro-codec.h +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Copyright (c) 2020 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#pragma once - -#include -#include -#include - -typedef uint16_t EmberApsOption; - -/** @brief An in-memory representation of a ZigBee APS frame - * of an incoming or outgoing message. Copy pasted here so that we can compile this unit of code independently. - */ -typedef struct -{ - /** The cluster ID for this message. */ - chip::ClusterId clusterId; - /** The source endpoint. */ - chip::EndpointId sourceEndpoint; - /** The destination endpoint. */ - chip::EndpointId destinationEndpoint; - /** A bitmask of options from the enumeration above. */ - EmberApsOption options; - /** The group ID for this message, if it is multicast mode. */ - chip::GroupId groupId; - /** The sequence number. */ - uint8_t sequence; - uint8_t radius; -} EmberApsFrame; diff --git a/src/app/server/Server.cpp b/src/app/server/Server.cpp index e2e1824b008177..72536f98504a68 100644 --- a/src/app/server/Server.cpp +++ b/src/app/server/Server.cpp @@ -240,7 +240,7 @@ CHIP_ERROR Server::Init(const ServerInitParams & initParams) #endif // CHIP_CONFIG_ENABLE_SERVER_IM_EVENT // This initializes clusters, so should come after lower level initialization. - InitDataModelHandler(&mExchangeMgr); + InitDataModelHandler(); #if defined(CHIP_APP_USE_ECHO) err = InitEchoHandler(&mExchangeMgr); diff --git a/src/app/tests/TestCommissionManager.cpp b/src/app/tests/TestCommissionManager.cpp index a1f5243e3bed8d..e2886f16dbdeab 100644 --- a/src/app/tests/TestCommissionManager.cpp +++ b/src/app/tests/TestCommissionManager.cpp @@ -35,7 +35,7 @@ using chip::CommissioningWindowManager; using chip::Server; // Mock function for linking -void InitDataModelHandler(chip::Messaging::ExchangeManager * exchangeMgr) {} +void InitDataModelHandler() {} namespace { bool sAdminFabricIndexDirty = false; diff --git a/src/app/util/DataModelHandler.cpp b/src/app/util/DataModelHandler.cpp index d02463bc51d30a..990e8a5ceb67b5 100644 --- a/src/app/util/DataModelHandler.cpp +++ b/src/app/util/DataModelHandler.cpp @@ -31,11 +31,11 @@ using namespace ::chip; -void InitDataModelHandler(chip::Messaging::ExchangeManager * exchangeManager) +void InitDataModelHandler() { #ifdef USE_ZAP_CONFIG ChipLogProgress(Zcl, "Using ZAP configuration..."); emberAfEndpointConfigure(); - emberAfInit(exchangeManager); + emberAfInit(); #endif } diff --git a/src/app/util/DataModelHandler.h b/src/app/util/DataModelHandler.h index b00cdd8ec5a177..025d9b56f76fe2 100644 --- a/src/app/util/DataModelHandler.h +++ b/src/app/util/DataModelHandler.h @@ -32,4 +32,4 @@ * data model messages. * */ -void InitDataModelHandler(chip::Messaging::ExchangeManager * exchangeMgr); +void InitDataModelHandler(); diff --git a/src/app/util/af-types.h b/src/app/util/af-types.h index ef2252a267fa45..5dfd7805e86222 100644 --- a/src/app/util/af-types.h +++ b/src/app/util/af-types.h @@ -164,166 +164,6 @@ typedef uint64_t EmberAfDifferenceType; typedef uint32_t EmberAfDifferenceType; #endif -/** - * @brief a struct containing the superset of values - * passed to both emberIncomingMessageHandler on the SOC and - * ezspIncomingMessageHandler on the host. - */ -typedef struct -{ - /** - * The type of the incoming message - */ - EmberIncomingMessageType type; - /** - * APS frame for the incoming message - */ - EmberApsFrame * apsFrame; - /** - * The message copied into a flat buffer - */ - uint8_t * message; - /** - * Length of the incoming message - */ - uint16_t msgLen; - /** - * Two byte node id of the sending node. - */ - uint16_t source; - /** - * Link quality from the node that last relayed - * the message. - */ - uint8_t lastHopLqi; - /** - * The energy level (in units of dBm) observed during the reception. - */ - int8_t lastHopRssi; - /** - * The index of a binding that matches the message - * or 0xFF if there is no matching binding. - */ - uint8_t bindingTableIndex; - /** - * The index of the entry in the address table - * that matches the sender of the message or 0xFF - * if there is no matching entry. - */ - uint8_t addressTableIndex; - /** - * The index of the network on which this message was received. - */ - uint8_t networkIndex; -} EmberAfIncomingMessage; - -/** - * @brief Interpan Message type: unicast, broadcast, or multicast. - */ -typedef uint8_t EmberAfInterpanMessageType; -#define EMBER_AF_INTER_PAN_UNICAST 0x00 -#define EMBER_AF_INTER_PAN_BROADCAST 0x08 -#define EMBER_AF_INTER_PAN_MULTICAST 0x0C - -// Legacy names -#define INTER_PAN_UNICAST EMBER_AF_INTER_PAN_UNICAST -#define INTER_PAN_BROADCAST EMBER_AF_INTER_PAN_BROADCAST -#define INTER_PAN_MULTICAST EMBER_AF_INTER_PAN_MULTICAST - -#define EMBER_AF_INTERPAN_OPTION_NONE 0x0000 -#define EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT 0x0001 -#define EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS 0x0002 - -/** - * @brief The options for sending/receiving interpan messages. - */ -typedef uint16_t EmberAfInterpanOptions; - -/** - * @brief Interpan header used for sending and receiving interpan - * messages. - */ -typedef struct -{ - EmberAfInterpanMessageType messageType; - - /** - * MAC addressing - * For outgoing messages this is the destination. For incoming messages - * it is the source, which always has a long address. - */ - EmberEUI64 longAddress; - EmberNodeId shortAddress; - EmberPanId panId; - - /** - * APS data - */ - chip::ClusterId clusterId; - /** - * The groupId is only used for - * EMBER_AF_INTERPAN_MULTICAST - */ - chip::GroupId groupId; - EmberAfInterpanOptions options; -} EmberAfInterpanHeader; - -// Legacy Name -#define InterPanHeader EmberAfInterpanHeader - -/** - * @brief The options for what interpan messages are allowed. - */ -typedef uint8_t EmberAfAllowedInterpanOptions; - -#define EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER 0x01 -#define EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT 0x02 -#define EMBER_AF_INTERPAN_DIRECTION_BOTH 0x03 -#define EMBER_AF_INTERPAN_GLOBAL_COMMAND 0x04 -#define EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC 0x08 - -/** - * @brief This structure is used define an interpan message that - * will be accepted by the interpan filters. - */ -typedef struct -{ - chip::ClusterId clusterId; - chip::CommandId commandId; - EmberAfAllowedInterpanOptions options; -} EmberAfAllowedInterPanMessage; - -/** - * @brief The EmberAFClusterCommand is a struct wrapper - * for all the data pertaining to a command which comes - * in over the air. This enables struct is used to - * encapsulate a command in a single place on the stack - * and pass a pointer to that location around during - * command processing - */ -struct EmberAfClusterCommand -{ - chip::NodeId SourceNodeId() const { return source->GetSessionHandle()->AsSecureSession()->GetPeerNodeId(); } - - /** - * APS frame for the incoming message - */ - EmberApsFrame * apsFrame; - EmberIncomingMessageType type; - chip::Messaging::ExchangeContext * source; - uint8_t * buffer; - uint16_t bufLen; - bool clusterSpecific; - bool mfgSpecific; - uint16_t mfgCode; - uint8_t seqNum; - chip::CommandId commandId; - uint8_t payloadStartIndex; - uint8_t direction; - EmberAfInterpanHeader * interPanHeader; - uint8_t networkIndex; -}; - /** * @brief Endpoint type struct describes clusters that are on the endpoint. */ @@ -391,115 +231,6 @@ struct EmberAfDefinedEndpoint // Cluster specific types -/** - * @brief This is an enum used to indicate the result of the - * service discovery. Unicast discoveries are completed - * as soon as a response is received. Broadcast discoveries - * wait a period of time for multiple responses to be received. - */ -typedef enum -{ - EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE = 0x00, - EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED = 0x01, - EMBER_AF_UNICAST_SERVICE_DISCOVERY_TIMEOUT = 0x02, - EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE = 0x03, - EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE = 0x04, - EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE = 0x05, - EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE = 0x06, -} EmberAfServiceDiscoveryStatus; - -#define EM_AF_DISCOVERY_RESPONSE_MASK (0x05) - -/** - * @brief A simple way to determine if the service discovery callback - * has a response. - */ -#define emberAfHaveDiscoveryResponseStatus(status) ((status) &EM_AF_DISCOVERY_RESPONSE_MASK) - -/** - * @brief A structure containing general information about the service discovery. - */ -typedef struct -{ - /** - * The status indicates both the type of request (broadcast or unicast) - * and whether a response has been received. - */ - EmberAfServiceDiscoveryStatus status; - - /** - * This indicates what ZDO request cluster was associated with the request. - * It is helpful for a callback that may be used for multiple ZDO request types - * to determine the type of data returned. This will be based on the - * ZDO cluster values defined in ember-types.h. - */ - uint16_t zdoRequestClusterId; - - /** - * This is the address of the device that matched the request, which may - * be different than the device that *actually* is responding. This occurs - * when parents respond on behalf of their children. - */ - EmberNodeId matchAddress; - - /** - * Only if the status code indicates a response will this data be non-NULL. - * When there is data, the type is according to the ZDO cluster ID sent out. - * For NETWORK_ADDRESS_REQUEST or IEEE_ADDRESS_REQUEST, the long ID will - * be contained in the responseData, so it will be a value of type ::EmberEUI64. - * The short ID will be in the matchAddress parameter field. - * For the MATCH_DESCRIPTORS_REQUEST the responseData will point - * to an ::EmberAfEndpointList structure. - */ - const void * responseData; -} EmberAfServiceDiscoveryResult; - -/** - * @brief A list of endpoints received during a service discovery attempt. - * This will be returned for a match descriptor request and a - * active endpoint request. - */ -typedef struct -{ - uint8_t count; - const chip::EndpointId * list; -} EmberAfEndpointList; - -/** - * @brief A list of clusters received during a service discovery attempt. - * This will be returned for a simple descriptor request. - */ -typedef struct -{ - uint8_t inClusterCount; - const chip::ClusterId * inClusterList; - uint8_t outClusterCount; - const chip::ClusterId * outClusterList; - uint16_t deviceId; - chip::EndpointId endpoint; -} EmberAfClusterList; - -/** - * @brief This defines a callback where a code element or cluster can be informed - * as to the result of a service discovery they have requested. - * For each match, the callback is fired with all the resulting matches from - * that source. If the discovery was unicast to a specific device, then - * the callback will only be fired once with either MATCH_FOUND or COMPLETE - * (no matches found). If the discovery is broadcast then multiple callbacks - * may be fired with ::EMBER_AF_SERVICE_DISCOVERY_RESPONSE_RECEIVED. - * After a couple seconds the callback will then be fired with - * ::EMBER_AF_SERVICE_DISCOVERY_COMPLETE as the result. - */ -typedef void(EmberAfServiceDiscoveryCallback)(const EmberAfServiceDiscoveryResult * result); - -/** - * @brief This defines a callback where a code element or cluster can be - * informed as to the result of a request to initiate a partner link key - * exchange. The callback will be triggered with success equal to true if the - * exchange completed successfully. - */ -typedef void(EmberAfPartnerLinkKeyExchangeCallback)(bool success); - /** * @brief This is an enum used to control how the device will poll for a given * active cluster-related event. When the event is scheduled, the application @@ -656,150 +387,6 @@ typedef void (*EmberAfEndpointEventHandler)(chip::EndpointId endpoint); */ #define ZCL_SCENES_GLOBAL_SCENE_SCENE_ID 0x00 -/** - * @brief Specifies CPP Authorization values - */ -#ifdef DOXYGEN_SHOULD_SKIP_THIS -enum EmberAfPluginPriceCppAuth -#else -typedef uint8_t EmberAfPluginPriceCppAuth; -enum -#endif -{ - EMBER_AF_PLUGIN_PRICE_CPP_AUTH_PENDING = 0, - EMBER_AF_PLUGIN_PRICE_CPP_AUTH_ACCEPTED = 1, - EMBER_AF_PLUGIN_PRICE_CPP_AUTH_REJECTED = 2, - EMBER_AF_PLUGIN_PRICE_CPP_AUTH_FORCED = 3, - EMBER_AF_PLUGIN_PRICE_CPP_AUTH_RESERVED = 4 -}; - -typedef enum -{ - EMBER_AF_PLUGIN_TUNNELING_CLIENT_SUCCESS = 0x00, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_BUSY = 0x01, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_NO_MORE_TUNNEL_IDS = 0x02, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_PROTOCOL_NOT_SUPPORTED = 0x03, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_FLOW_CONTROL_NOT_SUPPORTED = 0x04, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_REQUEST_FAILED = 0xF9, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_NOT_FOUND = 0xFA, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_ADDRESS_TABLE_FULL = 0xFB, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_REQUEST_FAILED = 0xFC, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_FAILED = 0xFD, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_FAILED = 0xFE, - EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_TIMEOUT = 0xFF, -} EmberAfPluginTunnelingClientStatus; - -#ifdef EMBER_AF_PLUGIN_ZLL_COMMISSIONING_COMMON -/** - * @brief Status codes used by the ZLL Commissioning plugin. - */ -#ifdef DOXYGEN_SHOULD_SKIP_THIS -enum EmberAfZllCommissioningStatus -#else -typedef uint8_t EmberAfZllCommissioningStatus; -enum -#endif -{ - EMBER_AF_ZLL_ABORTED_BY_APPLICATION = 0x00, - EMBER_AF_ZLL_CHANNEL_CHANGE_FAILED = 0x01, - EMBER_AF_ZLL_JOINING_FAILED = 0x02, - EMBER_AF_ZLL_NO_NETWORKS_FOUND = 0x03, - EMBER_AF_ZLL_PREEMPTED_BY_STACK = 0x04, - EMBER_AF_ZLL_SENDING_START_JOIN_FAILED = 0x05, - EMBER_AF_ZLL_SENDING_DEVICE_INFORMATION_REQUEST_FAILED = 0x06, - EMBER_AF_ZLL_SENDING_IDENTIFY_REQUEST_FAILED = 0x07, - EMBER_AF_ZLL_SENDING_RESET_TO_FACTORY_NEW_REQUEST_FAILED = 0x08, - EMBER_AF_ZLL_NETWORK_FORMATION_FAILED = 0x09, - EMBER_AF_ZLL_NETWORK_UPDATE_OPERATION = 0x0A, -}; - -/** - * @brief A structure used to represent Group Information Records used by ZLL - * Commissioning. - */ -typedef struct -{ - chip::GroupId groupId; - uint8_t groupType; -} EmberAfPluginZllCommissioningGroupInformationRecord; - -/** - * @brief A structure used to represent Endpoint Information Records used by - * ZLL Commissioning. - */ -typedef struct -{ - EmberNodeId networkAddress; - chip::EndpointId endpointId; - uint16_t deviceId; - uint8_t version; -} EmberAfPluginZllCommissioningEndpointInformationRecord; -#endif - -typedef enum -{ - NO_APP_MESSAGE = 0, - RECEIVED_PARTNER_CERTIFICATE = 1, - GENERATING_EPHEMERAL_KEYS = 2, - GENERATING_SHARED_SECRET = 3, - KEY_GENERATION_DONE = 4, - GENERATE_SHARED_SECRET_DONE = 5, - /** - * LINK_KEY_ESTABLISHED indicates Success, - * key establishment done. - */ - LINK_KEY_ESTABLISHED = 6, - - /** - * Error codes: - * Transient failures where Key Establishment could be retried - */ - NO_LOCAL_RESOURCES = 7, - PARTNER_NO_RESOURCES = 8, - TIMEOUT_OCCURRED = 9, - INVALID_APP_COMMAND = 10, - MESSAGE_SEND_FAILURE = 11, - PARTNER_SENT_TERMINATE = 12, - INVALID_PARTNER_MESSAGE = 13, - PARTNER_SENT_DEFAULT_RESPONSE_ERROR = 14, - - /** - * Fatal Errors: - * These results are not worth retrying because the outcome - * will not change - */ - BAD_CERTIFICATE_ISSUER = 15, - KEY_CONFIRM_FAILURE = 16, - BAD_KEY_ESTABLISHMENT_SUITE = 17, - - KEY_TABLE_FULL = 18, - - /** - * Neither initiator nor responder is an - * ESP/TC so the key establishment is not - * allowed per the spec. - */ - NO_ESTABLISHMENT_ALLOWED = 19, - - /* 283k1 certificates need to have valid key usage - */ - INVALID_CERTIFICATE_KEY_USAGE = 20, -} EmberAfKeyEstablishmentNotifyMessage; - -#define APP_NOTIFY_ERROR_CODE_START NO_LOCAL_RESOURCES -#define APP_NOTIFY_MESSAGE_TEXT \ - { \ - "None", "Received Cert", "Generate keys", "Generate secret", "Key generate done", "Generate secret done", \ - "Link key verified", \ - \ - /* Transient Error codes */ \ - "No local resources", "Partner no resources", "Timeout", "Invalid app. command", "Message send failure", \ - "Partner sent terminate", "Bad message", "Partner sent Default Rsp", \ - \ - /* Fatal errors */ \ - "Bad cert issuer", "Key confirm failure", "Bad key est. suite", "Key table full", "Not allowed", "Invalid Key Usage", \ - } - /** * @brief Type for referring to the tick callback for cluster. * @@ -833,192 +420,16 @@ typedef EmberAfStatus (*EmberAfClusterPreAttributeChangedCallback)(const chip::a EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); -/** - * @brief Type for referring to the default response callback function. - * - * This function is called when default response is received, before - * the global callback. Global callback is called immediately afterwards. - */ -typedef void (*EmberAfDefaultResponseFunction)(chip::EndpointId endpoint, chip::CommandId commandId, EmberAfStatus status); - -namespace chip { -/** - * @brief a type that represents where we are trying to send a message. - * The variant type identifies which arm of the union is in use. - */ -class MessageSendDestination -{ -public: - MessageSendDestination(MessageSendDestination & that) = default; - MessageSendDestination(const MessageSendDestination & that) = default; - MessageSendDestination(MessageSendDestination && that) = default; - - static MessageSendDestination ViaBinding(uint8_t bindingIndex) - { - return MessageSendDestination(VariantViaBinding(bindingIndex)); - } - - static MessageSendDestination Direct(NodeId nodeId) { return MessageSendDestination(VariantDirect(nodeId)); } - - static MessageSendDestination Multicast(GroupId groupId) { return MessageSendDestination(VariantMulticast(groupId)); } - - static MessageSendDestination MulticastWithAlias(GroupId groupId) - { - return MessageSendDestination(VariantMulticastWithAlias(groupId)); - } - - static MessageSendDestination ViaExchange(Messaging::ExchangeContext * exchangeContext) - { - return MessageSendDestination(VariantViaExchange(exchangeContext)); - } - - bool IsViaBinding() const { return mDestination.Is(); } - bool IsDirect() const { return mDestination.Is(); } - bool IsViaExchange() const { return mDestination.Is(); } - - uint8_t GetBindingIndex() const { return mDestination.Get().mBindingIndex; } - NodeId GetDirectNodeId() const { return mDestination.Get().mNodeId; } - Messaging::ExchangeContext * GetExchangeContext() const { return mDestination.Get().mExchangeContext; } - -private: - struct VariantViaBinding - { - explicit VariantViaBinding(uint8_t bindingIndex) : mBindingIndex(bindingIndex) {} - uint8_t mBindingIndex; - }; - - struct VariantViaAddressTable - { - }; - - struct VariantDirect - { - explicit VariantDirect(NodeId nodeId) : mNodeId(nodeId) {} - NodeId mNodeId; - }; - - struct VariantMulticast - { - explicit VariantMulticast(GroupId groupId) : mGroupId(groupId) {} - GroupId mGroupId; - }; - - struct VariantMulticastWithAlias - { - explicit VariantMulticastWithAlias(GroupId groupId) : mGroupId(groupId) {} - GroupId mGroupId; - }; - - struct VariantBroadcast - { - }; - - struct VariantBroadcastWithAlias - { - }; - - struct VariantViaExchange - { - explicit VariantViaExchange(Messaging::ExchangeContext * exchangeContext) : mExchangeContext(exchangeContext) {} - Messaging::ExchangeContext * mExchangeContext; - }; - - template - MessageSendDestination(Destination && destination) - { - mDestination.Set(std::forward(destination)); - } - - Variant - mDestination; -}; -} // namespace chip - -/** - * @brief Type for referring to the message sent callback function. - * - * This function is called when a message is sent. - */ -typedef void (*EmberAfMessageSentFunction)(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** - * @brief The EmberAfMessageStruct is a struct wrapper that - * contains all the data about a low-level message to be - * sent (it may be ZCL or may be some other protocol). - */ -typedef struct -{ - EmberAfMessageSentFunction callback; - EmberApsFrame * apsFrame; - uint8_t * message; - const chip::MessageSendDestination destination; - uint16_t messageLength; - bool broadcast; -} EmberAfMessageStruct; - /** * @brief The length of the hardware tag in the Ember Bootloader Query * Response. */ #define EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH 16 -/** - * @brief A data struct for the information retrieved during a response - * to an Ember Bootloader over-the-air query. - */ -typedef struct -{ - uint8_t hardwareTag[EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH]; - uint8_t eui64[EUI64_SIZE]; - uint16_t mfgId; - uint16_t bootloaderVersion; - uint8_t capabilities; - uint8_t platform; - uint8_t micro; - uint8_t phy; - bool bootloaderActive; -} EmberAfStandaloneBootloaderQueryResponseData; - -/** - * @brief A data struct used to keep track of incoming and outgoing - * commands for command discovery - */ -typedef struct -{ - uint16_t clusterId; - chip::CommandId commandId; - uint8_t mask; -} EmberAfCommandMetadata; - -/** - * @brief A data structure used to describe the time in a human - * understandable format (as opposed to 32-bit UTC) - */ - -typedef struct -{ - uint16_t year; - uint8_t month; - uint8_t day; - uint8_t hours; - uint8_t minutes; - uint8_t seconds; -} EmberAfTimeStruct; - /** * @brief A data structure used to describe the ZCL Date data type */ -typedef struct -{ - uint8_t year; - uint8_t month; - uint8_t dayOfMonth; - uint8_t dayOfWeek; -} EmberAfDate; - /* Simple Metering Server Test Code */ #define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER 0 #define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER 1 diff --git a/src/app/util/af.h b/src/app/util/af.h index 4b14f706ee8cb7..22016cddf77d2e 100644 --- a/src/app/util/af.h +++ b/src/app/util/af.h @@ -501,53 +501,6 @@ EmberStatus emberEventControlSetDelayMS(EmberEventControl * control, uint32_t de */ void emberAfSetCommandEndpoints(chip::EndpointId sourceEndpoint, chip::EndpointId destinationEndpoint); -/** - * @brief Use this function to find devices in the network with endpoints - * matching a given cluster ID in their descriptors. - * Target may either be a specific device, or the broadcast - * address EMBER_RX_ON_WHEN_IDLE_BROADCAST_ADDRESS. - * - * With this function a service discovery is initiated and received - * responses are returned by executing the callback function passed in. - * For unicast discoveries, the callback will be executed only once. - * Either the target will return a result or a timeout will occur. - * For broadcast discoveries, the callback may be called multiple times - * and after a period of time the discovery will be finished with a final - * call to the callback. - * - * @param target The destination node ID for the discovery; either a specific - * node's ID or EMBER_RX_ON_WHEN_IDLE_BROADCAST_ADDRESS. - * @param clusterId The cluster being discovered. - * @param serverCluster EMBER_AF_SERVER_CLUSTER_DISCOVERY (true) if discovering - * servers for the target cluster; EMBER_AF_CLIENT_CLUSTER_DISCOVERY (false) - * if discovering clients for that cluster. - * @param callback Function pointer for the callback function triggered when - * a match is discovered. (For broadcast discoveries, this is called once per - * matching node, even if a node has multiple matching endpoints.) - */ -EmberStatus emberAfFindDevicesByCluster(EmberNodeId target, chip::ClusterId clusterId, bool serverCluster, - EmberAfServiceDiscoveryCallback * callback); - -#if !defined(DOXYGEN_SHOULD_SKIP_THIS) -/** - * @brief Use this macro to retrieve the current command. This - * macro may only be used within the command parsing context. For instance - * Any of the command handling callbacks may use this macro. If this macro - * is used outside the command context, the returned EmberAfClusterCommand pointer - * will be null. - */ -#define emberAfCurrentCommand() (emAfCurrentCommand) -extern EmberAfClusterCommand * emAfCurrentCommand; -#endif - -/** - * @brief returns the current endpoint that is being served. - * - * The purpose of this macro is mostly to access endpoint that - * is being served in the command callbacks. - */ -#define emberAfCurrentEndpoint() (emberAfCurrentCommand()->apsFrame->destinationEndpoint) - /** @} END Messaging */ /** @name ZCL macros */ @@ -595,12 +548,6 @@ extern EmberAfClusterCommand * emAfCurrentCommand; #endif #endif -/** - * @brief API for parsing a cluster-specific message. Implemented by - * generated code. - */ -EmberAfStatus emberAfClusterSpecificCommandParse(EmberAfClusterCommand * cmd); - /** * Returns the pointer to the data version storage for the given endpoint and * cluster. Can return null in the following cases: diff --git a/src/app/util/common.h b/src/app/util/common.h index f78ae87d61da35..dc97f18419e5db 100644 --- a/src/app/util/common.h +++ b/src/app/util/common.h @@ -26,7 +26,6 @@ #include // the variables used to setup and send responses to cluster messages -extern EmberApsFrame emberAfResponseApsFrame; extern uint8_t appResponseData[EMBER_AF_RESPONSE_BUFFER_LEN]; extern uint16_t appResponseLength; extern chip::Messaging::ExchangeContext * emberAfResponseDestination; diff --git a/src/app/util/config.h b/src/app/util/config.h index d490c1d8107b56..54bfc7e87ca725 100644 --- a/src/app/util/config.h +++ b/src/app/util/config.h @@ -154,17 +154,6 @@ #define EMBER_ADDRESS_TABLE_SIZE (EMBER_AF_PLUGIN_ADDRESS_TABLE_SIZE + EMBER_AF_PLUGIN_ADDRESS_TABLE_TRUST_CENTER_CACHE_SIZE) #endif -#ifndef EMBER_AF_DEFAULT_APS_OPTIONS -// BUGZID 12261: Concentrators use MTORRs for route discovery and should not -// enable route discovery in the APS options. -#ifdef EMBER_AF_PLUGIN_CONCENTRATOR -#define EMBER_AF_DEFAULT_APS_OPTIONS (EMBER_APS_OPTION_RETRY | EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY) -#else -#define EMBER_AF_DEFAULT_APS_OPTIONS \ - (EMBER_APS_OPTION_RETRY | EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY | EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY) -#endif -#endif - // ******************************************************************* // // Default values for required defines // // diff --git a/src/app/util/ember-compatibility-functions.cpp b/src/app/util/ember-compatibility-functions.cpp index 5e935d927e5f71..0d4c00d4c5fb4c 100644 --- a/src/app/util/ember-compatibility-functions.cpp +++ b/src/app/util/ember-compatibility-functions.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -55,7 +54,6 @@ using namespace chip; using namespace chip::app; -using namespace chip::app::Compatibility; using namespace chip::Access; namespace chip { @@ -65,10 +63,6 @@ namespace { // On some apps, ATTRIBUTE_LARGEST can as small as 3, making compiler unhappy since data[kAttributeReadBufferSize] cannot hold // uint64_t. Make kAttributeReadBufferSize at least 8 so it can fit all basic types. constexpr size_t kAttributeReadBufferSize = (ATTRIBUTE_LARGEST >= 8 ? ATTRIBUTE_LARGEST : 8); -EmberAfClusterCommand imCompatibilityEmberAfCluster; -EmberApsFrame imCompatibilityEmberApsFrame; -EmberAfInterpanHeader imCompatibilityInterpanHeader; -CommandHandler * currentCommandObject; // BasicType maps the type to basic int(8|16|32|64)(s|u) types. EmberAfAttributeType BaseType(EmberAfAttributeType type) @@ -147,42 +141,10 @@ EmberAfAttributeType BaseType(EmberAfAttributeType type) } // namespace -void SetupEmberAfCommandHandler(CommandHandler * command, const ConcreteCommandPath & commandPath) -{ - Messaging::ExchangeContext * commandExchangeCtx = command->GetExchangeContext(); - - imCompatibilityEmberApsFrame.clusterId = commandPath.mClusterId; - imCompatibilityEmberApsFrame.destinationEndpoint = commandPath.mEndpointId; - imCompatibilityEmberApsFrame.sourceEndpoint = 1; // source endpoint is fixed to 1 for now. - imCompatibilityEmberApsFrame.sequence = - (commandExchangeCtx != nullptr ? static_cast(commandExchangeCtx->GetExchangeId() & 0xFF) : 0); - - if (commandExchangeCtx->IsGroupExchangeContext()) - { - imCompatibilityEmberAfCluster.type = EMBER_INCOMING_MULTICAST; - } - else - { - imCompatibilityEmberAfCluster.type = EMBER_INCOMING_UNICAST; - } - - imCompatibilityEmberAfCluster.commandId = commandPath.mCommandId; - imCompatibilityEmberAfCluster.apsFrame = &imCompatibilityEmberApsFrame; - imCompatibilityEmberAfCluster.interPanHeader = &imCompatibilityInterpanHeader; - imCompatibilityEmberAfCluster.source = commandExchangeCtx; - - emAfCurrentCommand = &imCompatibilityEmberAfCluster; - currentCommandObject = command; -} - -void ResetEmberAfObjects() -{ - emAfCurrentCommand = nullptr; - currentCommandObject = nullptr; -} - } // namespace Compatibility +using namespace chip::app::Compatibility; + namespace { // Common buffer for ReadSingleClusterData & WriteSingleClusterData uint8_t attributeData[kAttributeReadBufferSize]; diff --git a/src/app/util/ember-compatibility-functions.h b/src/app/util/ember-compatibility-functions.h deleted file mode 100644 index 493936aebae466..00000000000000 --- a/src/app/util/ember-compatibility-functions.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * - * Copyright (c) 2021 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * @file - * Contains the functions for compatibility with ember ZCL inner state - * when calling ember callbacks. - */ - -#pragma once - -#include -#include -#include -#include - -namespace chip { -namespace app { -namespace Compatibility { - -void SetupEmberAfCommandHandler(CommandHandler * command, const ConcreteCommandPath & commandPath); -void ResetEmberAfObjects(); - -} // namespace Compatibility -} // namespace app -} // namespace chip diff --git a/src/app/util/message.cpp b/src/app/util/message.cpp index 5c69f621a5db74..220983d78046af 100644 --- a/src/app/util/message.cpp +++ b/src/app/util/message.cpp @@ -31,7 +31,6 @@ using namespace chip; // only result in a single call to emberIncomingMsgHandler. If the device // receives multiple ZCL messages, the stack will queue these and hand // these to the application via emberIncomingMsgHandler one at a time. -EmberApsFrame emberAfResponseApsFrame; Messaging::ExchangeContext * emberAfResponseDestination; uint8_t appResponseData[EMBER_AF_RESPONSE_BUFFER_LEN]; uint16_t appResponseLength; @@ -52,7 +51,6 @@ void emberAfClearResponseData() emberAfResponseDestination = nullptr /* emberAfGetNodeId() */; memset(appResponseData, 0, EMBER_AF_RESPONSE_BUFFER_LEN); appResponseLength = 0; - memset(&emberAfResponseApsFrame, 0, sizeof(EmberApsFrame)); } uint8_t * emberAfPutInt8uInResp(uint8_t value) @@ -129,21 +127,6 @@ uint8_t * emberAfPutStringInResp(const uint8_t * buffer) return emberAfPutBlockInResp(buffer, static_cast(length + 1)); } -uint8_t * emberAfPutDateInResp(EmberAfDate * value) -{ - uint8_t * a = emberAfPutInt8uInResp(value->year); - uint8_t * b = emberAfPutInt8uInResp(value->month); - uint8_t * c = emberAfPutInt8uInResp(value->dayOfMonth); - uint8_t * d = emberAfPutInt8uInResp(value->dayOfWeek); - - if (a && b && c && d) - { - return a; - } - - return nullptr; -} - void emberAfPutInt16sInResp(int16_t value) { emberAfPutInt16uInResp(static_cast(value)); diff --git a/src/app/util/types_stub.h b/src/app/util/types_stub.h index d66c8b04a1d66a..c642da3343c7be 100644 --- a/src/app/util/types_stub.h +++ b/src/app/util/types_stub.h @@ -19,8 +19,6 @@ #include // For mem* functions. -#include // For EmberApsFrame - #include #include @@ -66,34 +64,6 @@ enum EMBER_EVENT_ZERO_DELAY }; -/** - * @brief Options to use when sending a message. - * - * The discover-route, APS-retry, and APS-indirect options may be used together. - * Poll response cannot be combined with any other options. - */ -#ifdef DOXYGEN_SHOULD_SKIP_THIS -enum EmberApsOption -#else -typedef uint16_t EmberApsOption; -enum -#endif -{ - /** Resend the message using the APS retry mechanism. - This option and the enable route discovery option must be enabled for - an existing route to be repaired automatically. */ - EMBER_APS_OPTION_RETRY = 0x0040, - /** Send the message with the NWK 'enable route discovery' flag, which - causes a route discovery to be initiated if no route to the destination - is known. Note that in the mesh stack, this option and the APS retry - option must be enabled an existing route to be repaired - automatically. */ - EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY = 0x0100, - /** Send a ZDO request to discover the node ID of the destination if it is - not already known. */ - EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY = 0x1000, -}; - /** * @brief Size of EUI64 (an IEEE address) in bytes (8). */ @@ -114,30 +84,6 @@ typedef uint16_t EmberNodeId; */ typedef uint16_t EmberPanId; -/** - * @brief Defines the possible incoming message types. - */ -#ifdef DOXYGEN_SHOULD_SKIP_THIS -enum EmberIncomingMessageType -#else -typedef uint8_t EmberIncomingMessageType; -enum -#endif -{ - /** Unicast. */ - EMBER_INCOMING_UNICAST, - /** Unicast reply. */ - EMBER_INCOMING_UNICAST_REPLY, - /** Multicast. */ - EMBER_INCOMING_MULTICAST, - /** Multicast sent by the local device. */ - EMBER_INCOMING_MULTICAST_LOOPBACK, - /** Broadcast. */ - EMBER_INCOMING_BROADCAST, - /** Broadcast sent by the local device. */ - EMBER_INCOMING_BROADCAST_LOOPBACK -}; - /** @brief Defines an entry in the binding table. * * A binding entry specifies a local endpoint, a remote endpoint, a diff --git a/src/app/util/util.cpp b/src/app/util/util.cpp index 3ed20d3ddfc744..f600497f2bf37f 100644 --- a/src/app/util/util.cpp +++ b/src/app/util/util.cpp @@ -23,7 +23,6 @@ #include #include #include -#include #include // TODO: figure out a clear path for compile-time codegen @@ -52,14 +51,6 @@ const EmberAfClusterName zclClusterNames[] = { { kInvalidClusterId, nullptr }, // terminator }; -// A pointer to the current command being processed -// This struct is allocated inside ember-compatibility-functions.cpp. -// The pointer below is set to NULL when not processing a command. -EmberAfClusterCommand * emAfCurrentCommand; - -// A pointer to the global exchange manager -chip::Messaging::ExchangeManager * emAfExchangeMgr = nullptr; - // DEPRECATED. uint8_t emberAfIncomingZclSequenceNumber = 0xFF; @@ -67,7 +58,6 @@ uint8_t emberAfIncomingZclSequenceNumber = 0xFF; // not responses. uint8_t emberAfSequenceNumber = 0xFF; -static uint8_t /*enum EmberAfRetryOverride*/ emberAfApsRetryOverride = EMBER_AF_RETRY_OVERRIDE_NONE; static uint8_t /*enum EmberAfDisableDefaultResponse*/ emAfDisableDefaultResponse = EMBER_AF_DISABLE_DEFAULT_RESPONSE_NONE; static uint8_t /*enum EmberAfDisableDefaultResponse*/ emAfSavedDisableDefaultResponseVale = EMBER_AF_DISABLE_DEFAULT_RESPONSE_NONE; @@ -131,15 +121,13 @@ EmberAfDifferenceType emberAfGetDifference(uint8_t * pData, EmberAfDifferenceTyp // **************************************** // Initialize Clusters // **************************************** -void emberAfInit(chip::Messaging::ExchangeManager * exchangeMgr) +void emberAfInit() { uint8_t i; #ifdef EMBER_AF_ENABLE_STATISTICS afNumPktsSent = 0; #endif - emAfExchangeMgr = exchangeMgr; - for (i = 0; i < EMBER_SUPPORTED_NETWORKS; i++) { // FIXME: Do we need to support more than one network? @@ -220,23 +208,6 @@ uint16_t emberAfFindClusterNameIndex(ClusterId cluster) return 0xFFFF; } -// This function makes the assumption that -// emberAfCurrentCommand will either be NULL -// when invalid, or will have a valid mfgCode -// when called. -// If it is invalid, we just return the -// EMBER_AF_NULL_MANUFACTURER_CODE, which we tend to use -// for references to the standard library. -uint16_t emberAfGetMfgCodeFromCurrentCommand() -{ - if (emberAfCurrentCommand() != nullptr) - { - return emberAfCurrentCommand()->mfgCode; - } - - return EMBER_AF_NULL_MANUFACTURER_CODE; -} - // the caller to the library can set a flag to say do not respond to the // next ZCL message passed in to the library. Passing true means disable // the reply for the next ZCL message. Setting to false re-enables the @@ -254,36 +225,6 @@ void emberAfSetNoReplyForNextMessage(bool set) } } -void emberAfSetRetryOverride(EmberAfRetryOverride value) -{ - emberAfApsRetryOverride = value; -} - -EmberAfRetryOverride emberAfGetRetryOverride() -{ - return (EmberAfRetryOverride) emberAfApsRetryOverride; -} - -void emAfApplyRetryOverride(EmberApsOption * options) -{ - if (options == nullptr) - { - return; - } - if (emberAfApsRetryOverride == EMBER_AF_RETRY_OVERRIDE_SET) - { - *options |= EMBER_APS_OPTION_RETRY; - } - else if (emberAfApsRetryOverride == EMBER_AF_RETRY_OVERRIDE_UNSET) - { - *options = static_cast(*options & ~EMBER_APS_OPTION_RETRY); - } - else - { - // MISRA requires ..else if.. to have terminating else. - } -} - void emberAfSetDisableDefaultResponse(EmberAfDisableDefaultResponse value) { emAfDisableDefaultResponse = value; @@ -469,16 +410,6 @@ int8_t emberAfCompareValues(const uint8_t * val1, const uint8_t * val2, uint16_t return 0; } -#if 0 -// Moving to time-util.c -int8_t emberAfCompareDates(EmberAfDate* date1, EmberAfDate* date2) -{ - uint32_t val1 = emberAfEncodeDate(date1); - uint32_t val2 = emberAfEncodeDate(date2); - return (val1 == val2) ? 0 : ((val1 < val2) ? -1 : 1); -} -#endif - // Zigbee spec says types between signed 8 bit and signed 64 bit bool emberAfIsTypeSigned(EmberAfAttributeType dataType) { @@ -530,8 +461,3 @@ bool emberAfIsKnownVolatileAttribute(chip::EndpointId endpoint, chip::ClusterId return !metadata->IsAutomaticallyPersisted() && !metadata->IsExternal(); } - -chip::Messaging::ExchangeManager * chip::ExchangeManager() -{ - return emAfExchangeMgr; -} diff --git a/src/app/util/util.h b/src/app/util/util.h index f105304b740cb4..48fac334cdfeb4 100644 --- a/src/app/util/util.h +++ b/src/app/util/util.h @@ -18,7 +18,6 @@ #pragma once #include -#include // User asserts can override SLAB_ASSERT and should be defined as follows: // void userAssert (int file, int line); // declaration @@ -42,31 +41,6 @@ extern const EmberAfClusterName zclClusterNames[]; #include -// Override APS retry: 0 - don't touch, 1 - always set, 2 - always unset -typedef enum -{ - EMBER_AF_RETRY_OVERRIDE_NONE = 0, - EMBER_AF_RETRY_OVERRIDE_SET = 1, - EMBER_AF_RETRY_OVERRIDE_UNSET = 2 -} EmberAfRetryOverride; - -// The default APS retry flag value is controlled by EMBER_AF_DEFAULT_APS_OPTIONS -// and is usually 1. In high traffic, low bandwidth networks (e.g. sub-GHz), -// the app may want to override this. Two methods are available for apps that -// may wants to do this dynamically per message: -// 1. Call emberAfSetRetryOverride each time before filling the message buffer; -// 2. Call emberAfSetRetryOverride once with a value covering most messages and -// then toggling the flag as necessary in emberAfPreMessageSendCallback. -void emberAfSetRetryOverride(EmberAfRetryOverride value); - -// Return the current override status -EmberAfRetryOverride emberAfGetRetryOverride(void); - -// This function applies the curent override value to the APS options. -// It is called internally by the framework in the final stages of filling the -// message buffer. -void emAfApplyRetryOverride(EmberApsOption * options); - // Override Disable Default Response flag in the ZCL Frame Control typedef enum { @@ -89,17 +63,10 @@ EmberAfDisableDefaultResponse emberAfGetDisableDefaultResponse(void); // message buffer. void emAfApplyDisableDefaultResponse(uint8_t * frame_control); -// Returns a mfg code from current command. -// This should only be used within the command parsing context. -// Wraps emberAfCurrentCommand(), and assumes that the current comamnd -// is either the current valid command or NULL -// In the case of NULL, then it returns EMBER_AF_NULL_MANUFACTURER_CODE -uint16_t emberAfGetMfgCodeFromCurrentCommand(void); - // EMBER_AF_MAXIMUM_SEND_PAYLOAD_LENGTH is defined in config.h #define EMBER_AF_RESPONSE_BUFFER_LEN EMBER_AF_MAXIMUM_SEND_PAYLOAD_LENGTH -void emberAfInit(chip::Messaging::ExchangeManager * exchangeContext); +void emberAfInit(); void emberAfTick(void); uint16_t emberAfFindClusterNameIndex(chip::ClusterId cluster); void emberAfStackDown(void); @@ -133,7 +100,6 @@ uint32_t * emberAfPutInt32uInResp(uint32_t value); uint32_t * emberAfPutInt24uInResp(uint32_t value); uint8_t * emberAfPutBlockInResp(const uint8_t * data, uint16_t length); uint8_t * emberAfPutStringInResp(const uint8_t * buffer); -uint8_t * emberAfPutDateInResp(EmberAfDate * value); void emberAfPutInt16sInResp(int16_t value); void emberAfPutStatusInResp(EmberAfStatus value); @@ -184,7 +150,3 @@ bool emberAfContainsAttribute(chip::EndpointId endpoint, chip::ClusterId cluster * storage). */ bool emberAfIsKnownVolatileAttribute(chip::EndpointId endpoint, chip::ClusterId clusterId, chip::AttributeId attributeId); - -namespace chip { -chip::Messaging::ExchangeManager * ExchangeManager(); -} // namespace chip diff --git a/src/app/zap-templates/templates/app/callback.zapt b/src/app/zap-templates/templates/app/callback.zapt index 5b887938e5d15c..c158c789b14890 100644 --- a/src/app/zap-templates/templates/app/callback.zapt +++ b/src/app/zap-templates/templates/app/callback.zapt @@ -60,30 +60,6 @@ void emberAf{{asUpperCamelCase label}}ClusterClientInitCallback(chip::EndpointId */ void Matter{{asUpperCamelCase label}}ClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief {{label}} Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAf{{asUpperCamelCase label}}ClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief {{label}} Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAf{{asUpperCamelCase label}}ClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief {{label}} Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed diff --git a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt index 0d93ff0a53501e..a4ace79213353f 100644 --- a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt +++ b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt @@ -13,9 +13,6 @@ #include #include -// Currently we need some work to keep compatible with ember lib. -#include - namespace chip { namespace app { @@ -69,8 +66,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { - Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - switch (aCommandPath.mClusterId) { {{#all_user_clusters_with_incoming_commands}} @@ -88,8 +83,6 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: ); break; } - - Compatibility::ResetEmberAfObjects(); } } // namespace app diff --git a/src/controller/CHIPDeviceControllerFactory.cpp b/src/controller/CHIPDeviceControllerFactory.cpp index 1261b0f7af5db5..7180566e36507c 100644 --- a/src/controller/CHIPDeviceControllerFactory.cpp +++ b/src/controller/CHIPDeviceControllerFactory.cpp @@ -206,7 +206,7 @@ CHIP_ERROR DeviceControllerFactory::InitSystemState(FactoryInitParams params) ReturnErrorOnFailure(stateParams.messageCounterManager->Init(stateParams.exchangeMgr)); ReturnErrorOnFailure(stateParams.unsolicitedStatusHandler->Init(stateParams.exchangeMgr)); - InitDataModelHandler(stateParams.exchangeMgr); + InitDataModelHandler(); ReturnErrorOnFailure(Dnssd::Resolver::Instance().Init(stateParams.udpEndPointManager)); diff --git a/src/controller/EmptyDataModelHandler.cpp b/src/controller/EmptyDataModelHandler.cpp index 053979fb16d65c..bd99925e82a613 100644 --- a/src/controller/EmptyDataModelHandler.cpp +++ b/src/controller/EmptyDataModelHandler.cpp @@ -24,4 +24,4 @@ #include -__attribute__((weak)) void InitDataModelHandler(chip::Messaging::ExchangeManager * exchangeMgr) {} +__attribute__((weak)) void InitDataModelHandler() {} diff --git a/src/controller/java/CHIPDeviceController-JNI.cpp b/src/controller/java/CHIPDeviceController-JNI.cpp index 1b124c5c60cf9c..90aaee7e34be60 100644 --- a/src/controller/java/CHIPDeviceController-JNI.cpp +++ b/src/controller/java/CHIPDeviceController-JNI.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/src/controller/tests/TestEventCaching.cpp b/src/controller/tests/TestEventCaching.cpp index 8723f81a394286..06100250bdc2f4 100644 --- a/src/controller/tests/TestEventCaching.cpp +++ b/src/controller/tests/TestEventCaching.cpp @@ -171,7 +171,7 @@ void TestReadEvents::TestBasicCaching(nlTestSuite * apSuite, void * apContext) app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; diff --git a/src/controller/tests/TestEventChunking.cpp b/src/controller/tests/TestEventChunking.cpp index 7bb97f373a9a0c..b00fdde1ba165d 100644 --- a/src/controller/tests/TestEventChunking.cpp +++ b/src/controller/tests/TestEventChunking.cpp @@ -314,7 +314,7 @@ void TestReadEvents::TestEventChunking(nlTestSuite * apSuite, void * apContext) app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; @@ -381,7 +381,7 @@ void TestReadEvents::TestMixedEventsAndAttributesChunking(nlTestSuite * apSuite, app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; @@ -460,7 +460,7 @@ void TestReadEvents::TestMixedEventsAndLargeAttributesChunking(nlTestSuite * apS app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; diff --git a/src/controller/tests/TestEventNumberCaching.cpp b/src/controller/tests/TestEventNumberCaching.cpp index aaaa6e039dea7e..8c291013e874c5 100644 --- a/src/controller/tests/TestEventNumberCaching.cpp +++ b/src/controller/tests/TestEventNumberCaching.cpp @@ -168,7 +168,7 @@ void TestReadEvents::TestEventNumberCaching(nlTestSuite * apSuite, void * apCont app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; diff --git a/src/controller/tests/TestReadChunking.cpp b/src/controller/tests/TestReadChunking.cpp index 2616a5f40ef42c..43768bc4bf3bcd 100644 --- a/src/controller/tests/TestReadChunking.cpp +++ b/src/controller/tests/TestReadChunking.cpp @@ -371,7 +371,7 @@ void TestReadChunking::TestChunking(nlTestSuite * apSuite, void * apContext) app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpointClusters)]; @@ -436,7 +436,7 @@ void TestReadChunking::TestListChunking(nlTestSuite * apSuite, void * apContext) app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpoint3Clusters)]; @@ -500,7 +500,7 @@ void TestReadChunking::TestBadChunking(nlTestSuite * apSuite, void * apContext) app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); app::InteractionModelEngine::GetInstance()->GetReportingEngine().SetWriterReserved(0); @@ -552,7 +552,7 @@ void TestReadChunking::TestDynamicEndpoint(nlTestSuite * apSuite, void * apConte app::InteractionModelEngine * engine = app::InteractionModelEngine::GetInstance(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. DataVersion dataVersionStorage[ArraySize(testEndpoint4Clusters)]; @@ -752,7 +752,7 @@ void TestReadChunking::TestSetDirtyBetweenChunks(nlTestSuite * apSuite, void * a gSuite = apSuite; // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); app::InteractionModelEngine::GetInstance()->GetReportingEngine().SetWriterReserved(0); app::InteractionModelEngine::GetInstance()->GetReportingEngine().SetMaxAttributesPerChunk(2); diff --git a/src/controller/tests/TestWriteChunking.cpp b/src/controller/tests/TestWriteChunking.cpp index 80141c56e68cdd..100ec13b01ae27 100644 --- a/src/controller/tests/TestWriteChunking.cpp +++ b/src/controller/tests/TestWriteChunking.cpp @@ -193,7 +193,7 @@ void TestWriteChunking::TestListChunking(nlTestSuite * apSuite, void * apContext auto sessionHandle = ctx.GetSessionBobToAlice(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. emberAfSetDynamicEndpoint(0, kTestEndpointId, &testEndpoint, Span(dataVersionStorage)); @@ -267,7 +267,7 @@ void TestWriteChunking::TestBadChunking(nlTestSuite * apSuite, void * apContext) bool atLeastOneRequestFailed = false; // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. emberAfSetDynamicEndpoint(0, kTestEndpointId, &testEndpoint, Span(dataVersionStorage)); @@ -348,7 +348,7 @@ void TestWriteChunking::TestConflictWrite(nlTestSuite * apSuite, void * apContex auto sessionHandle = ctx.GetSessionBobToAlice(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. emberAfSetDynamicEndpoint(0, kTestEndpointId, &testEndpoint, Span(dataVersionStorage)); @@ -424,7 +424,7 @@ void TestWriteChunking::TestNonConflictWrite(nlTestSuite * apSuite, void * apCon auto sessionHandle = ctx.GetSessionBobToAlice(); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. emberAfSetDynamicEndpoint(0, kTestEndpointId, &testEndpoint, Span(dataVersionStorage)); @@ -605,7 +605,7 @@ void TestWriteChunking::TestTransactionalList(nlTestSuite * apSuite, void * apCo TestContext & ctx = *static_cast(apContext); // Initialize the ember side server logic - InitDataModelHandler(&ctx.GetExchangeManager()); + InitDataModelHandler(); // Register our fake dynamic endpoint. emberAfSetDynamicEndpoint(0, kTestEndpointId, &testEndpoint, Span(dataVersionStorage)); diff --git a/zzz_generated/app-common/app-common/zap-generated/callback.h b/zzz_generated/app-common/app-common/zap-generated/callback.h index 1b1c6814a55ffc..1fb5ffef6cb791 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -639,32 +639,6 @@ void emberAfIdentifyClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Identify Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Identify Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Identify Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -735,32 +709,6 @@ void emberAfGroupsClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Groups Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Groups Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Groups Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -831,32 +779,6 @@ void emberAfScenesClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Scenes Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Scenes Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Scenes Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -927,32 +849,6 @@ void emberAfOnOffClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief On/Off Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief On/Off Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief On/Off Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1023,34 +919,6 @@ void emberAfOnOffSwitchConfigurationClusterClientInitCallback(chip::EndpointId e */ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief On/off Switch Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief On/off Switch Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1119,32 +987,6 @@ void emberAfLevelControlClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Level Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Level Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Level Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1215,34 +1057,6 @@ void emberAfBinaryInputBasicClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Binary Input (Basic) Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Binary Input (Basic) Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1313,34 +1127,6 @@ void emberAfPulseWidthModulationClusterClientInitCallback(chip::EndpointId endpo */ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Pulse Width Modulation Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Pulse Width Modulation Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1409,32 +1195,6 @@ void emberAfDescriptorClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Descriptor Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Descriptor Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Descriptor Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1505,32 +1265,6 @@ void emberAfBindingClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Binding Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Binding Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Binding Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1601,34 +1335,6 @@ void emberAfAccessControlClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Access Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Access Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Access Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1699,32 +1405,6 @@ void emberAfActionsClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterActionsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Actions Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Actions Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Actions Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1795,34 +1475,6 @@ void emberAfBasicInformationClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterBasicInformationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Basic Information Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBasicInformationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Basic Information Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBasicInformationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Basic Information Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1893,34 +1545,6 @@ void emberAfOtaSoftwareUpdateProviderClusterClientInitCallback(chip::EndpointId */ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief OTA Software Update Provider Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief OTA Software Update Provider Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -1989,34 +1613,6 @@ void emberAfOtaSoftwareUpdateRequestorClusterClientInitCallback(chip::EndpointId */ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief OTA Software Update Requestor Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief OTA Software Update Requestor Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2085,34 +1681,6 @@ void emberAfLocalizationConfigurationClusterClientInitCallback(chip::EndpointId */ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Localization Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Localization Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Localization Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2181,34 +1749,6 @@ void emberAfTimeFormatLocalizationClusterClientInitCallback(chip::EndpointId end */ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Time Format Localization Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Time Format Localization Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Time Format Localization Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2277,34 +1817,6 @@ void emberAfUnitLocalizationClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Unit Localization Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Unit Localization Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Unit Localization Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2375,34 +1887,6 @@ void emberAfPowerSourceConfigurationClusterClientInitCallback(chip::EndpointId e */ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Power Source Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Power Source Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2471,32 +1955,6 @@ void emberAfPowerSourceClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Power Source Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Power Source Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Power Source Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2567,34 +2025,6 @@ void emberAfGeneralCommissioningClusterClientInitCallback(chip::EndpointId endpo */ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief General Commissioning Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief General Commissioning Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief General Commissioning Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2663,34 +2093,6 @@ void emberAfNetworkCommissioningClusterClientInitCallback(chip::EndpointId endpo */ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Network Commissioning Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Network Commissioning Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Network Commissioning Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2759,34 +2161,6 @@ void emberAfDiagnosticLogsClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Diagnostic Logs Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Diagnostic Logs Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2857,34 +2231,6 @@ void emberAfGeneralDiagnosticsClusterClientInitCallback(chip::EndpointId endpoin */ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief General Diagnostics Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief General Diagnostics Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief General Diagnostics Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -2953,34 +2299,6 @@ void emberAfSoftwareDiagnosticsClusterClientInitCallback(chip::EndpointId endpoi */ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Software Diagnostics Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Software Diagnostics Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3049,34 +2367,6 @@ void emberAfThreadNetworkDiagnosticsClusterClientInitCallback(chip::EndpointId e */ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Thread Network Diagnostics Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Thread Network Diagnostics Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3145,34 +2435,6 @@ void emberAfWiFiNetworkDiagnosticsClusterClientInitCallback(chip::EndpointId end */ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief WiFi Network Diagnostics Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief WiFi Network Diagnostics Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3241,34 +2503,6 @@ void emberAfEthernetNetworkDiagnosticsClusterClientInitCallback(chip::EndpointId */ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Ethernet Network Diagnostics Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Ethernet Network Diagnostics Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3337,34 +2571,6 @@ void emberAfTimeSynchronizationClusterClientInitCallback(chip::EndpointId endpoi */ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Time Synchronization Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Time Synchronization Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Time Synchronization Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3434,34 +2640,6 @@ void emberAfBridgedDeviceBasicInformationClusterClientInitCallback(chip::Endpoin void MatterBridgedDeviceBasicInformationClusterServerAttributeChangedCallback( const chip::app::ConcreteAttributePath & attributePath); -/** @brief Bridged Device Basic Information Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBridgedDeviceBasicInformationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - -/** @brief Bridged Device Basic Information Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBridgedDeviceBasicInformationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - /** @brief Bridged Device Basic Information Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3530,32 +2708,6 @@ void emberAfSwitchClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Switch Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Switch Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Switch Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3626,34 +2778,6 @@ void emberAfAdministratorCommissioningClusterClientInitCallback(chip::EndpointId */ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Administrator Commissioning Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Administrator Commissioning Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Administrator Commissioning Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3722,34 +2846,6 @@ void emberAfOperationalCredentialsClusterClientInitCallback(chip::EndpointId end */ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Operational Credentials Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Operational Credentials Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Operational Credentials Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3818,34 +2914,6 @@ void emberAfGroupKeyManagementClusterClientInitCallback(chip::EndpointId endpoin */ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Group Key Management Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Group Key Management Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Group Key Management Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -3914,32 +2982,6 @@ void emberAfFixedLabelClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Fixed Label Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Fixed Label Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Fixed Label Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4010,32 +3052,6 @@ void emberAfUserLabelClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief User Label Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief User Label Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief User Label Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4106,34 +3122,6 @@ void emberAfProxyConfigurationClusterClientInitCallback(chip::EndpointId endpoin */ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Proxy Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Proxy Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4202,34 +3190,6 @@ void emberAfProxyDiscoveryClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Proxy Discovery Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Proxy Discovery Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4300,32 +3260,6 @@ void emberAfProxyValidClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Proxy Valid Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Proxy Valid Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Proxy Valid Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4396,32 +3330,6 @@ void emberAfBooleanStateClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Boolean State Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Boolean State Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Boolean State Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4492,32 +3400,6 @@ void emberAfModeSelectClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Mode Select Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Mode Select Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Mode Select Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4588,32 +3470,6 @@ void emberAfDoorLockClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Door Lock Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Door Lock Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Door Lock Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4684,34 +3540,6 @@ void emberAfWindowCoveringClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Window Covering Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Window Covering Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Window Covering Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4782,34 +3610,6 @@ void emberAfBarrierControlClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Barrier Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Barrier Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Barrier Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4880,34 +3680,6 @@ void emberAfPumpConfigurationAndControlClusterClientInitCallback(chip::EndpointI */ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Pump Configuration and Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - -/** @brief Pump Configuration and Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -4976,32 +3748,6 @@ void emberAfThermostatClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Thermostat Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Thermostat Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Thermostat Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5072,32 +3818,6 @@ void emberAfFanControlClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Fan Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Fan Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Fan Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5169,34 +3889,6 @@ void emberAfThermostatUserInterfaceConfigurationClusterClientInitCallback(chip:: void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCallback( const chip::app::ConcreteAttributePath & attributePath); -/** @brief Thermostat User Interface Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - -/** @brief Thermostat User Interface Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5265,32 +3957,6 @@ void emberAfColorControlClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Color Control Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Color Control Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Color Control Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5361,34 +4027,6 @@ void emberAfBallastConfigurationClusterClientInitCallback(chip::EndpointId endpo */ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Ballast Configuration Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Ballast Configuration Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5457,34 +4095,6 @@ void emberAfIlluminanceMeasurementClusterClientInitCallback(chip::EndpointId end */ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Illuminance Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Illuminance Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5553,34 +4163,6 @@ void emberAfTemperatureMeasurementClusterClientInitCallback(chip::EndpointId end */ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Temperature Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Temperature Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5649,34 +4231,6 @@ void emberAfPressureMeasurementClusterClientInitCallback(chip::EndpointId endpoi */ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Pressure Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Pressure Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5745,34 +4299,6 @@ void emberAfFlowMeasurementClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Flow Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Flow Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Flow Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5843,34 +4369,6 @@ void emberAfRelativeHumidityMeasurementClusterClientInitCallback(chip::EndpointI */ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Relative Humidity Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - -/** @brief Relative Humidity Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); - /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -5939,34 +4437,6 @@ void emberAfOccupancySensingClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Occupancy Sensing Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Occupancy Sensing Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6037,32 +4507,6 @@ void emberAfWakeOnLanClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Wake on LAN Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Wake on LAN Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Wake on LAN Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6133,32 +4577,6 @@ void emberAfChannelClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Channel Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Channel Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Channel Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6229,34 +4647,6 @@ void emberAfTargetNavigatorClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Target Navigator Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Target Navigator Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Target Navigator Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6327,34 +4717,6 @@ void emberAfMediaPlaybackClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Media Playback Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Media Playback Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Media Playback Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6425,32 +4787,6 @@ void emberAfMediaInputClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Media Input Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Media Input Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Media Input Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6521,32 +4857,6 @@ void emberAfLowPowerClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Low Power Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Low Power Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Low Power Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6617,32 +4927,6 @@ void emberAfKeypadInputClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Keypad Input Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Keypad Input Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Keypad Input Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6713,34 +4997,6 @@ void emberAfContentLauncherClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Content Launcher Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Content Launcher Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Content Launcher Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6811,32 +5067,6 @@ void emberAfAudioOutputClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Audio Output Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Audio Output Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Audio Output Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -6907,34 +5137,6 @@ void emberAfApplicationLauncherClusterClientInitCallback(chip::EndpointId endpoi */ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Application Launcher Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Application Launcher Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Application Launcher Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7003,34 +5205,6 @@ void emberAfApplicationBasicClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Application Basic Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Application Basic Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Application Basic Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7101,32 +5275,6 @@ void emberAfAccountLoginClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Account Login Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Account Login Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Account Login Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7197,34 +5345,6 @@ void emberAfElectricalMeasurementClusterClientInitCallback(chip::EndpointId endp */ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Electrical Measurement Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Electrical Measurement Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7293,34 +5413,6 @@ void emberAfClientMonitoringClusterClientInitCallback(chip::EndpointId endpoint) */ void MatterClientMonitoringClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Client Monitoring Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfClientMonitoringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Client Monitoring Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfClientMonitoringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Client Monitoring Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7391,32 +5483,6 @@ void emberAfUnitTestingClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterUnitTestingClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Unit Testing Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUnitTestingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - -/** @brief Unit Testing Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfUnitTestingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); - /** @brief Unit Testing Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed @@ -7487,34 +5553,6 @@ void emberAfFaultInjectionClusterClientInitCallback(chip::EndpointId endpoint); */ void MatterFaultInjectionClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); -/** @brief Fault Injection Cluster Server Message Sent - * - * Server Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFaultInjectionClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - -/** @brief Fault Injection Cluster Client Message Sent - * - * Client Message Sent - * - * @param destination The destination to which the message was sent - * @param apsFrame The APS frame for the message - * @param msgLen The length of the message - * @param message The message that was sent - * @param status The status of the sent message - */ -void emberAfFaultInjectionClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); - /** @brief Fault Injection Cluster Server Pre Attribute Changed * * Server Pre Attribute Changed diff --git a/zzz_generated/darwin/controller-clusters/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/darwin/controller-clusters/zap-generated/IMClusterCommandHandler.cpp index 29667fecca06b0..2a1289be1113cc 100644 --- a/zzz_generated/darwin/controller-clusters/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/darwin/controller-clusters/zap-generated/IMClusterCommandHandler.cpp @@ -30,9 +30,6 @@ #include #include -// Currently we need some work to keep compatible with ember lib. -#include - namespace chip { namespace app { @@ -42,8 +39,6 @@ namespace Clusters {} // namespace Clusters void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { - Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - switch (aCommandPath.mClusterId) { default: @@ -51,8 +46,6 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::UnsupportedCluster); break; } - - Compatibility::ResetEmberAfObjects(); } } // namespace app