From 607c763473628954d7efe0be705fd93aaaf5d27f Mon Sep 17 00:00:00 2001 From: lnikulin Date: Wed, 6 Jul 2022 15:09:55 +0300 Subject: [PATCH 01/15] Added the callback that could be implemented by application uses Matter. This callback is called before every command gets executed. --- .../templates/app/callback-stub-src.zapt | 7 +++++++ src/app/zap-templates/templates/app/callback.zapt | 9 +++++++++ .../templates/app/im-cluster-command-handler.zapt | 1 + .../app-common/app-common/zap-generated/callback.h | 11 +++++++++++ 4 files changed, 28 insertions(+) diff --git a/src/app/zap-templates/templates/app/callback-stub-src.zapt b/src/app/zap-templates/templates/app/callback-stub-src.zapt index 8e8ce31bce288a..a8211f32fe5ae7 100644 --- a/src/app/zap-templates/templates/app/callback-stub-src.zapt +++ b/src/app/zap-templates/templates/app/callback-stub-src.zapt @@ -132,3 +132,10 @@ void __attribute__((weak)) MatterPostAttributeChangeCallback( uint8_t type, uint16_t size, uint8_t * value) { } + +void __attribute__((weak)) MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, + const chip::app::ConcreteCommandPath & commandPath) +{ + (void)commandObj; + (void)commandPath; +} \ No newline at end of file diff --git a/src/app/zap-templates/templates/app/callback.zapt b/src/app/zap-templates/templates/app/callback.zapt index 9c296dbf8939fb..4907eea539102f 100644 --- a/src/app/zap-templates/templates/app/callback.zapt +++ b/src/app/zap-templates/templates/app/callback.zapt @@ -423,3 +423,12 @@ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const */ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value); + +/** @brief Pre Execute command callback + * @param commandObj Command object + * @param commandPath Concrete command path to be executed + * + * This function is called by the framework before execute any command + */ +void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, + const chip::app::ConcreteCommandPath & commandPath); \ No newline at end of file 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 9d6d3242bf8557..287b3e64f8efb2 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 @@ -39,6 +39,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP { {{/first}} case Commands::{{asUpperCamelCase commandName}}::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); {{> im_command_handler_cluster_commands}} break; } 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 393a046cb1809a..930e033744da7c 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -14028,3 +14028,14 @@ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const */ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value); + + +/** @brief Pre Execute command callback + * @param commandObj Command object + * @param commandPath Concrete command path to be executed + * + * This function is called by the framework before execute any command + */ +void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, + const chip::app::ConcreteCommandPath & commandPath); + From ee9f4765bfe27112afc86378e52382496848b835 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 12:13:41 +0000 Subject: [PATCH 02/15] Restyled by astyle --- .../app-common/zap-generated/callback.h | 1226 ++++++++--------- 1 file changed, 613 insertions(+), 613 deletions(-) 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 930e033744da7c..39473c873a08f7 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * From fa1d3248fd18829b74c887c13f54bc04b52111b0 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 12:13:43 +0000 Subject: [PATCH 03/15] Restyled by clang-format --- .../app-common/zap-generated/callback.h | 1231 ++++++++--------- 1 file changed, 614 insertions(+), 617 deletions(-) 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 39473c873a08f7..3364c8a743e3fd 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * @@ -14029,13 +14029,10 @@ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value); - /** @brief Pre Execute command callback * @param commandObj Command object * @param commandPath Concrete command path to be executed * * This function is called by the framework before execute any command */ -void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath); - +void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath); From 5aa80a0e31588d4228e0b5cd4b528da2b82dbd49 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 12:13:43 +0000 Subject: [PATCH 04/15] Restyled by whitespace --- src/app/zap-templates/templates/app/callback-stub-src.zapt | 2 +- src/app/zap-templates/templates/app/callback.zapt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/zap-templates/templates/app/callback-stub-src.zapt b/src/app/zap-templates/templates/app/callback-stub-src.zapt index a8211f32fe5ae7..aa3e7cbb9cf9a3 100644 --- a/src/app/zap-templates/templates/app/callback-stub-src.zapt +++ b/src/app/zap-templates/templates/app/callback-stub-src.zapt @@ -138,4 +138,4 @@ void __attribute__((weak)) MatterPreExecuteCommandCallback(chip::app::CommandHan { (void)commandObj; (void)commandPath; -} \ No newline at end of file +} diff --git a/src/app/zap-templates/templates/app/callback.zapt b/src/app/zap-templates/templates/app/callback.zapt index 4907eea539102f..534b0c97b5cce9 100644 --- a/src/app/zap-templates/templates/app/callback.zapt +++ b/src/app/zap-templates/templates/app/callback.zapt @@ -431,4 +431,4 @@ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & * This function is called by the framework before execute any command */ void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath); \ No newline at end of file + const chip::app::ConcreteCommandPath & commandPath); From 2133b291163938582a205ba17240e5286e5c717f Mon Sep 17 00:00:00 2001 From: lnikulin Date: Wed, 6 Jul 2022 17:37:38 +0300 Subject: [PATCH 05/15] Regenerate all callback-stub.cpp and IMCLusterCommandHandler.cpp --- .../CHIP/zap-generated/MTRCallbackBridge.mm | 289 +++++++++--------- .../zap-generated/IMClusterCommandHandler.cpp | 129 ++++++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 95 ++++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 40 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 56 ++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 56 ++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 48 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 48 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 49 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 46 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 52 ++++ .../zap-generated/callback-stub.cpp | 7 + .../chip-tool/zap-generated/test/Commands.h | 120 ++++---- .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 39 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 72 +++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 59 ++++ .../lock-app/zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 17 ++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 28 ++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 26 ++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 67 ++++ .../app1/zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 67 ++++ .../app2/zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 38 +++ .../pump-app/zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 27 ++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 26 ++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 43 +++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 72 +++++ .../tv-app/zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 57 ++++ .../zap-generated/callback-stub.cpp | 7 + .../zap-generated/IMClusterCommandHandler.cpp | 50 +++ .../zap-generated/callback-stub.cpp | 7 + 65 files changed, 1966 insertions(+), 202 deletions(-) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index 8b4168c4d8cdbc..3f5f4d2c1fc5bf 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -12709,178 +12709,183 @@ void * context, const chip::app::Clusters::TestCluster::Commands::TestStructArrayArgumentResponse::DecodableType & data) { auto * response = [MTRTestClusterClusterTestStructArrayArgumentResponseParams new]; - { { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; - auto iter_0 = data.arg1.begin(); - while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - MTRTestClusterClusterNestedStructList * newElement_0; - newElement_0 = [MTRTestClusterClusterNestedStructList new]; - newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; - newElement_0.b = [NSNumber numberWithBool:entry_0.b]; - newElement_0.c = [MTRTestClusterClusterSimpleStruct new]; - newElement_0.c.a = [NSNumber numberWithUnsignedChar:entry_0.c.a]; - newElement_0.c.b = [NSNumber numberWithBool:entry_0.c.b]; - newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; - newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; - newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() - length:entry_0.c.e.size() - encoding:NSUTF8StringEncoding]; - newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; - newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; - newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; + { { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.d.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - MTRTestClusterClusterSimpleStruct * newElement_2; - newElement_2 = [MTRTestClusterClusterSimpleStruct new]; - newElement_2.a = [NSNumber numberWithUnsignedChar:entry_2.a]; - newElement_2.b = [NSNumber numberWithBool:entry_2.b]; - newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; - newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; - newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() - length:entry_2.e.size() - encoding:NSUTF8StringEncoding]; - newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; - newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; - newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; - [array_2 addObject:newElement_2]; + auto * array_0 = [NSMutableArray new]; + auto iter_0 = data.arg1.begin(); + while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + MTRTestClusterClusterNestedStructList * newElement_0; + newElement_0 = [MTRTestClusterClusterNestedStructList new]; + newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; + newElement_0.b = [NSNumber numberWithBool:entry_0.b]; + newElement_0.c = [MTRTestClusterClusterSimpleStruct new]; + newElement_0.c.a = [NSNumber numberWithUnsignedChar:entry_0.c.a]; + newElement_0.c.b = [NSNumber numberWithBool:entry_0.c.b]; + newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; + newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; + newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() + length:entry_0.c.e.size() + encoding:NSUTF8StringEncoding]; + newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; + newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; + newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.d.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + MTRTestClusterClusterSimpleStruct * newElement_2; + newElement_2 = [MTRTestClusterClusterSimpleStruct new]; + newElement_2.a = [NSNumber numberWithUnsignedChar:entry_2.a]; + newElement_2.b = [NSNumber numberWithBool:entry_2.b]; + newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; + newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; + newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() + length:entry_2.e.size() + encoding:NSUTF8StringEncoding]; + newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; + newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; + newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; + [array_2 addObject:newElement_2]; + } + CHIP_ERROR err = iter_2.GetStatus(); + if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; + } + newElement_0.d = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.e.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSNumber * newElement_2; + newElement_2 = [NSNumber numberWithUnsignedInt:entry_2]; + [array_2 addObject:newElement_2]; + } + CHIP_ERROR err = iter_2.GetStatus(); + if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; + } + newElement_0.e = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.f.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSData * newElement_2; + newElement_2 = [NSData dataWithBytes:entry_2.data() length:entry_2.size()]; + [array_2 addObject:newElement_2]; + } + CHIP_ERROR err = iter_2.GetStatus(); + if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; + } + newElement_0.f = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.g.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSNumber * newElement_2; + newElement_2 = [NSNumber numberWithUnsignedChar:entry_2]; + [array_2 addObject:newElement_2]; + } + CHIP_ERROR err = iter_2.GetStatus(); + if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; + } + newElement_0.g = array_2; + } + [array_0 addObject:newElement_0]; } - CHIP_ERROR err = iter_2.GetStatus(); + CHIP_ERROR err = iter_0.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - newElement_0.d = array_2; + response.arg1 = array_0; } + } + { { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.e.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSNumber * newElement_2; - newElement_2 = [NSNumber numberWithUnsignedInt:entry_2]; - [array_2 addObject:newElement_2]; + auto * array_0 = [NSMutableArray new]; + auto iter_0 = data.arg2.begin(); + while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + MTRTestClusterClusterSimpleStruct * newElement_0; + newElement_0 = [MTRTestClusterClusterSimpleStruct new]; + newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; + newElement_0.b = [NSNumber numberWithBool:entry_0.b]; + newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; + newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; + newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() + length:entry_0.e.size() + encoding:NSUTF8StringEncoding]; + newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; + newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; + newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; + [array_0 addObject:newElement_0]; } - CHIP_ERROR err = iter_2.GetStatus(); + CHIP_ERROR err = iter_0.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - newElement_0.e = array_2; + response.arg2 = array_0; } + } + { { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.f.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSData * newElement_2; - newElement_2 = [NSData dataWithBytes:entry_2.data() length:entry_2.size()]; - [array_2 addObject:newElement_2]; + auto * array_0 = [NSMutableArray new]; + auto iter_0 = data.arg3.begin(); + while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + NSNumber * newElement_0; + newElement_0 = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0)]; + [array_0 addObject:newElement_0]; } - CHIP_ERROR err = iter_2.GetStatus(); + CHIP_ERROR err = iter_0.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - newElement_0.f = array_2; + response.arg3 = array_0; } + } + { { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.g.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSNumber * newElement_2; - newElement_2 = [NSNumber numberWithUnsignedChar:entry_2]; - [array_2 addObject:newElement_2]; + auto * array_0 = [NSMutableArray new]; + auto iter_0 = data.arg4.begin(); + while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + NSNumber * newElement_0; + newElement_0 = [NSNumber numberWithBool:entry_0]; + [array_0 addObject:newElement_0]; } - CHIP_ERROR err = iter_2.GetStatus(); + CHIP_ERROR err = iter_0.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - newElement_0.g = array_2; + response.arg4 = array_0; } - [array_0 addObject:newElement_0]; } - CHIP_ERROR err = iter_0.GetStatus(); - if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; + { + response.arg5 = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg5)]; } - response.arg1 = array_0; -} -} -{ { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; -auto iter_0 = data.arg2.begin(); -while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - MTRTestClusterClusterSimpleStruct * newElement_0; - newElement_0 = [MTRTestClusterClusterSimpleStruct new]; - newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; - newElement_0.b = [NSNumber numberWithBool:entry_0.b]; - newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; - newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; - newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() length:entry_0.e.size() encoding:NSUTF8StringEncoding]; - newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; - newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; - newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; - [array_0 addObject:newElement_0]; -} -CHIP_ERROR err = iter_0.GetStatus(); -if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; -} -response.arg2 = array_0; -} -} -{ { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; -auto iter_0 = data.arg3.begin(); -while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - NSNumber * newElement_0; - newElement_0 = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0)]; - [array_0 addObject:newElement_0]; -} -CHIP_ERROR err = iter_0.GetStatus(); -if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; -} -response.arg3 = array_0; -} -} -{ { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; -auto iter_0 = data.arg4.begin(); -while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - NSNumber * newElement_0; - newElement_0 = [NSNumber numberWithBool:entry_0]; - [array_0 addObject:newElement_0]; -} -CHIP_ERROR err = iter_0.GetStatus(); -if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; -} -response.arg4 = array_0; -} -} -{ - response.arg5 = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg5)]; -} -{ - response.arg6 = [NSNumber numberWithBool:data.arg6]; -} -DispatchSuccess(context, response); -} -; + { + response.arg6 = [NSNumber numberWithBool:data.arg6]; + } + DispatchSuccess(context, response); +}; void MTRTestClusterClusterTestListInt8UReverseResponseCallbackBridge::OnSuccessFn( void * context, const chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseResponse::DecodableType & data) diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index 9f7a13348a8157..aad3d6c655fa95 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::BarrierControlGoToPercent::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlGoToPercent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::BarrierControlStop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlStop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -155,6 +160,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -182,6 +190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -191,6 +200,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -200,6 +210,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,6 +220,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToHueAndSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -218,6 +230,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -227,6 +240,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -236,6 +250,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -245,6 +260,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -254,6 +270,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -263,6 +280,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -272,6 +290,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedStepHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedStepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -281,6 +300,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHueAndSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -291,6 +311,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ColorLoopSet::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ColorLoopSet::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -300,6 +321,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMoveStep::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMoveStep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -309,6 +331,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -318,6 +341,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -355,6 +379,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -392,6 +417,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -401,6 +427,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -410,6 +437,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockWithTimeout::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockWithTimeout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -419,6 +447,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -428,6 +457,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -437,6 +467,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -446,6 +477,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetYearDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -455,6 +487,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetYearDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -464,6 +497,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -473,6 +507,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -482,6 +517,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -491,6 +527,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetCredential::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,6 +537,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetCredentialStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetCredentialStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,6 +547,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearCredential::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -546,6 +585,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -583,6 +623,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -592,6 +633,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +643,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -639,6 +682,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -676,6 +720,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -685,6 +730,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -694,6 +740,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -703,6 +750,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -740,6 +788,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -749,6 +798,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +808,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -767,6 +818,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -776,6 +828,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -785,6 +838,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -822,6 +876,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -831,6 +886,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -868,6 +924,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -905,6 +962,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -914,6 +972,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -923,6 +982,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -932,6 +992,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -941,6 +1002,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -950,6 +1012,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -959,6 +1022,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -968,6 +1032,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1005,6 +1070,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1042,6 +1108,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1051,6 +1118,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1060,6 +1128,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1069,6 +1138,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameInput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1106,6 +1176,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1143,6 +1214,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1152,6 +1224,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1162,6 +1235,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1172,6 +1246,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1181,6 +1256,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1190,6 +1266,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1227,6 +1304,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1265,6 +1343,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1274,6 +1353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1283,6 +1363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1292,6 +1373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1301,6 +1383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1310,6 +1393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1347,6 +1431,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1357,6 +1442,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1367,6 +1453,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1376,6 +1463,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1385,6 +1473,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1394,6 +1483,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1403,6 +1493,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1412,6 +1503,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1450,6 +1542,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1459,6 +1552,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1468,6 +1562,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1477,6 +1572,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1486,6 +1582,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1495,6 +1592,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1504,6 +1602,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1541,6 +1640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1578,6 +1678,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1615,6 +1716,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Test::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Test::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1624,6 +1726,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNotHandled::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNotHandled::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1633,6 +1736,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSpecific::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSpecific::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1642,6 +1746,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestAddArguments::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestAddArguments::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1651,6 +1756,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1660,6 +1766,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1670,6 +1777,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1680,6 +1788,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1689,6 +1798,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructListArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1699,6 +1809,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListNestedStructListArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1709,6 +1820,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UReverseRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UReverseRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1718,6 +1830,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEnumsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEnumsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1727,6 +1840,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNullableOptionalRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNullableOptionalRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1736,6 +1850,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SimpleStructEchoRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SimpleStructEchoRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1745,6 +1860,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TimedInvokeRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TimedInvokeRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1754,6 +1870,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSimpleOptionalArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSimpleOptionalArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1764,6 +1881,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestEventRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1773,6 +1891,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestFabricScopedEventRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestFabricScopedEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1811,6 +1930,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1848,6 +1968,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1885,6 +2006,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1922,6 +2044,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1931,6 +2054,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1940,6 +2064,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1949,6 +2074,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1958,6 +2084,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1967,6 +2094,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1976,6 +2104,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index dea4049e28b3cf..488fb3efd18d04 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -629,3 +629,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index 35d2c30acf31cc..d14a3c2eb39725 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::GetSetupPIN::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSetupPIN::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -60,6 +61,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Login::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Login::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -69,6 +71,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Logout::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Logout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -106,6 +109,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -116,6 +120,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -154,6 +159,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -163,6 +169,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -172,6 +179,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,6 +217,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectOutput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -246,6 +255,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeChannelByNumber::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannelByNumber::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -255,6 +265,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipChannel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -292,6 +303,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -329,6 +341,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -338,6 +351,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -375,6 +389,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -412,6 +427,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -421,6 +437,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -430,6 +447,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +486,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,6 +524,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -514,6 +534,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,6 +544,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -532,6 +554,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,6 +592,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -578,6 +602,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,6 +612,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -596,6 +622,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -605,6 +632,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -614,6 +642,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -651,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -688,6 +718,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -725,6 +756,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -734,6 +766,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -743,6 +776,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -752,6 +786,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -761,6 +796,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -770,6 +806,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -779,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -788,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -825,6 +864,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -862,6 +902,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -871,6 +912,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -880,6 +922,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -917,6 +960,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Play::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Play::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -926,6 +970,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Pause::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Pause::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -935,6 +980,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopPlayback::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopPlayback::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -972,6 +1018,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1009,6 +1056,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1018,6 +1066,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1028,6 +1077,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1038,6 +1088,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1047,6 +1098,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1056,6 +1108,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1093,6 +1146,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1131,6 +1185,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1140,6 +1195,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1149,6 +1205,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1186,6 +1243,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1196,6 +1254,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1206,6 +1265,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1215,6 +1275,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1224,6 +1285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1233,6 +1295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1242,6 +1305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1251,6 +1315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1289,6 +1354,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1298,6 +1364,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1307,6 +1374,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1316,6 +1384,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1325,6 +1394,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1334,6 +1404,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1343,6 +1414,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1380,6 +1452,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1417,6 +1490,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Test::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Test::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1426,6 +1500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNotHandled::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNotHandled::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1435,6 +1510,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSpecific::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSpecific::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1444,6 +1520,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestAddArguments::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestAddArguments::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1453,6 +1530,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1462,6 +1540,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1472,6 +1551,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListStructArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1482,6 +1562,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1491,6 +1572,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructListArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1501,6 +1583,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListNestedStructListArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1511,6 +1594,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UReverseRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UReverseRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1520,6 +1604,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEnumsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEnumsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1529,6 +1614,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNullableOptionalRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNullableOptionalRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1538,6 +1624,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SimpleStructEchoRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SimpleStructEchoRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1547,6 +1634,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TimedInvokeRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TimedInvokeRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1556,6 +1644,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSimpleOptionalArgumentRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSimpleOptionalArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1566,6 +1655,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestEventRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1575,6 +1665,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestFabricScopedEventRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestFabricScopedEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1613,6 +1704,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1650,6 +1742,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1659,6 +1752,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1668,6 +1762,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 4f6d431583fd13..09dcd4d0dc2491 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -597,3 +597,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index 93cd15f439ed14..69e83862082ff3 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -386,6 +401,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -395,6 +411,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -404,6 +421,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -413,6 +431,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,6 +451,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -440,6 +461,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -449,6 +471,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -486,6 +509,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -495,6 +519,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,6 +530,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -515,6 +541,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -524,6 +551,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -533,6 +561,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -570,6 +599,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -579,6 +609,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -588,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -625,6 +657,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -635,6 +668,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -645,6 +679,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -654,6 +689,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -663,6 +699,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -672,6 +709,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -681,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -690,6 +729,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index 7eeef79f72fcc9..05fbff1c7e03d3 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -317,3 +317,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 0048f359fa28fd..52dacae6648fc2 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index 1edd0f7bd44eac..8c14fda2574756 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,6 +499,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -486,6 +509,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -495,6 +519,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -504,6 +529,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -513,6 +539,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -522,6 +549,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -568,6 +597,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -578,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -588,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,6 +629,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -606,6 +639,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -681,6 +716,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -690,6 +726,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -699,6 +736,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,6 +774,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -746,6 +785,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -756,6 +796,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -765,6 +806,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -783,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -792,6 +836,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -801,6 +846,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -839,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -848,6 +895,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -857,6 +905,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -866,6 +915,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,6 +925,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -884,6 +935,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,6 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -930,6 +983,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -967,6 +1021,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1004,6 +1059,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index 6fd5c04396147f..0c8c71ad640a6c 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -349,3 +349,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index e67653133c0dc2..78909a92774d5f 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index 1edd0f7bd44eac..8c14fda2574756 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,6 +499,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -486,6 +509,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -495,6 +519,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -504,6 +529,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -513,6 +539,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -522,6 +549,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -568,6 +597,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -578,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -588,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,6 +629,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -606,6 +639,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -681,6 +716,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -690,6 +726,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -699,6 +736,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,6 +774,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -746,6 +785,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -756,6 +796,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -765,6 +806,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -783,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -792,6 +836,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -801,6 +846,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -839,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -848,6 +895,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -857,6 +905,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -866,6 +915,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,6 +925,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -884,6 +935,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,6 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -930,6 +983,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -967,6 +1021,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1004,6 +1059,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index 83427624f287f4..abd8a2e0790b32 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -357,3 +357,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 5b01c84b47b28d..83772e1243c71e 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index f59b1abac8ceab..5a89e1d8d9eb19 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index 62475c9742ac68..d5b62b3f32253f 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -590,6 +618,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -599,6 +628,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -636,6 +666,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -656,6 +688,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -665,6 +698,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -674,6 +708,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -683,6 +718,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -692,6 +728,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -701,6 +738,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -739,6 +777,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -748,6 +787,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,6 +797,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -766,6 +807,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -775,6 +817,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -784,6 +827,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -793,6 +837,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -830,6 +875,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -867,6 +913,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -904,6 +951,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index 165c3d1c54a5de..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -333,3 +333,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index 62475c9742ac68..d5b62b3f32253f 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -590,6 +618,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -599,6 +628,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -636,6 +666,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -656,6 +688,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -665,6 +698,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -674,6 +708,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -683,6 +718,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -692,6 +728,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -701,6 +738,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -739,6 +777,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -748,6 +787,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,6 +797,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -766,6 +807,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -775,6 +817,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -784,6 +827,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -793,6 +837,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -830,6 +875,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -867,6 +913,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -904,6 +951,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index 165c3d1c54a5de..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -333,3 +333,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index 9a94176c2694b4..7d29c3a5d9df11 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index 2e8cd185f2d527..4fc2a32bf18207 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,6 +499,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -486,6 +509,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -495,6 +519,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -504,6 +529,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -513,6 +539,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -522,6 +549,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -568,6 +597,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -578,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -588,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,6 +629,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -606,6 +639,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -681,6 +716,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -690,6 +726,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -699,6 +736,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,6 +774,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -746,6 +785,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -756,6 +796,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -765,6 +806,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -783,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -792,6 +836,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -801,6 +846,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -839,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -876,6 +923,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,6 +961,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 6e356bf49c9130..98decb6cc951f1 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -333,3 +333,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index daeee2cf70a361..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,6 +757,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 44e831a55c94db..03c232ac1803d5 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index 847dba402796c9..f969661e38df23 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -693,6 +729,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -702,6 +739,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -711,6 +749,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -720,6 +759,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,6 +769,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -738,6 +779,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -775,6 +817,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -812,6 +855,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -849,6 +893,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -886,6 +931,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index 5243413e9400fe..7bfcc36ffb3804 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -381,3 +381,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index 90ac0a59359f3a..4e086ddca4e8ed 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +500,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -488,6 +511,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -543,6 +569,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +608,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,6 +619,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,6 +630,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -693,6 +729,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -702,6 +739,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -711,6 +749,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -720,6 +759,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,6 +769,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -738,6 +779,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -775,6 +817,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -812,6 +855,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -849,6 +893,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -886,6 +931,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -895,6 +941,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -904,6 +951,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,6 +961,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -922,6 +971,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -931,6 +981,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -940,6 +991,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index f5e18ae9e2bcf9..fb22277adb7ca5 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -333,3 +333,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 9c2c21f6ff14b2..1bc45f589853d8 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -20840,11 +20840,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73812,11 +73812,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73844,11 +73844,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73987,11 +73987,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74022,11 +74022,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74083,11 +74083,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74519,11 +74519,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75290,11 +75290,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75322,11 +75322,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75342,11 +75342,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75374,11 +75374,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75394,11 +75394,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index 43d9fce595d6bb..e3c975ce657b71 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -637,3 +637,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index c7d1360efc3716..8395d4a0da6cdc 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,6 +451,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,6 +499,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -487,6 +510,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,6 +521,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -506,6 +531,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -515,6 +541,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -552,6 +579,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -590,6 +618,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -600,6 +629,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,6 +640,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +650,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +680,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -655,6 +690,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -693,6 +729,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -730,6 +767,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -767,6 +805,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 1e70ab52a91a1d..9226fa764a8c26 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -341,3 +341,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index adf2da73d06244..d0d448949c10c9 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -136,6 +142,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -145,6 +152,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -154,6 +162,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -163,6 +172,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToHueAndSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -172,6 +182,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -181,6 +192,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -190,6 +202,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -199,6 +212,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,6 +222,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -217,6 +232,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -226,6 +242,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedStepHue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedStepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -235,6 +252,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHueAndSaturation::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -245,6 +263,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ColorLoopSet::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ColorLoopSet::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -254,6 +273,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMoveStep::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMoveStep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -263,6 +283,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -272,6 +293,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColorTemperature::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -309,6 +331,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -346,6 +369,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,6 +407,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -392,6 +417,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -401,6 +427,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -439,6 +466,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -476,6 +504,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -485,6 +514,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -494,6 +524,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -503,6 +534,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -540,6 +572,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -549,6 +582,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -558,6 +592,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -567,6 +602,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -576,6 +612,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -585,6 +622,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -622,6 +660,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -631,6 +670,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -668,6 +708,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,6 +718,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -686,6 +728,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -695,6 +738,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -704,6 +748,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -713,6 +758,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -722,6 +768,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -731,6 +778,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -768,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -777,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -787,6 +837,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -797,6 +848,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -806,6 +858,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -815,6 +868,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -852,6 +906,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -890,6 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -899,6 +955,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -908,6 +965,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -917,6 +975,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -926,6 +985,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -935,6 +995,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -972,6 +1033,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -982,6 +1044,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -992,6 +1055,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1001,6 +1065,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1010,6 +1075,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1019,6 +1085,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1028,6 +1095,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1037,6 +1105,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1075,6 +1144,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1112,6 +1182,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1149,6 +1220,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 20850267856b32..22deb0dc7ab73c 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -341,3 +341,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index 1469e552ae8d61..bb60e2b0702582 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -155,6 +160,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockWithTimeout::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockWithTimeout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -182,6 +190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -191,6 +200,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeekDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -200,6 +210,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetYearDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,6 +220,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetYearDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -218,6 +230,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearYearDaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -227,6 +240,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetHolidaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -236,6 +250,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetHolidaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -245,6 +260,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearHolidaySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -254,6 +270,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -263,6 +280,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -272,6 +290,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearUser::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -281,6 +300,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetCredential::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -290,6 +310,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetCredentialStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetCredentialStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -299,6 +320,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearCredential::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -336,6 +358,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,6 +396,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -382,6 +406,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -391,6 +416,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -429,6 +455,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -466,6 +493,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -475,6 +503,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -484,6 +513,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -493,6 +523,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -530,6 +561,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -539,6 +571,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -548,6 +581,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -557,6 +591,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -566,6 +601,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -575,6 +611,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -612,6 +649,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -649,6 +687,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -658,6 +697,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -668,6 +708,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -678,6 +719,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -687,6 +729,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -696,6 +739,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -733,6 +777,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -771,6 +816,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -780,6 +826,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -789,6 +836,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,6 +874,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -836,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,6 +896,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -855,6 +906,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -864,6 +916,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -873,6 +926,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -882,6 +936,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -891,6 +946,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -929,6 +985,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -966,6 +1023,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1003,6 +1061,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index 974f74079e8887..c9ac4cc5d26d48 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -333,3 +333,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp index 46d11e98f9b497..fca78db5f9cfa4 100644 --- a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -88,6 +89,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -97,6 +99,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -106,6 +109,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -144,6 +148,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -153,6 +158,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -163,6 +169,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -182,6 +190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -191,6 +200,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -228,6 +238,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -238,6 +249,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -248,6 +260,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -257,6 +270,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +280,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -275,6 +290,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -284,6 +300,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index 5470d69131e3ae..f063f5b2f40c56 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -165,3 +165,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index ece8a2796af23e..42ddd96e8e5862 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -165,6 +171,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -211,6 +219,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,6 +229,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +239,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -275,6 +287,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +298,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,6 +309,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -304,6 +319,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -313,6 +329,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -350,6 +367,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -359,6 +377,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -369,6 +388,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -407,6 +427,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -417,6 +438,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -427,6 +449,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -436,6 +459,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -445,6 +469,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -454,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -463,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -472,6 +499,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index d20319aac67bb5..644941f2439ed4 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -229,3 +229,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index 38d4d0183bfaeb..b802854e9e1d4d 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -165,6 +171,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -211,6 +219,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,6 +229,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +239,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -275,6 +287,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +298,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,6 +309,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -304,6 +319,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -313,6 +329,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -350,6 +367,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -388,6 +406,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -398,6 +417,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -408,6 +428,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -417,6 +438,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -426,6 +448,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -435,6 +458,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -444,6 +468,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -453,6 +478,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index b6c48d90d88d71..b7a47b8b4772eb 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -237,3 +237,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index 1e57879feda325..00aaea9738678f 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -210,6 +218,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,6 +256,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -256,6 +266,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -265,6 +276,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -496,6 +517,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,6 +527,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -514,6 +537,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,6 +547,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -532,6 +557,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,6 +567,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -550,6 +577,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -596,6 +625,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -633,6 +663,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -642,6 +673,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -652,6 +684,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -662,6 +695,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -671,6 +705,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,6 +715,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -717,6 +753,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -726,6 +763,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -735,6 +773,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -744,6 +783,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -753,6 +793,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -762,6 +803,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -799,6 +841,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -809,6 +852,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -819,6 +863,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,6 +873,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,6 +883,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,6 +893,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -855,6 +903,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -864,6 +913,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -902,6 +952,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -911,6 +962,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -920,6 +972,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -929,6 +982,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -938,6 +992,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -947,6 +1002,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -956,6 +1012,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -993,6 +1050,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1030,6 +1088,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1067,6 +1126,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1104,6 +1164,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1113,6 +1174,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1122,6 +1184,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1131,6 +1194,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1140,6 +1204,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1149,6 +1214,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1158,6 +1224,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index 96c039753c968a..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -405,3 +405,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index 1e57879feda325..00aaea9738678f 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -210,6 +218,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,6 +256,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -256,6 +266,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -265,6 +276,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -376,6 +393,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,6 +403,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,6 +479,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -496,6 +517,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,6 +527,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -514,6 +537,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,6 +547,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -532,6 +557,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,6 +567,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -550,6 +577,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -596,6 +625,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -633,6 +663,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -642,6 +673,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -652,6 +684,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -662,6 +695,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -671,6 +705,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,6 +715,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -717,6 +753,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -726,6 +763,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -735,6 +773,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -744,6 +783,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -753,6 +793,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -762,6 +803,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -799,6 +841,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -809,6 +852,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -819,6 +863,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,6 +873,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,6 +883,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,6 +893,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -855,6 +903,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -864,6 +913,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -902,6 +952,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -911,6 +962,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -920,6 +972,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -929,6 +982,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -938,6 +992,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -947,6 +1002,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -956,6 +1012,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -993,6 +1050,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1030,6 +1088,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1067,6 +1126,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1104,6 +1164,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1113,6 +1174,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1122,6 +1184,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1131,6 +1194,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1140,6 +1204,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1149,6 +1214,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1158,6 +1224,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index 96c039753c968a..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -405,3 +405,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 61326d20165fff..801f2c71341be4 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -165,6 +171,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -211,6 +219,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,6 +229,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +239,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -312,6 +325,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -321,6 +335,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -330,6 +345,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -339,6 +355,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -348,6 +365,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -357,6 +375,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -366,6 +385,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,6 +423,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -412,6 +433,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +444,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,6 +454,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -440,6 +464,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,6 +502,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -515,6 +541,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -524,6 +551,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -533,6 +561,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -570,6 +599,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -580,6 +610,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -590,6 +621,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -599,6 +631,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,6 +641,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -617,6 +651,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -626,6 +661,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -635,6 +671,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -673,6 +710,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index e9fde2c7b8c439..f85e4992801af6 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -293,3 +293,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index b9b666fe3a3bf9..16072d2b6dafd1 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -165,6 +171,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -211,6 +219,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,6 +229,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +239,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -312,6 +325,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -322,6 +336,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -331,6 +346,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +356,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -377,6 +394,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -415,6 +433,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -425,6 +444,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -435,6 +455,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -444,6 +465,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -453,6 +475,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -462,6 +485,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -471,6 +495,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -480,6 +505,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -518,6 +544,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index 056f140ef38382..215febb6fc627d 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -277,3 +277,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index cd64be13f4c933..a132a0357cb44c 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -183,6 +188,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -201,6 +208,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,6 +285,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -294,6 +305,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,6 +315,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -359,6 +374,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -368,6 +384,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -377,6 +394,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -414,6 +432,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -424,6 +443,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -434,6 +454,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -443,6 +464,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -452,6 +474,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -461,6 +484,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -470,6 +494,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,6 +504,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index aed58a11790ccc..edd96cd31c3e03 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -277,3 +277,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index 3e268d6de55364..dfe8cbdabafb85 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -146,6 +150,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -155,6 +160,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,6 +247,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -248,6 +257,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -257,6 +267,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -275,6 +287,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -284,6 +297,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -321,6 +335,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,6 +373,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,6 +383,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -377,6 +394,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -387,6 +405,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -396,6 +415,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -405,6 +425,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -442,6 +463,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -451,6 +473,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -461,6 +484,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,6 +523,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,6 +534,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -519,6 +545,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -528,6 +555,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -537,6 +565,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -546,6 +575,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -555,6 +585,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -564,6 +595,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -602,6 +634,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -611,6 +644,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -620,6 +654,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -629,6 +664,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -638,6 +674,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -647,6 +684,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -656,6 +694,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -693,6 +732,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -702,6 +742,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeeklySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -711,6 +752,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeeklySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -720,6 +762,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeeklySchedule::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index bbce02b0dbd3a7..77e88d263ca748 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index ebfa8dcdd95cb5..86ba13c411cf5d 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::GetSetupPIN::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSetupPIN::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -60,6 +61,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Login::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Login::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -69,6 +71,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Logout::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Logout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -106,6 +109,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -116,6 +120,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -126,6 +131,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -164,6 +170,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -173,6 +180,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -182,6 +190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideApp::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,6 +228,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectOutput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -228,6 +238,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameOutput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -265,6 +276,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeChannel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -274,6 +286,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ChangeChannelByNumber::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannelByNumber::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -283,6 +296,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipChannel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -320,6 +334,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -329,6 +344,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -366,6 +382,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,6 +420,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -440,6 +458,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -449,6 +468,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -458,6 +478,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -496,6 +517,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -533,6 +555,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -542,6 +565,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -551,6 +575,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -560,6 +585,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,6 +623,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -634,6 +661,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,6 +671,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -652,6 +681,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -661,6 +691,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,6 +701,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -679,6 +711,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -688,6 +721,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -697,6 +731,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -734,6 +769,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -771,6 +807,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -780,6 +817,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -789,6 +827,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -798,6 +837,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameInput::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -835,6 +875,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Play::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Play::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -844,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Pause::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Pause::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -853,6 +895,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopPlayback::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopPlayback::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -862,6 +905,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StartOver::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StartOver::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -871,6 +915,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Previous::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Previous::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -880,6 +925,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Next::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Next::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -889,6 +935,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Rewind::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Rewind::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -898,6 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::FastForward::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::FastForward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -907,6 +955,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipForward::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipForward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -916,6 +965,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipBackward::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipBackward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -925,6 +975,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Seek::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Seek::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -962,6 +1013,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -971,6 +1023,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -981,6 +1034,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -991,6 +1045,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1000,6 +1055,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1009,6 +1065,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1046,6 +1103,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1055,6 +1113,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1065,6 +1124,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1103,6 +1163,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1112,6 +1173,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1121,6 +1183,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1158,6 +1221,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1168,6 +1232,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1178,6 +1243,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1187,6 +1253,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1196,6 +1263,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1205,6 +1273,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1214,6 +1283,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1223,6 +1293,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1261,6 +1332,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 7ec58577fea388..41b6f28b0d995f 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -413,3 +413,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index aff1bbef0e70dd..aa6798e0930828 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::BarrierControlGoToPercent::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlGoToPercent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::BarrierControlStop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlStop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -155,6 +160,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,6 +198,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +236,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -238,6 +246,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,6 +256,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,6 +295,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -322,6 +333,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -331,6 +343,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -340,6 +353,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -349,6 +363,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -386,6 +401,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -395,6 +411,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -404,6 +421,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -413,6 +431,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -422,6 +441,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,6 +451,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,6 +489,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,6 +527,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -514,6 +537,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,6 +547,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -532,6 +557,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,6 +567,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -550,6 +577,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -559,6 +587,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -568,6 +597,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -605,6 +635,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -614,6 +645,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -624,6 +656,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -634,6 +667,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,6 +677,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -652,6 +687,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -689,6 +725,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -698,6 +735,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -708,6 +746,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -746,6 +785,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -755,6 +795,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -764,6 +805,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -801,6 +843,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -811,6 +854,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -821,6 +865,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -830,6 +875,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -839,6 +885,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -848,6 +895,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -857,6 +905,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -866,6 +915,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -904,6 +954,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,6 +964,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -922,6 +974,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -931,6 +984,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -940,6 +994,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -949,6 +1004,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -958,6 +1014,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 4ad54800c7a76f..3a0c8c19b53d37 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -445,3 +445,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index de38b57f697afc..2065f807a7b214 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,6 +51,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,6 +62,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,6 +73,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,6 +112,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -118,6 +122,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -127,6 +132,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -165,6 +171,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,6 +209,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -211,6 +219,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,6 +229,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,6 +239,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,6 +277,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -275,6 +287,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -284,6 +297,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -293,6 +307,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -302,6 +317,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -311,6 +327,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -348,6 +365,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -357,6 +375,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -394,6 +413,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,6 +423,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -413,6 +434,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -423,6 +445,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -432,6 +455,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,6 +465,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,6 +503,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -516,6 +542,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -526,6 +553,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -536,6 +564,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -545,6 +574,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -554,6 +584,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -563,6 +594,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -572,6 +604,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,6 +614,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,6 +653,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,6 +663,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -637,6 +673,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -646,6 +683,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -655,6 +693,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -664,6 +703,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -673,6 +713,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -710,6 +751,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -747,6 +789,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -784,6 +827,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -793,6 +837,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -802,6 +847,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -811,6 +857,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -820,6 +867,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -829,6 +877,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -838,6 +887,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index 4f583b0d46ac58..14f002d4a19228 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -325,3 +325,10 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} + +void __attribute__((weak)) +MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) +{ + (void) commandObj; + (void) commandPath; +} From 409d5538c25753a62194dcc2812e288a428e3c8b Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 14:38:44 +0000 Subject: [PATCH 06/15] Restyled by astyle --- .../CHIP/zap-generated/MTRCallbackBridge.mm | 952 ++-- .../zap-generated/IMClusterCommandHandler.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../app-common/zap-generated/callback.h | 1226 ++--- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../chip-tool/zap-generated/test/Commands.h | 4408 ++++++++++------- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../lock-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app1/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app2/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../pump-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../tv-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- 65 files changed, 3963 insertions(+), 2937 deletions(-) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index 3f5f4d2c1fc5bf..c5b7d5a0c1a7a5 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -23,7 +23,9 @@ #include -void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { DispatchSuccess(context, nil); }; +void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { + DispatchSuccess(context, nil); +}; void MTRCommandSuccessCallbackBridge::OnSuccessFn(void * context, const chip::app::DataModel::NullObjectType &) { @@ -737,7 +739,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -776,7 +778,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -815,7 +817,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -854,7 +856,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -893,7 +895,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -932,7 +934,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -971,7 +973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1010,7 +1012,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1049,7 +1051,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1088,7 +1090,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1127,7 +1129,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1166,7 +1168,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1205,7 +1207,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1245,7 +1247,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1285,7 +1287,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1324,7 +1326,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1363,7 +1365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1402,7 +1404,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1441,7 +1443,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1480,7 +1482,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1519,7 +1521,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1555,10 +1557,10 @@ } void MTRDescriptorDeviceListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1599,7 +1601,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1638,7 +1640,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1677,7 +1679,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1716,7 +1718,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1755,7 +1757,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1794,7 +1796,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1830,10 +1832,10 @@ } void MTRBindingBindingListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1893,7 +1895,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1932,7 +1934,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1971,7 +1973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2007,11 +2009,11 @@ } void MTRAccessControlAclListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2023,7 +2025,7 @@ if (entry_0.subjects.IsNull()) { newElement_0.subjects = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.subjects.Value().begin(); while (iter_3.Next()) { @@ -2043,7 +2045,7 @@ if (entry_0.targets.IsNull()) { newElement_0.targets = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.targets.Value().begin(); while (iter_3.Next()) { @@ -2105,10 +2107,10 @@ } void MTRAccessControlExtensionListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2149,7 +2151,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2188,7 +2190,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2227,7 +2229,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2263,10 +2265,10 @@ } void MTRBridgedActionsActionListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2275,8 +2277,8 @@ newElement_0 = [MTRBridgedActionsClusterActionStruct new]; newElement_0.actionID = [NSNumber numberWithUnsignedShort:entry_0.actionID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.supportedCommands = [NSNumber numberWithUnsignedShort:entry_0.supportedCommands]; @@ -2310,11 +2312,11 @@ } void MTRBridgedActionsEndpointListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2323,10 +2325,10 @@ newElement_0 = [MTRBridgedActionsClusterEndpointListStruct new]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -2374,7 +2376,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2413,7 +2415,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2452,7 +2454,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2517,7 +2519,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2556,7 +2558,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2595,7 +2597,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2634,7 +2636,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2674,7 +2676,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2714,7 +2716,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2750,11 +2752,11 @@ } void MTROtaSoftwareUpdateRequestorDefaultOtaProvidersListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OtaSoftwareUpdateRequestor::Structs::ProviderLocation::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2797,7 +2799,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2837,7 +2839,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2877,7 +2879,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2916,7 +2918,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2955,7 +2957,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2995,7 +2997,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3035,7 +3037,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3074,7 +3076,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3114,7 +3116,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3153,7 +3155,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3192,7 +3194,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3231,7 +3233,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3270,7 +3272,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3309,7 +3311,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3348,7 +3350,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3387,7 +3389,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3427,7 +3429,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3467,7 +3469,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3506,7 +3508,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3545,7 +3547,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3584,7 +3586,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3623,7 +3625,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3662,7 +3664,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3701,7 +3703,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3767,7 +3769,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3806,7 +3808,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3845,7 +3847,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3881,11 +3883,11 @@ } void MTRNetworkCommissioningNetworksListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3926,7 +3928,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3965,7 +3967,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4004,7 +4006,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4043,7 +4045,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4082,7 +4084,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4121,7 +4123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4157,11 +4159,11 @@ } void MTRGeneralDiagnosticsNetworkInterfacesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4169,8 +4171,8 @@ MTRGeneralDiagnosticsClusterNetworkInterfaceType * newElement_0; newElement_0 = [MTRGeneralDiagnosticsClusterNetworkInterfaceType new]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.isOperational = [NSNumber numberWithBool:entry_0.isOperational]; if (entry_0.offPremiseServicesReachableIPv4.IsNull()) { newElement_0.offPremiseServicesReachableIPv4 = nil; @@ -4185,8 +4187,8 @@ [NSNumber numberWithBool:entry_0.offPremiseServicesReachableIPv6.Value()]; } newElement_0.hardwareAddress = [NSData dataWithBytes:entry_0.hardwareAddress.data() - length:entry_0.hardwareAddress.size()]; - { // Scope for our temporary variables + length:entry_0.hardwareAddress.size()]; + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv4Addresses.begin(); while (iter_2.Next()) { @@ -4202,7 +4204,7 @@ } newElement_0.iPv4Addresses = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv6Addresses.begin(); while (iter_2.Next()) { @@ -4251,7 +4253,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4290,7 +4292,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4329,7 +4331,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4368,7 +4370,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4407,7 +4409,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4446,7 +4448,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4482,11 +4484,11 @@ } void MTRSoftwareDiagnosticsThreadMetricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4496,8 +4498,8 @@ newElement_0.id = [NSNumber numberWithUnsignedLongLong:entry_0.id]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } @@ -4548,7 +4550,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4587,7 +4589,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4626,7 +4628,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4662,11 +4664,11 @@ } void MTRThreadNetworkDiagnosticsNeighborTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::NeighborTable::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4724,11 +4726,11 @@ } void MTRThreadNetworkDiagnosticsRouteTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4774,7 +4776,7 @@ } void MTRThreadNetworkDiagnosticsSecurityPolicyStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & + const chip::app::DataModel::Nullable & value) { MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable objCValue; @@ -4805,7 +4807,7 @@ } void MTRThreadNetworkDiagnosticsOperationalDatasetComponentsStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable< + const chip::app::DataModel::Nullable< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::OperationalDatasetComponents::DecodableType> & value) { MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable objCValue; @@ -4851,7 +4853,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4891,7 +4893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4931,7 +4933,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4971,7 +4973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5010,7 +5012,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5049,7 +5051,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5088,7 +5090,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5127,7 +5129,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5167,7 +5169,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5207,7 +5209,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5246,7 +5248,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5285,7 +5287,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5324,7 +5326,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5363,7 +5365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5402,7 +5404,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5441,7 +5443,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5480,7 +5482,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5520,7 +5522,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5560,7 +5562,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5596,11 +5598,11 @@ } void MTROperationalCredentialsNOCsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5643,11 +5645,11 @@ } void MTROperationalCredentialsFabricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5659,8 +5661,8 @@ newElement_0.fabricId = [NSNumber numberWithUnsignedLongLong:entry_0.fabricId]; newElement_0.nodeId = [NSNumber numberWithUnsignedLongLong:entry_0.nodeId]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricIndex = [NSNumber numberWithUnsignedChar:entry_0.fabricIndex]; [array_0 addObject:newElement_0]; } @@ -5694,7 +5696,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5734,7 +5736,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5773,7 +5775,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5812,7 +5814,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5848,11 +5850,11 @@ } void MTRGroupKeyManagementGroupKeyMapListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5891,11 +5893,11 @@ } void MTRGroupKeyManagementGroupTableListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5903,7 +5905,7 @@ MTRGroupKeyManagementClusterGroupInfoMapStruct * newElement_0; newElement_0 = [MTRGroupKeyManagementClusterGroupInfoMapStruct new]; newElement_0.groupId = [NSNumber numberWithUnsignedShort:entry_0.groupId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -5921,8 +5923,8 @@ } if (entry_0.groupName.HasValue()) { newElement_0.groupName = [[NSString alloc] initWithBytes:entry_0.groupName.Value().data() - length:entry_0.groupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.groupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.groupName = nil; } @@ -5959,7 +5961,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5998,7 +6000,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6037,7 +6039,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6073,10 +6075,10 @@ } void MTRFixedLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6084,11 +6086,11 @@ MTRFixedLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRFixedLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6121,7 +6123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6160,7 +6162,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6199,7 +6201,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6235,10 +6237,10 @@ } void MTRUserLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6246,11 +6248,11 @@ MTRUserLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRUserLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6283,7 +6285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6322,7 +6324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6361,7 +6363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6400,7 +6402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6439,7 +6441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6478,7 +6480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6514,10 +6516,10 @@ } void MTRModeSelectSupportedModesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6525,10 +6527,10 @@ MTRModeSelectClusterModeOptionStruct * newElement_0; newElement_0 = [MTRModeSelectClusterModeOptionStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.mode = [NSNumber numberWithUnsignedChar:entry_0.mode]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.semanticTags.begin(); while (iter_2.Next()) { @@ -6578,7 +6580,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6617,7 +6619,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6656,7 +6658,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6791,7 +6793,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6830,7 +6832,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6869,7 +6871,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7004,7 +7006,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7043,7 +7045,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7082,7 +7084,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7121,7 +7123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7160,7 +7162,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7199,7 +7201,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7262,7 +7264,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7302,7 +7304,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7342,7 +7344,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7381,7 +7383,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7420,7 +7422,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7459,7 +7461,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7498,7 +7500,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7537,7 +7539,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7576,7 +7578,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7615,7 +7617,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7638,7 +7640,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -7656,7 +7658,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7697,7 +7699,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7738,7 +7740,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7777,7 +7779,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7816,7 +7818,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7855,7 +7857,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7894,7 +7896,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7933,7 +7935,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7972,7 +7974,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8011,7 +8013,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8050,7 +8052,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8089,7 +8091,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8128,7 +8130,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8167,7 +8169,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8206,7 +8208,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8245,7 +8247,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8284,7 +8286,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8323,7 +8325,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8363,7 +8365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8403,7 +8405,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8442,7 +8444,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8481,7 +8483,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8520,7 +8522,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8559,7 +8561,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8598,7 +8600,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8637,7 +8639,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8673,10 +8675,10 @@ } void MTRChannelChannelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8687,22 +8689,22 @@ newElement_0.minorNumber = [NSNumber numberWithUnsignedShort:entry_0.minorNumber]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } if (entry_0.callSign.HasValue()) { newElement_0.callSign = [[NSString alloc] initWithBytes:entry_0.callSign.Value().data() - length:entry_0.callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.callSign = nil; } if (entry_0.affiliateCallSign.HasValue()) { newElement_0.affiliateCallSign = [[NSString alloc] initWithBytes:entry_0.affiliateCallSign.Value().data() - length:entry_0.affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.affiliateCallSign = nil; } @@ -8743,19 +8745,19 @@ } else { objCValue = [MTRChannelClusterLineupInfo new]; objCValue.operatorName = [[NSString alloc] initWithBytes:value.Value().operatorName.data() - length:value.Value().operatorName.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().operatorName.size() + encoding:NSUTF8StringEncoding]; if (value.Value().lineupName.HasValue()) { objCValue.lineupName = [[NSString alloc] initWithBytes:value.Value().lineupName.Value().data() - length:value.Value().lineupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().lineupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.lineupName = nil; } if (value.Value().postalCode.HasValue()) { objCValue.postalCode = [[NSString alloc] initWithBytes:value.Value().postalCode.Value().data() - length:value.Value().postalCode.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().postalCode.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.postalCode = nil; } @@ -8792,22 +8794,22 @@ objCValue.minorNumber = [NSNumber numberWithUnsignedShort:value.Value().minorNumber]; if (value.Value().name.HasValue()) { objCValue.name = [[NSString alloc] initWithBytes:value.Value().name.Value().data() - length:value.Value().name.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().name.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.name = nil; } if (value.Value().callSign.HasValue()) { objCValue.callSign = [[NSString alloc] initWithBytes:value.Value().callSign.Value().data() - length:value.Value().callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.callSign = nil; } if (value.Value().affiliateCallSign.HasValue()) { objCValue.affiliateCallSign = [[NSString alloc] initWithBytes:value.Value().affiliateCallSign.Value().data() - length:value.Value().affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.affiliateCallSign = nil; } @@ -8835,7 +8837,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8874,7 +8876,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8913,7 +8915,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8949,10 +8951,10 @@ } void MTRTargetNavigatorTargetListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8961,8 +8963,8 @@ newElement_0 = [MTRTargetNavigatorClusterTargetInfo new]; newElement_0.identifier = [NSNumber numberWithUnsignedChar:entry_0.identifier]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -8995,7 +8997,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9034,7 +9036,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9073,7 +9075,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9109,7 +9111,7 @@ } void MTRMediaPlaybackSampledPositionStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRMediaPlaybackClusterPlaybackPosition * _Nullable objCValue; if (value.IsNull()) { @@ -9146,7 +9148,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9185,7 +9187,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9224,7 +9226,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9260,10 +9262,10 @@ } void MTRMediaInputInputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9273,11 +9275,11 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.inputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.inputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.descriptionString = [[NSString alloc] initWithBytes:entry_0.description.data() - length:entry_0.description.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.description.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9310,7 +9312,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9349,7 +9351,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9388,7 +9390,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9427,7 +9429,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9466,7 +9468,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9505,7 +9507,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9544,7 +9546,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9583,7 +9585,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9622,7 +9624,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9661,7 +9663,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9700,7 +9702,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9739,7 +9741,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9778,7 +9780,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9814,10 +9816,10 @@ } void MTRAudioOutputOutputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9827,8 +9829,8 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.outputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.outputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9861,7 +9863,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9900,7 +9902,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9939,7 +9941,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9978,7 +9980,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10014,7 +10016,7 @@ } void MTRApplicationLauncherCurrentAppStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRApplicationLauncherClusterApplicationEP * _Nullable objCValue; if (value.IsNull()) { @@ -10024,8 +10026,8 @@ objCValue.application = [MTRApplicationLauncherClusterApplication new]; objCValue.application.catalogVendorId = [NSNumber numberWithUnsignedShort:value.Value().application.catalogVendorId]; objCValue.application.applicationId = [[NSString alloc] initWithBytes:value.Value().application.applicationId.data() - length:value.Value().application.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().application.applicationId.size() + encoding:NSUTF8StringEncoding]; if (value.Value().endpoint.HasValue()) { objCValue.endpoint = [NSNumber numberWithUnsignedShort:value.Value().endpoint.Value()]; } else { @@ -10055,7 +10057,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10094,7 +10096,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10133,7 +10135,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10175,8 +10177,8 @@ objCValue = [MTRApplicationBasicClusterApplicationBasicApplication new]; objCValue.catalogVendorId = [NSNumber numberWithUnsignedShort:value.catalogVendorId]; objCValue.applicationId = [[NSString alloc] initWithBytes:value.applicationId.data() - length:value.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.applicationId.size() + encoding:NSUTF8StringEncoding]; DispatchSuccess(context, objCValue); }; @@ -10200,7 +10202,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10239,7 +10241,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10278,7 +10280,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10317,7 +10319,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10356,7 +10358,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10395,7 +10397,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10434,7 +10436,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10473,7 +10475,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10512,7 +10514,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10551,7 +10553,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10686,7 +10688,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10725,7 +10727,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10761,11 +10763,11 @@ } void MTRTestClusterListStructOctetStringListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10803,11 +10805,11 @@ } void MTRTestClusterListNullablesAndOptionalsStructListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10838,13 +10840,13 @@ newElement_0.nullableString = nil; } else { newElement_0.nullableString = [[NSString alloc] initWithBytes:entry_0.nullableString.Value().data() - length:entry_0.nullableString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableString.Value().size() + encoding:NSUTF8StringEncoding]; } if (entry_0.optionalString.HasValue()) { newElement_0.optionalString = [[NSString alloc] initWithBytes:entry_0.optionalString.Value().data() - length:entry_0.optionalString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalString.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.optionalString = nil; } @@ -10854,8 +10856,8 @@ } else { newElement_0.nullableOptionalString = [[NSString alloc] initWithBytes:entry_0.nullableOptionalString.Value().Value().data() - length:entry_0.nullableOptionalString.Value().Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalString.Value().Value().size() + encoding:NSUTF8StringEncoding]; } } else { newElement_0.nullableOptionalString = nil; @@ -10869,10 +10871,10 @@ newElement_0.nullableStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableStruct.Value().c)]; newElement_0.nullableStruct.d = [NSData dataWithBytes:entry_0.nullableStruct.Value().d.data() - length:entry_0.nullableStruct.Value().d.size()]; + length:entry_0.nullableStruct.Value().d.size()]; newElement_0.nullableStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableStruct.Value().e.data() - length:entry_0.nullableStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableStruct.Value().f.Raw()]; newElement_0.nullableStruct.g = [NSNumber numberWithFloat:entry_0.nullableStruct.Value().g]; newElement_0.nullableStruct.h = [NSNumber numberWithDouble:entry_0.nullableStruct.Value().h]; @@ -10884,10 +10886,10 @@ newElement_0.optionalStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.optionalStruct.Value().c)]; newElement_0.optionalStruct.d = [NSData dataWithBytes:entry_0.optionalStruct.Value().d.data() - length:entry_0.optionalStruct.Value().d.size()]; + length:entry_0.optionalStruct.Value().d.size()]; newElement_0.optionalStruct.e = [[NSString alloc] initWithBytes:entry_0.optionalStruct.Value().e.data() - length:entry_0.optionalStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.optionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.optionalStruct.Value().f.Raw()]; newElement_0.optionalStruct.g = [NSNumber numberWithFloat:entry_0.optionalStruct.Value().g]; newElement_0.optionalStruct.h = [NSNumber numberWithDouble:entry_0.optionalStruct.Value().h]; @@ -10907,11 +10909,11 @@ [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableOptionalStruct.Value().Value().c)]; newElement_0.nullableOptionalStruct.d = [NSData dataWithBytes:entry_0.nullableOptionalStruct.Value().Value().d.data() - length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; + length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; newElement_0.nullableOptionalStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableOptionalStruct.Value().Value().e.data() - length:entry_0.nullableOptionalStruct.Value().Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalStruct.Value().Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableOptionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableOptionalStruct.Value().Value().f.Raw()]; newElement_0.nullableOptionalStruct.g = @@ -10925,7 +10927,7 @@ if (entry_0.nullableList.IsNull()) { newElement_0.nullableList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.nullableList.Value().begin(); while (iter_3.Next()) { @@ -10943,7 +10945,7 @@ } } if (entry_0.optionalList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.optionalList.Value().begin(); while (iter_3.Next()) { @@ -10966,7 +10968,7 @@ if (entry_0.nullableOptionalList.Value().IsNull()) { newElement_0.nullableOptionalList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_4 = [NSMutableArray new]; auto iter_4 = entry_0.nullableOptionalList.Value().Value().begin(); while (iter_4.Next()) { @@ -11050,7 +11052,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11086,10 +11088,10 @@ } void MTRTestClusterListFabricScopedListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11120,22 +11122,22 @@ newElement_0.nullableOptionalFabricSensitiveInt8u = nil; } newElement_0.fabricSensitiveCharString = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveCharString.data() - length:entry_0.fabricSensitiveCharString.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveCharString.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct = [MTRTestClusterClusterSimpleStruct new]; newElement_0.fabricSensitiveStruct.a = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.a]; newElement_0.fabricSensitiveStruct.b = [NSNumber numberWithBool:entry_0.fabricSensitiveStruct.b]; newElement_0.fabricSensitiveStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.fabricSensitiveStruct.c)]; newElement_0.fabricSensitiveStruct.d = [NSData dataWithBytes:entry_0.fabricSensitiveStruct.d.data() - length:entry_0.fabricSensitiveStruct.d.size()]; + length:entry_0.fabricSensitiveStruct.d.size()]; newElement_0.fabricSensitiveStruct.e = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveStruct.e.data() - length:entry_0.fabricSensitiveStruct.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveStruct.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct.f = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.f.Raw()]; newElement_0.fabricSensitiveStruct.g = [NSNumber numberWithFloat:entry_0.fabricSensitiveStruct.g]; newElement_0.fabricSensitiveStruct.h = [NSNumber numberWithDouble:entry_0.fabricSensitiveStruct.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.fabricSensitiveInt8uList.begin(); while (iter_2.Next()) { @@ -11293,7 +11295,7 @@ } void MTRTestClusterNullableStructStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRTestClusterClusterSimpleStruct * _Nullable objCValue; if (value.IsNull()) { @@ -11305,8 +11307,8 @@ objCValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value().c)]; objCValue.d = [NSData dataWithBytes:value.Value().d.data() length:value.Value().d.size()]; objCValue.e = [[NSString alloc] initWithBytes:value.Value().e.data() - length:value.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().e.size() + encoding:NSUTF8StringEncoding]; objCValue.f = [NSNumber numberWithUnsignedChar:value.Value().f.Raw()]; objCValue.g = [NSNumber numberWithFloat:value.Value().g]; objCValue.h = [NSNumber numberWithDouble:value.Value().h]; @@ -11334,7 +11336,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11373,7 +11375,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11412,7 +11414,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11472,8 +11474,8 @@ } { response.groupName = [[NSString alloc] initWithBytes:data.groupName.data() - length:data.groupName.size() - encoding:NSUTF8StringEncoding]; + length:data.groupName.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11490,7 +11492,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupList.begin(); while (iter_0.Next()) { @@ -11562,15 +11564,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11578,7 +11580,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11590,7 +11592,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11695,7 +11697,7 @@ } { if (data.sceneList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.sceneList.Value().begin(); while (iter_1.Next()) { @@ -11757,15 +11759,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11773,7 +11775,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11785,7 +11787,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11859,8 +11861,8 @@ { if (data.imageURI.HasValue()) { response.imageURI = [[NSString alloc] initWithBytes:data.imageURI.Value().data() - length:data.imageURI.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.imageURI.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.imageURI = nil; } @@ -11875,8 +11877,8 @@ { if (data.softwareVersionString.HasValue()) { response.softwareVersionString = [[NSString alloc] initWithBytes:data.softwareVersionString.Value().data() - length:data.softwareVersionString.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.softwareVersionString.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.softwareVersionString = nil; } @@ -11898,7 +11900,7 @@ { if (data.metadataForRequestor.HasValue()) { response.metadataForRequestor = [NSData dataWithBytes:data.metadataForRequestor.Value().data() - length:data.metadataForRequestor.Value().size()]; + length:data.metadataForRequestor.Value().size()]; } else { response.metadataForRequestor = nil; } @@ -11928,8 +11930,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11943,8 +11945,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11958,8 +11960,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11974,15 +11976,15 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } } { if (data.wiFiScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.wiFiScanResults.Value().begin(); while (iter_1.Next()) { @@ -12010,7 +12012,7 @@ } { if (data.threadScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.threadScanResults.Value().begin(); while (iter_1.Next()) { @@ -12020,12 +12022,12 @@ newElement_1.panId = [NSNumber numberWithUnsignedShort:entry_1.panId]; newElement_1.extendedPanId = [NSNumber numberWithUnsignedLongLong:entry_1.extendedPanId]; newElement_1.networkName = [[NSString alloc] initWithBytes:entry_1.networkName.data() - length:entry_1.networkName.size() - encoding:NSUTF8StringEncoding]; + length:entry_1.networkName.size() + encoding:NSUTF8StringEncoding]; newElement_1.channel = [NSNumber numberWithUnsignedShort:entry_1.channel]; newElement_1.version = [NSNumber numberWithUnsignedChar:entry_1.version]; newElement_1.extendedAddress = [NSData dataWithBytes:entry_1.extendedAddress.data() - length:entry_1.extendedAddress.size()]; + length:entry_1.extendedAddress.size()]; newElement_1.rssi = [NSNumber numberWithChar:entry_1.rssi]; newElement_1.lqi = [NSNumber numberWithUnsignedChar:entry_1.lqi]; [array_1 addObject:newElement_1]; @@ -12054,8 +12056,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12080,8 +12082,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12121,7 +12123,7 @@ auto * response = [MTROperationalCredentialsClusterAttestationResponseParams new]; { response.attestationElements = [NSData dataWithBytes:data.attestationElements.data() - length:data.attestationElements.size()]; + length:data.attestationElements.size()]; } { response.signature = [NSData dataWithBytes:data.signature.data() length:data.signature.size()]; @@ -12148,7 +12150,7 @@ } { response.attestationSignature = [NSData dataWithBytes:data.attestationSignature.data() - length:data.attestationSignature.size()]; + length:data.attestationSignature.size()]; } DispatchSuccess(context, response); }; @@ -12170,8 +12172,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12192,7 +12194,7 @@ response.groupKeySet.epochKey0 = nil; } else { response.groupKeySet.epochKey0 = [NSData dataWithBytes:data.groupKeySet.epochKey0.Value().data() - length:data.groupKeySet.epochKey0.Value().size()]; + length:data.groupKeySet.epochKey0.Value().size()]; } if (data.groupKeySet.epochStartTime0.IsNull()) { response.groupKeySet.epochStartTime0 = nil; @@ -12203,7 +12205,7 @@ response.groupKeySet.epochKey1 = nil; } else { response.groupKeySet.epochKey1 = [NSData dataWithBytes:data.groupKeySet.epochKey1.Value().data() - length:data.groupKeySet.epochKey1.Value().size()]; + length:data.groupKeySet.epochKey1.Value().size()]; } if (data.groupKeySet.epochStartTime1.IsNull()) { response.groupKeySet.epochStartTime1 = nil; @@ -12214,7 +12216,7 @@ response.groupKeySet.epochKey2 = nil; } else { response.groupKeySet.epochKey2 = [NSData dataWithBytes:data.groupKeySet.epochKey2.Value().data() - length:data.groupKeySet.epochKey2.Value().size()]; + length:data.groupKeySet.epochKey2.Value().size()]; } if (data.groupKeySet.epochStartTime2.IsNull()) { response.groupKeySet.epochStartTime2 = nil; @@ -12230,7 +12232,7 @@ { auto * response = [MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupKeySetIDs.begin(); while (iter_0.Next()) { @@ -12377,8 +12379,8 @@ response.userName = nil; } else { response.userName = [[NSString alloc] initWithBytes:data.userName.Value().data() - length:data.userName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.userName.Value().size() + encoding:NSUTF8StringEncoding]; } } { @@ -12413,7 +12415,7 @@ if (data.credentials.IsNull()) { response.credentials = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.credentials.Value().begin(); while (iter_1.Next()) { @@ -12533,7 +12535,7 @@ response.modeForSequence = [NSNumber numberWithUnsignedChar:data.modeForSequence.Raw()]; } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.transitions.begin(); while (iter_0.Next()) { @@ -12574,8 +12576,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12593,8 +12595,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12612,8 +12614,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12641,8 +12643,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12669,8 +12671,8 @@ auto * response = [MTRAccountLoginClusterGetSetupPINResponseParams new]; { response.setupPIN = [[NSString alloc] initWithBytes:data.setupPIN.data() - length:data.setupPIN.size() - encoding:NSUTF8StringEncoding]; + length:data.setupPIN.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -12710,7 +12712,7 @@ { auto * response = [MTRTestClusterClusterTestStructArrayArgumentResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -12725,12 +12727,12 @@ newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() - length:entry_0.c.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.c.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.d.begin(); while (iter_2.Next()) { @@ -12742,8 +12744,8 @@ newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() - length:entry_2.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_2.e.size() + encoding:NSUTF8StringEncoding]; newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; @@ -12756,7 +12758,7 @@ } newElement_0.d = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.e.begin(); while (iter_2.Next()) { @@ -12772,7 +12774,7 @@ } newElement_0.e = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.f.begin(); while (iter_2.Next()) { @@ -12788,7 +12790,7 @@ } newElement_0.f = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.g.begin(); while (iter_2.Next()) { @@ -12815,7 +12817,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg2.begin(); while (iter_0.Next()) { @@ -12827,8 +12829,8 @@ newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() - length:entry_0.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; @@ -12843,7 +12845,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg3.begin(); while (iter_0.Next()) { @@ -12861,7 +12863,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg4.begin(); while (iter_0.Next()) { @@ -12892,7 +12894,7 @@ { auto * response = [MTRTestClusterClusterTestListInt8UReverseResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -13007,8 +13009,8 @@ { if (data.nullableStringValue.HasValue()) { response.nullableStringValue = [[NSString alloc] initWithBytes:data.nullableStringValue.Value().data() - length:data.nullableStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableStringValue = nil; } @@ -13019,8 +13021,8 @@ { if (data.optionalStringValue.HasValue()) { response.optionalStringValue = [[NSString alloc] initWithBytes:data.optionalStringValue.Value().data() - length:data.optionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.optionalStringValue = nil; } @@ -13038,8 +13040,8 @@ { if (data.nullableOptionalStringValue.HasValue()) { response.nullableOptionalStringValue = [[NSString alloc] initWithBytes:data.nullableOptionalStringValue.Value().data() - length:data.nullableOptionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableOptionalStringValue = nil; } @@ -13055,10 +13057,10 @@ response.nullableStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableStructValue.Value().c)]; response.nullableStructValue.d = [NSData dataWithBytes:data.nullableStructValue.Value().d.data() - length:data.nullableStructValue.Value().d.size()]; + length:data.nullableStructValue.Value().d.size()]; response.nullableStructValue.e = [[NSString alloc] initWithBytes:data.nullableStructValue.Value().e.data() - length:data.nullableStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableStructValue.Value().f.Raw()]; response.nullableStructValue.g = [NSNumber numberWithFloat:data.nullableStructValue.Value().g]; response.nullableStructValue.h = [NSNumber numberWithDouble:data.nullableStructValue.Value().h]; @@ -13077,10 +13079,10 @@ response.optionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.optionalStructValue.Value().c)]; response.optionalStructValue.d = [NSData dataWithBytes:data.optionalStructValue.Value().d.data() - length:data.optionalStructValue.Value().d.size()]; + length:data.optionalStructValue.Value().d.size()]; response.optionalStructValue.e = [[NSString alloc] initWithBytes:data.optionalStructValue.Value().e.data() - length:data.optionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.optionalStructValue.f = [NSNumber numberWithUnsignedChar:data.optionalStructValue.Value().f.Raw()]; response.optionalStructValue.g = [NSNumber numberWithFloat:data.optionalStructValue.Value().g]; response.optionalStructValue.h = [NSNumber numberWithDouble:data.optionalStructValue.Value().h]; @@ -13106,11 +13108,11 @@ response.nullableOptionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableOptionalStructValue.Value().c)]; response.nullableOptionalStructValue.d = [NSData dataWithBytes:data.nullableOptionalStructValue.Value().d.data() - length:data.nullableOptionalStructValue.Value().d.size()]; + length:data.nullableOptionalStructValue.Value().d.size()]; response.nullableOptionalStructValue.e = [[NSString alloc] initWithBytes:data.nullableOptionalStructValue.Value().e.data() - length:data.nullableOptionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableOptionalStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableOptionalStructValue.Value().f.Raw()]; response.nullableOptionalStructValue.g = [NSNumber numberWithFloat:data.nullableOptionalStructValue.Value().g]; @@ -13124,7 +13126,7 @@ } { if (data.nullableListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableListValue.Value().begin(); while (iter_1.Next()) { @@ -13149,7 +13151,7 @@ } { if (data.optionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.optionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13181,7 +13183,7 @@ } { if (data.nullableOptionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableOptionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13225,8 +13227,8 @@ response.arg1.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg1.c)]; response.arg1.d = [NSData dataWithBytes:data.arg1.d.data() length:data.arg1.d.size()]; response.arg1.e = [[NSString alloc] initWithBytes:data.arg1.e.data() - length:data.arg1.e.size() - encoding:NSUTF8StringEncoding]; + length:data.arg1.e.size() + encoding:NSUTF8StringEncoding]; response.arg1.f = [NSNumber numberWithUnsignedChar:data.arg1.f.Raw()]; response.arg1.g = [NSNumber numberWithFloat:data.arg1.g]; response.arg1.h = [NSNumber numberWithDouble:data.arg1.h]; @@ -14275,7 +14277,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTAApplyUpdateActionAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14290,7 +14292,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14330,7 +14332,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTADownloadProtocolAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14440,7 +14442,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14452,11 +14454,11 @@ }; void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14497,7 +14499,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAChangeReasonEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14512,7 +14514,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14552,7 +14554,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAUpdateStateEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15291,7 +15293,7 @@ } void MTRNullableNetworkCommissioningClusterNetworkCommissioningStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15307,7 +15309,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15927,7 +15929,7 @@ } void MTRNullableThreadNetworkDiagnosticsClusterThreadConnectionStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15943,7 +15945,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15984,7 +15986,7 @@ } void MTRNullableWiFiNetworkDiagnosticsClusterAssociationFailureCauseAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15999,7 +16001,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16256,7 +16258,7 @@ } void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16268,11 +16270,11 @@ }; void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16365,7 +16367,7 @@ } void MTRNullableOperationalCredentialsClusterOperationalCertStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -17676,7 +17678,7 @@ } void MTRNullablePumpConfigurationAndControlClusterPumpOperationModeAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19146,7 +19148,7 @@ } void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19158,11 +19160,11 @@ }; void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -19362,7 +19364,7 @@ } void MTRNullableMessagingClusterMessagingControlEnhancedConfirmationAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19377,7 +19379,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index aad3d6c655fa95..bbdcc7b7ccb7e9 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } @@ -1815,7 +1815,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index 488fb3efd18d04..039cbf6592bb14 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -550,7 +550,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -576,7 +576,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -627,7 +627,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index d14a3c2eb39725..371319cdffcdf0 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -115,7 +115,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -1589,7 +1589,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 09dcd4d0dc2491..6ee2652ef482fc 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -518,7 +518,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -544,7 +544,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -595,7 +595,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) 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 3364c8a743e3fd..bc9a52662bf14c 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index 69e83862082ff3..d128755316eaee 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index 05fbff1c7e03d3..c2441cd59972c8 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -238,7 +238,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -264,7 +264,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -315,7 +315,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 52dacae6648fc2..6d87853bfd394f 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index 8c14fda2574756..6db6606e931311 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index 0c8c71ad640a6c..ee71891d449c8c 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -270,7 +270,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -296,7 +296,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -347,7 +347,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index 78909a92774d5f..4671a3085c0f9a 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index 8c14fda2574756..6db6606e931311 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index abd8a2e0790b32..d811cc1e79566e 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -278,7 +278,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -304,7 +304,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -355,7 +355,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 83772e1243c71e..5bac9de07149fa 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index 5a89e1d8d9eb19..9d8774cfdad15a 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index d5b62b3f32253f..0e33c8533855e0 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index abf37f285b25bb..f6506f6434d0e0 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index d5b62b3f32253f..0e33c8533855e0 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index abf37f285b25bb..f6506f6434d0e0 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index 7d29c3a5d9df11..fb2dd3958c2b88 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index 4fc2a32bf18207..27a5b78364bcad 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 98decb6cc951f1..039e6ea01fc242 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 03c232ac1803d5..346fafea85979a 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index f969661e38df23..fdce1a5a9fc19e 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index 7bfcc36ffb3804..b2e22af270e77d 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -302,7 +302,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -328,7 +328,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -379,7 +379,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index 4e086ddca4e8ed..445898f6804c41 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index fb22277adb7ca5..36e4d58e0149d9 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 1bc45f589853d8..69c76ec1b16c56 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -31,7 +31,7 @@ class TestList : public Command { public: - TestList() : Command("list"){}; + TestList() : Command("list") {}; CHIP_ERROR Run() override { printf("TestAccessControlCluster\n"); @@ -234,7 +234,7 @@ class TestList : public Command class ManualTestList : public Command { public: - ManualTestList() : Command("list-manual"){}; + ManualTestList() : Command("list-manual") {}; CHIP_ERROR Run() override { printf("Test_TC_DD_1_5\n"); @@ -576,7 +576,9 @@ class TestAccessControlClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -599,7 +601,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -611,21 +613,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -644,39 +646,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -695,39 +697,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -750,7 +752,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -777,7 +779,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -798,7 +800,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -819,7 +821,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -840,7 +842,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -861,7 +863,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -882,7 +884,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -903,7 +905,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -915,21 +917,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -948,39 +950,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -999,39 +1001,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -1054,7 +1056,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -1150,7 +1152,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1191,7 +1193,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1232,12 +1234,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 3); + listHolder_0->mList, 3); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1274,7 +1276,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1306,7 +1308,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1338,7 +1340,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1377,7 +1379,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1417,12 +1419,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1480,7 +1482,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1616,12 +1618,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 20); + 20); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1667,7 +1669,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1708,7 +1710,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1749,7 +1751,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; @@ -1790,12 +1792,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[3].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[3].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1821,7 +1823,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1875,7 +1877,9 @@ class Test_TC_BOOL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2048,7 +2052,9 @@ class Test_TC_BOOL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2129,7 +2135,9 @@ class Test_TC_ACT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2274,7 +2282,9 @@ class Test_TC_CC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2451,7 +2461,9 @@ class Test_TC_CC_2_1Suite : public TestCommand uint32_t FeatureMapValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -3432,7 +3444,9 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -3688,7 +3702,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -3713,7 +3727,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -3767,7 +3781,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 290ms"); @@ -3821,7 +3835,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 290ms"); @@ -3875,7 +3889,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 290ms"); @@ -3922,7 +3936,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -3957,7 +3971,9 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4213,7 +4229,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4237,7 +4253,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 140ms"); @@ -4290,7 +4306,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 140ms"); @@ -4343,7 +4359,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 140ms"); @@ -4396,7 +4412,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 140ms"); @@ -4443,7 +4459,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -4478,7 +4494,9 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4588,7 +4606,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4613,7 +4631,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 25ms"); @@ -4641,7 +4659,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 25ms"); @@ -4662,7 +4680,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -4697,7 +4715,9 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4818,7 +4838,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4842,7 +4862,7 @@ class Test_TC_CC_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 6ms"); @@ -4889,7 +4909,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check on/off attribute value is false after off command"); @@ -4924,7 +4944,9 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5270,7 +5292,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5294,7 +5316,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -5347,7 +5369,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -5400,7 +5422,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 40ms"); @@ -5453,7 +5475,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 40ms"); @@ -5506,7 +5528,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Wait 40ms"); @@ -5559,7 +5581,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 40ms"); @@ -5606,7 +5628,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check on/off attribute value is false after off command"); @@ -5641,7 +5663,9 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5751,7 +5775,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5776,7 +5800,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -5804,7 +5828,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -5825,7 +5849,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -5860,7 +5884,9 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5973,7 +5999,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6004,7 +6030,7 @@ class Test_TC_CC_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 10ms"); @@ -6031,7 +6057,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6066,7 +6092,9 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6179,7 +6207,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6210,7 +6238,7 @@ class Test_TC_CC_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 20ms"); @@ -6237,7 +6265,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6272,7 +6300,9 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6408,7 +6438,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6438,7 +6468,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 150ms"); @@ -6469,7 +6499,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check current x attribute value matched the value sent by the last command"); @@ -6489,7 +6519,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Check on/off attribute value is false after off command"); @@ -6524,7 +6554,9 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6637,7 +6669,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6668,7 +6700,7 @@ class Test_TC_CC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 50ms"); @@ -6695,7 +6727,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6730,7 +6762,9 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6823,7 +6857,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6847,7 +6881,7 @@ class Test_TC_CC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -6868,7 +6902,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -6903,7 +6937,9 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -7165,7 +7201,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7191,7 +7227,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 90ms"); @@ -7246,7 +7282,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 190ms"); @@ -7301,7 +7337,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Stop Color Temperature command"); @@ -7317,7 +7353,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 90ms"); @@ -7372,7 +7408,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Stop Color Temperature command"); @@ -7388,7 +7424,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Wait 140ms"); @@ -7435,7 +7471,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Check on/off attribute value is false after off command"); @@ -7470,7 +7506,9 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -7636,7 +7674,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7663,7 +7701,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -7719,7 +7757,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -7766,7 +7804,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check on/off attribute value is false after off command"); @@ -7801,7 +7839,9 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8060,7 +8100,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8079,7 +8119,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8100,7 +8140,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 290ms"); @@ -8154,7 +8194,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Wait 290ms"); @@ -8208,7 +8248,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 290ms"); @@ -8262,7 +8302,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Wait 290ms"); @@ -8309,7 +8349,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Check on/off attribute value is false after off command"); @@ -8344,7 +8384,9 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8536,7 +8578,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8560,7 +8602,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -8613,7 +8655,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8633,7 +8675,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 40ms"); @@ -8686,7 +8728,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8700,7 +8742,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check on/off attribute value is false after off command"); @@ -8735,7 +8777,9 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8845,7 +8889,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8870,7 +8914,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -8898,7 +8942,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -8919,7 +8963,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -8954,7 +8998,9 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -9047,7 +9093,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9072,7 +9118,7 @@ class Test_TC_CC_7_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -9093,7 +9139,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -9128,7 +9174,9 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -9424,7 +9472,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9442,7 +9490,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads CurrentHue attribute from DUT"); @@ -9460,7 +9508,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Reads CurrentHue attribute from DUT"); @@ -9493,7 +9541,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check Saturation attribute value matched the value sent by the last command"); @@ -9511,7 +9559,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Reads CurrentSaturation attribute from DUT."); @@ -9544,7 +9592,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Reads CurrentX attribute from DUT"); @@ -9568,7 +9616,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Reads CurrentX attribute from DUT"); @@ -9615,7 +9663,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Reads current color temprature from DUT"); @@ -9633,7 +9681,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reads current color temprature from DUT"); @@ -9666,7 +9714,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9684,7 +9732,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9711,7 +9759,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Check on/off attribute value is false after off command"); @@ -9746,7 +9794,9 @@ class Test_TC_BINFO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10085,7 +10135,9 @@ class Test_TC_DESC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10264,7 +10316,9 @@ class Test_TC_DGETH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10556,7 +10610,9 @@ class Test_TC_DGETH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10645,7 +10701,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the PacketRxCount attribute"); @@ -10706,7 +10762,9 @@ class Test_TC_FLW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10908,7 +10966,9 @@ class Test_TC_FLW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11033,7 +11093,9 @@ class Test_TC_CGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11212,7 +11274,9 @@ class Test_TC_CGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11394,7 +11458,9 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11545,7 +11611,9 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11565,8 +11633,8 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -11828,7 +11896,9 @@ class Test_TC_I_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12007,7 +12077,9 @@ class Test_TC_I_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12102,7 +12174,9 @@ class Test_TC_I_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12209,7 +12283,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH reads immediately IdentifyTime attribute from DUT1"); @@ -12251,7 +12325,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH reads immediately IdentifyTime attribute from DUT2"); @@ -12320,7 +12394,9 @@ class Test_TC_I_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12440,7 +12516,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "DUT executes a blink effect"); @@ -12464,7 +12540,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "DUT executes a breathe effect"); @@ -12488,7 +12564,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "DUT executes an okay effect"); @@ -12512,7 +12588,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "DUT executes a channel change effect"); @@ -12536,7 +12612,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "DUT executes a breathe effect"); @@ -12560,7 +12636,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "DUT stops the breathe effect after the current effect sequence"); @@ -12584,7 +12660,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "DUT executes a breathe effect"); @@ -12608,7 +12684,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "DUT stops the breathe effect as soon as possible."); @@ -12632,7 +12708,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Check DUT executes a blink effect."); @@ -12656,7 +12732,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "DUT stops any effect that may be still running as soon as possible"); @@ -12697,7 +12773,9 @@ class Test_TC_ILL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12862,7 +12940,9 @@ class Test_TC_ILL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13005,7 +13085,9 @@ class Test_TC_LVL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13178,7 +13260,9 @@ class Test_TC_LVL_2_1Suite : public TestCommand uint16_t MinFrequencyValue; uint16_t MaxFrequencyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13425,7 +13509,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 100ms"); @@ -13576,7 +13660,9 @@ class Test_TC_LVL_2_2Suite : public TestCommand chip::app::DataModel::Nullable OffTransitionTimeValue; chip::app::DataModel::Nullable StartUpCurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13903,7 +13989,9 @@ class Test_TC_LVL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14061,7 +14149,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait 100ms"); @@ -14086,7 +14174,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Wait 100 second"); @@ -14116,7 +14204,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 11000ms"); @@ -14146,7 +14234,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -14171,7 +14259,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 100ms"); @@ -14213,7 +14301,9 @@ class Test_TC_LVL_4_1Suite : public TestCommand uint8_t MaxlevelValue; chip::app::DataModel::Nullable DefaultMoveRateValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14355,7 +14445,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "reads max level attribute from DUT"); @@ -14373,7 +14463,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, @@ -14409,7 +14499,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveWithOnOff::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, @@ -14452,7 +14542,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 100ms"); @@ -14484,7 +14574,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Wait 100ms"); @@ -14525,7 +14615,9 @@ class Test_TC_LVL_5_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentlevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14636,7 +14728,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads current level attribute from DUT"); @@ -14655,7 +14747,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Step::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 4000ms"); @@ -14679,7 +14771,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::StepWithOnOff::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 4000ms"); @@ -14704,7 +14796,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 100ms"); @@ -14745,7 +14837,9 @@ class Test_TC_LVL_6_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14874,7 +14968,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads CurrentLevel attribute from DUT"); @@ -14892,7 +14986,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 5000ms"); @@ -14910,7 +15004,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Physically verify that the device has stopped transitioning"); @@ -14938,7 +15032,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 5000ms"); @@ -14956,7 +15050,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Physically verify that the device has stopped transitioning"); @@ -14984,7 +15078,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 100ms"); @@ -15022,7 +15116,9 @@ class Test_TC_MC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15195,7 +15291,9 @@ class Test_TC_MC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15372,7 +15470,9 @@ class Test_TC_MC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15545,7 +15645,9 @@ class Test_TC_MC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15718,7 +15820,9 @@ class Test_TC_MC_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15880,7 +15984,9 @@ class Test_TC_MC_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16047,7 +16153,9 @@ class Test_TC_MC_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16213,7 +16321,9 @@ class Test_TC_MC_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16385,7 +16495,9 @@ class Test_TC_MC_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16595,7 +16707,9 @@ class Test_TC_MC_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16764,7 +16878,9 @@ class Test_TC_MC_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16930,7 +17046,9 @@ class Test_TC_MC_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17109,7 +17227,9 @@ class Test_TC_MC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17158,7 +17278,7 @@ class Test_TC_MC_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17189,7 +17309,9 @@ class Test_TC_MC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17250,7 +17372,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends CEC Home Keys(0x09) to DUT"); @@ -17261,7 +17383,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17292,7 +17414,9 @@ class Test_TC_MC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17402,7 +17526,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Numbers2"); @@ -17413,7 +17537,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Numbers3"); @@ -17424,7 +17548,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Numbers4"); @@ -17435,7 +17559,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send Numbers5"); @@ -17446,7 +17570,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Numbers6"); @@ -17457,7 +17581,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Numbers7"); @@ -17468,7 +17592,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Send Numbers8"); @@ -17479,7 +17603,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Send Numbers9"); @@ -17490,7 +17614,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17521,7 +17645,9 @@ class Test_TC_MC_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17604,7 +17730,9 @@ class Test_TC_MC_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17692,7 +17820,9 @@ class Test_TC_MC_3_7Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17761,7 +17891,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends a LaunchApp command to DUT to launch an app which is not available"); @@ -17777,7 +17907,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17812,7 +17942,9 @@ class Test_TC_MC_3_8Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17879,7 +18011,7 @@ class Test_TC_MC_3_8Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -17919,7 +18051,9 @@ class Test_TC_MC_3_9Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17985,7 +18119,7 @@ class Test_TC_MC_3_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18021,7 +18155,9 @@ class Test_TC_MC_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18102,7 +18238,9 @@ class Test_TC_MC_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18174,7 +18312,7 @@ class Test_TC_MC_3_11Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Read current input list"); @@ -18211,7 +18349,9 @@ class Test_TC_MC_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18277,7 +18417,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Show Input Status Command"); @@ -18287,7 +18427,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -18318,7 +18458,9 @@ class Test_TC_MC_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18387,7 +18529,7 @@ class Test_TC_MC_3_13Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH reads the InputList attribute from the DUT to show list of Inputs available"); @@ -18428,7 +18570,9 @@ class Test_TC_MC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18515,7 +18659,9 @@ class Test_TC_MC_5_2Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18592,7 +18738,7 @@ class Test_TC_MC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the channel has changed on the device"); @@ -18600,7 +18746,7 @@ class Test_TC_MC_5_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18644,7 +18790,9 @@ class Test_TC_MC_5_3Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18735,7 +18883,7 @@ class Test_TC_MC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the channel has changed on the device"); @@ -18743,7 +18891,7 @@ class Test_TC_MC_5_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18783,7 +18931,9 @@ class Test_TC_MC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18905,7 +19055,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute"); @@ -18921,7 +19071,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -18948,7 +19098,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is paused"); @@ -18974,7 +19124,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Verify that the media is stoped"); @@ -19022,7 +19172,9 @@ class Test_TC_MC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19180,7 +19332,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19196,7 +19348,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19223,7 +19375,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is started over"); @@ -19244,7 +19396,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that the next media item in the queue has been loaded"); @@ -19252,7 +19404,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); + "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19265,7 +19417,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that the previous media item in the queue has been loaded"); @@ -19273,7 +19425,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); + "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19287,7 +19439,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that the media has skipped forward 10 seconds"); @@ -19295,7 +19447,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); + "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19315,7 +19467,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Verify that the media has skipped backward 10 seconds"); @@ -19323,7 +19475,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); + "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19365,7 +19517,9 @@ class Test_TC_MC_6_3Suite : public TestCommand chip::Optional mSeekPosition; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19463,7 +19617,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Sends a Seek command"); @@ -19474,7 +19628,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the media has moved to 10 seconds from the starting point"); @@ -19482,7 +19636,7 @@ class Test_TC_MC_6_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); + "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19542,7 +19696,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -19573,7 +19727,9 @@ class Test_TC_MC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19739,7 +19895,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19761,7 +19917,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Reads the CurrentState attribute"); @@ -19783,7 +19939,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19799,7 +19955,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Reads the CurrentState attribute"); @@ -19826,7 +19982,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19847,7 +20003,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19904,7 +20060,9 @@ class Test_TC_MC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19976,7 +20134,7 @@ class Test_TC_MC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads the CurrentOutput attribute"); @@ -20015,7 +20173,9 @@ class Test_TC_MC_7_2Suite : public TestCommand chip::app::DataModel::DecodableList audioOutputListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20085,7 +20245,7 @@ class Test_TC_MC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, @@ -20134,7 +20294,9 @@ class Test_TC_MC_8_1Suite : public TestCommand chip::app::DataModel::DecodableList TargetListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20225,7 +20387,7 @@ class Test_TC_MC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads the CurrentTarget attribute"); @@ -20262,7 +20424,9 @@ class Test_TC_MC_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20445,7 +20609,9 @@ class Test_TC_MC_10_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20540,7 +20706,9 @@ class Test_TC_MOD_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20712,7 +20880,9 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20756,8 +20926,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20772,8 +20942,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20840,11 +21010,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -20852,7 +21022,7 @@ class Test_TC_MF_1_3Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -20951,7 +21121,9 @@ class Test_TC_MF_1_4Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20994,8 +21166,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21010,8 +21182,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21077,7 +21249,7 @@ class Test_TC_MF_1_4Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21189,7 +21361,9 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::Optional mDownloadImageFilePath; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21342,12 +21516,12 @@ class OTA_SuccessfulTransferSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -21364,7 +21538,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::Start::Type value; value.otaDownloadPath.Emplace(); value.otaDownloadPath.Value() = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return Start(kIdentityAlpha, value); } case 7: { @@ -21385,7 +21559,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OtaSoftwareUpdateRequestor::Id, OtaSoftwareUpdateRequestor::Commands::AnnounceOtaProvider::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Wait for transfer complete message"); @@ -21402,7 +21576,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::CompareFiles::Type value; value.file1 = mRawImageFilePath.HasValue() ? mRawImageFilePath.Value() : chip::Span("/tmp/rawImage", 13); value.file2 = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return CompareFiles(kIdentityAlpha, value); } } @@ -21434,7 +21608,9 @@ class Test_TC_OCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21598,7 +21774,9 @@ class Test_TC_OCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21858,7 +22036,9 @@ class Test_TC_OO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22053,7 +22233,9 @@ class Test_TC_OO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22200,7 +22382,9 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22364,7 +22548,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is false after off command"); @@ -22376,7 +22560,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check on/off attribute value is true after on command"); @@ -22388,7 +22572,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check on/off attribute value is true after on command"); @@ -22400,7 +22584,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -22412,7 +22596,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -22424,7 +22608,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 1000ms"); @@ -22443,7 +22627,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -22492,7 +22676,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Check on/off attribute value is false after off command"); @@ -22527,7 +22711,9 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22709,7 +22895,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH writes a value of 0 to StartUpOnOff attribute of DUT"); @@ -22897,7 +23083,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reboot target device"); @@ -22957,7 +23143,9 @@ class Test_TC_PS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23125,7 +23313,9 @@ class Test_TC_PS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23643,7 +23833,9 @@ class Test_TC_PRS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23809,7 +24001,9 @@ class Test_TC_PRS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24020,7 +24214,9 @@ class Test_TC_PCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24188,7 +24384,9 @@ class Test_TC_PCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24687,7 +24885,9 @@ class Test_TC_PCC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24835,7 +25035,9 @@ class Test_TC_PCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25091,7 +25293,9 @@ class Test_TC_PCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25332,7 +25536,9 @@ class Test_TC_PSCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25491,7 +25697,9 @@ class Test_TC_RH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25656,7 +25864,9 @@ class Test_TC_RH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25805,7 +26015,9 @@ class Test_TC_SC_4_2Suite : public TestCommand char * deviceInstanceNameBeforeReboot1Buffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot1; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26312,7 +26524,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check Instance Name"); @@ -26476,7 +26688,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Instance Name"); @@ -26616,8 +26828,8 @@ class Test_TC_SC_4_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", - 76); + "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", + 76); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -26661,7 +26873,9 @@ class Test_TC_SWTCH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26774,7 +26988,9 @@ class Test_TC_TM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26936,7 +27152,9 @@ class Test_TC_TM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -27065,7 +27283,9 @@ class Test_TC_TSTAT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -27226,7 +27446,9 @@ class Test_TC_TSTAT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -28086,7 +28308,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29217,7 +29441,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29237,7 +29461,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29267,7 +29491,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29297,7 +29521,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29327,7 +29551,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29363,7 +29587,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29408,7 +29632,9 @@ class Test_TC_TSUIC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29575,7 +29801,9 @@ class Test_TC_TSUIC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29692,7 +29920,9 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -30256,7 +30486,9 @@ class Test_TC_DIAG_TH_NW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31222,7 +31454,9 @@ class Test_TC_DIAG_TH_NW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31511,7 +31745,9 @@ class Test_TC_DIAG_TH_NW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31801,7 +32037,9 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31857,7 +32095,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the Overruncount attribute"); @@ -31893,7 +32131,9 @@ class Test_TC_ULABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32066,7 +32306,9 @@ class Test_TC_ULABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32197,7 +32439,9 @@ class Test_TC_ULABEL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32310,7 +32554,9 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32457,7 +32703,9 @@ class Test_TC_ULABEL_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32537,7 +32785,9 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32557,8 +32807,8 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -32786,7 +33036,9 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32883,7 +33135,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads BeaconLostCount attribute from DUT"); @@ -32950,7 +33202,9 @@ class Test_TC_WNCV_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33123,7 +33377,9 @@ class Test_TC_WNCV_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33554,7 +33810,9 @@ class Test_TC_WNCV_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33656,7 +33914,9 @@ class Test_TC_WNCV_2_3Suite : public TestCommand chip::BitMask configStatusValA; chip::BitMask configStatusValB; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33842,7 +34102,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "2d: TH clear the Mode Attribute bit1 of the DUT"); @@ -33873,7 +34133,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "3a: TH set the Mode Attribute bit2 of the DUT"); @@ -33892,7 +34152,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "3c: TH reads ConfigStatus attribute from DUT"); @@ -33917,7 +34177,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "3f: TH reads ConfigStatus attribute from DUT"); @@ -33954,7 +34214,9 @@ class Test_TC_WNCV_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34035,7 +34297,9 @@ class Test_TC_WNCV_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34118,7 +34382,9 @@ class Test_TC_WNCV_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34342,7 +34608,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34389,7 +34655,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34461,7 +34727,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34524,7 +34790,9 @@ class Test_TC_WNCV_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34748,7 +35016,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34795,7 +35063,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34867,7 +35135,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34933,7 +35201,9 @@ class Test_TC_WNCV_3_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLift; chip::app::DataModel::Nullable attrCurrentPositionTilt; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35083,7 +35353,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 6-8 seconds movement(s) on the device"); @@ -35100,7 +35370,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "1d: TH Waits for 2 seconds movement(s) on the device"); @@ -35123,7 +35393,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35213,7 +35483,9 @@ class Test_TC_WNCV_3_4Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35317,7 +35589,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35334,7 +35606,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35406,7 +35678,9 @@ class Test_TC_WNCV_3_5Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35510,7 +35784,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35527,7 +35801,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35597,7 +35871,9 @@ class Test_TC_WNCV_4_1Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35750,7 +36026,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -35774,7 +36050,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -35823,7 +36099,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -35894,7 +36170,9 @@ class Test_TC_WNCV_4_2Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36047,7 +36325,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36071,7 +36349,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36120,7 +36398,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36191,7 +36469,9 @@ class Test_TC_WNCV_4_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36285,7 +36565,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToLiftPercentage command with 10001 to DUT"); @@ -36297,7 +36577,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToLiftPercentage command with 0xFFFF to DUT"); @@ -36309,7 +36589,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36342,7 +36622,9 @@ class Test_TC_WNCV_4_4Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36436,7 +36718,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToTiltPercentage command with 10001 to DUT"); @@ -36448,7 +36730,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToTiltPercentage command with 0xFFFF to DUT"); @@ -36460,7 +36742,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36494,7 +36776,9 @@ class Test_TC_WNCV_4_5Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36636,7 +36920,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1a: If (PA_LF & LF) TH sends GoToLiftPercentage command with 90%% to DUT"); @@ -36647,7 +36931,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "1b: TH Waits for 100ms-1s"); @@ -36664,7 +36948,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "1d: TH Waits for 100ms-1s"); @@ -36682,7 +36966,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH Waits for 100ms-1s"); @@ -36699,7 +36983,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2d: TH Waits for 100ms-1s"); @@ -36787,7 +37071,9 @@ class TV_TargetNavigatorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36883,7 +37169,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36915,7 +37201,9 @@ class TV_AudioOutputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37032,7 +37320,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Rename Output Command"); @@ -37043,7 +37331,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read attribute Audio Output list"); @@ -37080,7 +37368,9 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37115,7 +37405,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueNull("currentApp", value)); } @@ -37195,7 +37485,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Stop App Command"); @@ -37208,7 +37498,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Hide App Command"); @@ -37221,7 +37511,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37253,7 +37543,9 @@ class TV_KeypadInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37307,7 +37599,7 @@ class TV_KeypadInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37339,7 +37631,9 @@ class TV_AccountLoginClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37399,7 +37693,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::GetSetupPIN::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Login Command"); @@ -37410,7 +37704,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Login::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Logout Command"); @@ -37419,7 +37713,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Logout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37451,7 +37745,9 @@ class TV_WakeOnLanClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37532,7 +37828,9 @@ class TV_ApplicationBasicClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37713,7 +38011,9 @@ class TV_MediaPlaybackClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38010,7 +38310,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Media Playback Pause Command"); @@ -38019,7 +38319,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Media Playback Stop Command"); @@ -38028,7 +38328,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Media Playback Start Over Command"); @@ -38037,7 +38337,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Media Playback Previous Command"); @@ -38046,7 +38346,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Media Playback Next Command"); @@ -38055,7 +38355,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Media Playback Rewind Command"); @@ -38064,7 +38364,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Media Playback Fast Forward Command"); @@ -38073,7 +38373,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Media Playback Skip Forward Command"); @@ -38083,7 +38383,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read attribute position after skip forward"); @@ -38098,7 +38398,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read attribute position after skip backward"); @@ -38113,7 +38413,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read attribute position after seek"); @@ -38149,7 +38449,9 @@ class TV_ChannelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38322,7 +38624,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannel::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Change Channel By Number Command"); @@ -38333,7 +38635,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Skip Channel Command"); @@ -38343,7 +38645,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38374,7 +38676,9 @@ class TV_LowPowerClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38422,7 +38726,7 @@ class TV_LowPowerClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38454,7 +38758,9 @@ class TV_ContentLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38574,7 +38880,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand value.search.parameterList = chip::app::DataModel::List(listHolder_1->mList, - 1); + 1); } value.autoPlay = true; @@ -38583,7 +38889,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchContent::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Launch URL Command"); @@ -38674,7 +38980,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchURL::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38706,7 +39012,9 @@ class TV_MediaInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38828,7 +39136,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Hide Input Status Command"); @@ -38837,7 +39145,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Show Input Status Command"); @@ -38846,7 +39154,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Rename Input Command"); @@ -38857,7 +39165,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read attribute media input list"); @@ -38913,7 +39221,9 @@ class TestClusterSuite : public TestCommand char * nullableCharStringSaveBuffer = nullptr; chip::app::DataModel::Nullable nullableCharStringSave; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -39640,13 +39950,13 @@ class TestClusterSuite : public TestCommand chip::ByteSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longOctetString", value, - chip::ByteSpan( - chip::Uint8::from_const_char( - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), - 300))); + "longOctetString", value, + chip::ByteSpan( + chip::Uint8::from_const_char( + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), + 300))); } break; case 122: @@ -39702,12 +40012,12 @@ class TestClusterSuite : public TestCommand chip::CharSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longCharString", value, - chip::CharSpan( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", - 900))); + "longCharString", value, + chip::CharSpan( + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", + 900))); } break; case 132: @@ -39722,48 +40032,48 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 4)); } } @@ -39780,59 +40090,59 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 4)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[4]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[4]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 5)); } } @@ -40161,7 +40471,7 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40215,8 +40525,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40239,8 +40549,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40255,15 +40565,15 @@ class TestClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().nullableList.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[0]", iter_3.GetValue(), 1U)); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[1]", iter_3.GetValue(), 2U)); VerifyOrReturn(CheckNoMoreListItems( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); } VerifyOrReturn(CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); } @@ -42247,7 +42557,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Not Handled Command"); @@ -42256,7 +42566,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNotHandled::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Specific Command"); @@ -42265,7 +42575,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSpecific::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Test Add Arguments Command"); @@ -42276,7 +42586,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send failing Test Add Arguments Command"); @@ -42287,7 +42597,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read attribute BOOLEAN Default Value"); @@ -43008,11 +43318,11 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::ByteSpan value; value = chip::ByteSpan( - chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111garbage: not in length on purpose"), - 300); + chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111garbage: not in length on purpose"), + 300); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongOctetString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43078,10 +43388,10 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::CharSpan value; value = chip::Span( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", - 900); + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", + 900); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongCharString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43112,50 +43422,50 @@ class TestClusterSuite : public TestCommand auto * listHolder_0 = new ListHolder(5); listFreer.add(listHolder_0); listHolder_0->mList[0] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[1] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[2] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[3] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[4] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); value = chip::app::DataModel::List(listHolder_0->mList, 5); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListLongOctetString::Id, @@ -43248,7 +43558,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(200), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 149: { LogStep(149, "Send Test Command to unsupported cluster"); @@ -43257,7 +43567,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 150: { LogStep(150, "Read attribute vendor_id Default Value"); @@ -43294,7 +43604,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEnumsRequest::Id, value, chip::NullOptional - ); + ); } case 155: { LogStep(155, "Send Test Command With Struct Argument and arg1.b is true"); @@ -43313,7 +43623,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 156: { LogStep(156, "Send Test Command With Struct Argument and arg1.b is false"); @@ -43332,7 +43642,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 157: { LogStep(157, "Send Test Command With Nested Struct Argument and arg1.c.b is true"); @@ -43354,7 +43664,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 158: { LogStep(158, "Send Test Command With Nested Struct Argument arg1.c.b is false"); @@ -43376,7 +43686,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 159: { LogStep(159, "Send Test Command With Nested Struct List Argument and all fields b of arg1.d are true"); @@ -43420,7 +43730,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43455,7 +43765,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 160: { LogStep(160, "Send Test Command With Nested Struct List Argument and some fields b of arg1.d are false"); @@ -43499,7 +43809,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43534,7 +43844,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 161: { LogStep(161, "Send Test Command With Struct Argument and see what we get back"); @@ -43553,7 +43863,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::SimpleStructEchoRequest::Id, value, chip::NullOptional - ); + ); } case 162: { LogStep(162, "Send Test Command With List of INT8U and none of them is set to 0"); @@ -43577,7 +43887,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 163: { LogStep(163, "Send Test Command With List of INT8U and one of them is set to 0"); @@ -43602,7 +43912,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 164: { LogStep(164, "Send Test Command With List of INT8U and get it reversed"); @@ -43626,7 +43936,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 165: { LogStep(165, "Send Test Command With empty List of INT8U and get an empty list back"); @@ -43637,7 +43947,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 166: { LogStep(166, "Send Test Command With List of Struct Argument and arg1.b of first item is true"); @@ -43669,12 +43979,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 167: { LogStep(167, "Send Test Command With List of Struct Argument and arg1.b of first item is false"); @@ -43706,12 +44016,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 168: { LogStep(168, @@ -43795,12 +44105,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 169: { LogStep(169, "Send Test Command With Nested Struct List Argument and some fields b of elements of arg1.d are false"); @@ -43883,12 +44193,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 170: { LogStep(170, "Write attribute LIST With List of INT8U and none of them is set to 0"); @@ -43960,7 +44270,7 @@ class TestClusterSuite : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListStructOctetString::Id, value, chip::NullOptional, @@ -43981,7 +44291,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 177: { LogStep(177, "Send Test Command without its optional arg."); @@ -43990,7 +44300,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 178: { LogStep(178, "Read list of structs containing nullables and optionals"); @@ -44022,7 +44332,7 @@ class TestClusterSuite : public TestCommand } value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListNullablesAndOptionalsStruct::Id, value, chip::NullOptional, @@ -45287,7 +45597,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 373: { LogStep(373, "Send a command that takes an optional parameter but do not set it."); @@ -45298,7 +45608,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 374: { LogStep(374, "Subscribe to list attribute"); @@ -46188,7 +46498,9 @@ class TestClusterComplexTypesSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46341,7 +46653,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send command that needs timed invoke without a timeout value"); @@ -46350,7 +46662,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::NullOptional, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send command that needs timed invoke with a long timeout value"); @@ -46359,7 +46671,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send command that needs timed invoke with a too-short timeout value"); @@ -46369,7 +46681,7 @@ class TestClusterComplexTypesSuite : public TestCommand TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46381,7 +46693,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send command that does not need timed invoke with a too-short timeout value"); @@ -46390,7 +46702,7 @@ class TestClusterComplexTypesSuite : public TestCommand ReturnErrorOnFailure(SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46523,7 +46835,9 @@ class TestConstraintsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46909,7 +47223,9 @@ class TestDelayCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46989,7 +47305,9 @@ class TestEventsSuite : public TestCommand uint64_t eventNumber; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47216,7 +47534,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read the event back"); @@ -47246,7 +47564,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read the event back"); @@ -47270,7 +47588,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check for event report"); @@ -47322,7 +47640,9 @@ class TestDiscoverySuite : public TestCommand char * deviceInstanceNameBeforeRebootBuffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47607,7 +47927,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Open Commissioning Window with too-long timeout"); @@ -47618,7 +47938,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Open Commissioning Window"); @@ -47629,7 +47949,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check Instance Name"); @@ -47769,7 +48089,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Check Instance Name"); @@ -47806,7 +48126,9 @@ class TestLogCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47945,7 +48267,9 @@ class TestSaveAsSuite : public TestCommand uint8_t * readAttributeOctetStringNotDefaultValueBuffer = nullptr; chip::ByteSpan readAttributeOctetStringNotDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -48731,7 +49055,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -48742,7 +49066,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Add Arguments Command"); @@ -48753,7 +49077,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read attribute BOOLEAN Default Value"); @@ -49447,7 +49771,9 @@ class TestConfigVariablesSuite : public TestCommand uint8_t TestAddArgumentDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -49513,7 +49839,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49524,7 +49850,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -49556,7 +49882,9 @@ class TestDescriptorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -49749,7 +50077,9 @@ class TestBasicInformationSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50078,7 +50408,9 @@ class TestGeneralCommissioningSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50379,7 +50711,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check Breadcrumb was not touched by invalid CommissioningComplete"); @@ -50395,7 +50727,7 @@ class TestGeneralCommissioningSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Try to arm fail-safe"); @@ -50406,7 +50738,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Check Breadcrumb was not touched by ArmFailSafe with commissioning window open"); @@ -50445,7 +50777,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check Breadcrumb was properly set by ArmFailSafe"); @@ -50461,7 +50793,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check Breadcrumb was not touched by ArmFailSafe with existing fail-safe armed"); @@ -50475,7 +50807,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check Breadcrumb was not touched by CommissioningComplete from wrong fabric"); @@ -50489,7 +50821,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Check Breadcrumb was reset to 0 by CommissioningComplete"); @@ -50505,7 +50837,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Breadcrumb was set by arming fail-safe again"); @@ -50521,7 +50853,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check Breadcrumb was reset by expiring the fail-safe"); @@ -50563,7 +50895,9 @@ class TestIdentifyClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50612,7 +50946,7 @@ class TestIdentifyClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -50646,7 +50980,9 @@ class TestOperationalCredentialsClusterSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50702,8 +51038,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50729,8 +51065,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50786,7 +51122,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read fabric list before setting label"); @@ -50801,7 +51137,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateFabricLabel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read fabric list after setting label"); @@ -50841,7 +51177,9 @@ class TestModeSelectClusterSuite : public TestCommand uint8_t currentModeBeforeToggle; chip::app::DataModel::Nullable OnModeValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50878,7 +51216,7 @@ class TestModeSelectClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50889,9 +51227,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[0].semanticTags", iter_2, 0)); + "supportedModes[0].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[0].semanticTags", iter_2, 1)); + "supportedModes[0].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 1)); VerifyOrReturn( @@ -50900,9 +51238,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[1].semanticTags", iter_2, 0)); + "supportedModes[1].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[1].semanticTags", iter_2, 1)); + "supportedModes[1].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 2)); VerifyOrReturn( @@ -50911,9 +51249,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[2].semanticTags", iter_2, 0)); + "supportedModes[2].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[2].semanticTags", iter_2, 1)); + "supportedModes[2].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter_0, 3)); } @@ -51124,7 +51462,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Verify Current Mode Change"); @@ -51139,7 +51477,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Toggle OnOff"); @@ -51147,7 +51485,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Toggle OnOff"); @@ -51155,7 +51493,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Verify Current Mode does not change when OnMode is null"); @@ -51191,7 +51529,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Toggle OnOff"); @@ -51199,7 +51537,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Verify Current Mode Changes if OnMode is not null"); @@ -51237,7 +51575,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Change On Mode"); @@ -51333,7 +51671,9 @@ class TestSelfFabricRemovalSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -51415,7 +51755,7 @@ class TestSelfFabricRemovalSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -51448,7 +51788,9 @@ class TestSystemCommandsSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -51774,7 +52116,9 @@ class TestBindingSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52050,7 +52394,9 @@ class TestUserLabelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52225,7 +52571,9 @@ class TestArmFailSafeSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52249,8 +52597,8 @@ class TestArmFailSafeSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52331,7 +52679,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads NodeLabel mandatory attribute of target device"); @@ -52346,7 +52694,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddTrustedRootCertificate::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Invoke AddNOC without fail-safe"); @@ -52354,15 +52702,15 @@ class TestArmFailSafeSuite : public TestCommand chip::app::Clusters::OperationalCredentials::Commands::AddNOC::Type value; value.NOCValue = chip::ByteSpan(chip::Uint8::from_const_char("00112233garbage: not in length on purpose"), 8); value.IPKValue = chip::ByteSpan( - chip::Uint8::from_const_char( - "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 16); value.caseAdminSubject = 1234ULL; value.adminVendorId = static_cast(65521); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddNOC::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Invoke UpdateNOC without fail-safe"); @@ -52372,20 +52720,20 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateNOC::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Invoke CSRRequest without fail-safe"); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::Type value; value.CSRNonce = chip::ByteSpan( - chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" - "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 32); + chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" + "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 32); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::CSRRequest::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -52416,7 +52764,9 @@ class TestFanControlSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52807,7 +53157,9 @@ class TestMultiAdminSuite : public TestCommand char * readFromAlphaBuffer = nullptr; chip::CharSpan readFromAlpha; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52848,8 +53200,8 @@ class TestMultiAdminSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52966,7 +53318,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from alpha again"); @@ -52989,7 +53341,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Open Commissioning Window from alpha again"); @@ -53000,7 +53352,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Commission from beta"); @@ -53026,7 +53378,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "Commission from gamma"); @@ -53098,7 +53450,9 @@ class Test_TC_DGSW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53118,7 +53472,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53222,7 +53576,9 @@ class Test_TC_DGSW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53294,7 +53650,9 @@ class Test_TC_DGSW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53317,7 +53675,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53368,7 +53726,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Commands::ResetWatermarks::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads a list of ThreadMetrics struct attribute from DUT."); @@ -53418,7 +53776,9 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53497,7 +53857,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Subscribe OnOff Attribute"); @@ -53510,7 +53870,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check for attribute report"); @@ -53522,7 +53882,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check for attribute report"); @@ -53562,7 +53922,9 @@ class DL_UsersAndCredentialsSuite : public TestCommand uint16_t NumberOfPINUsersSupported; uint16_t NumberOfRFIDUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -55327,7 +55689,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users and verify default value"); @@ -55342,7 +55704,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read fails for user with index greater than Number Of Users Supported"); @@ -55352,7 +55714,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Create new user with default parameters"); @@ -55368,7 +55730,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read the user back and verify its fields"); @@ -55378,7 +55740,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Set user at the occupied index fails with appropriate response"); @@ -55394,7 +55756,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Modify userName for existing user"); @@ -55411,7 +55773,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Read the modified user back and verify its fields"); @@ -55421,7 +55783,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Modify userUniqueId for existing user"); @@ -55438,7 +55800,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read the modified user back and verify its fields"); @@ -55448,7 +55810,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Modify userStatus for existing user"); @@ -55465,7 +55827,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Read the modified user back and verify its fields"); @@ -55475,7 +55837,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Modify userType for existing user"); @@ -55492,7 +55854,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Read the modified user back and verify its fields"); @@ -55502,7 +55864,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Modify credentialRule for existing user"); @@ -55519,7 +55881,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read the modified user back and verify its fields"); @@ -55529,7 +55891,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Modify all fields for existing user"); @@ -55550,7 +55912,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read the modified user back and verify its fields"); @@ -55560,7 +55922,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Add another user with non-default fields"); @@ -55581,7 +55943,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read the new user back and verify its fields"); @@ -55591,7 +55953,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Create user in the last slot"); @@ -55608,7 +55970,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 23: { LogStep(23, "Read the last user back and verify its fields"); @@ -55618,7 +55980,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "User creation in the 0 slot fails"); @@ -55634,7 +55996,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 25: { LogStep(25, "User creation in the out-of-bounds slot fails"); @@ -55650,7 +56012,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Clear first user"); @@ -55660,7 +56022,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Read cleared user and verify it is available"); @@ -55670,7 +56032,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create new user in the cleared slot"); @@ -55686,7 +56048,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 29: { LogStep(29, "Read the user in the previously cleared slot and verify its fields"); @@ -55696,7 +56058,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Clear user with index 0 fails"); @@ -55706,7 +56068,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 31: { LogStep(31, "Clear user with out-of-bounds index fails"); @@ -55716,7 +56078,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 32: { LogStep(32, "Clear all users"); @@ -55726,7 +56088,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 33: { LogStep(33, "Read first cleared user and verify it is available"); @@ -55736,7 +56098,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Read last cleared user and verify it is available"); @@ -55746,7 +56108,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get number of supported PIN credentials and verify default value"); @@ -55764,7 +56126,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Reading PIN credential with index 0 fails"); @@ -55777,7 +56139,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Reading PIN credential with out-of-bounds index fails"); @@ -55790,7 +56152,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create new PIN credential and user"); @@ -55808,7 +56170,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 40: { LogStep(40, "Verify created user"); @@ -55818,7 +56180,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Verify created PIN credential"); @@ -55831,7 +56193,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Create new PIN credential and user with index 0 fails"); @@ -55849,7 +56211,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 43: { LogStep(43, "Create new PIN credential and user with out-of-bounds index fails"); @@ -55867,7 +56229,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get number of supported RFID credentials and verify default value"); @@ -55885,7 +56247,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Reading RFID credential with out-of-bounds index fails"); @@ -55898,7 +56260,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check that RFID credential does not exist"); @@ -55911,7 +56273,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Create new RFID credential and add it to existing user"); @@ -55931,7 +56293,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 49: { LogStep(49, "Verify modified user"); @@ -55941,7 +56303,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created credential"); @@ -55954,7 +56316,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Create new RFID credential and user with index 0 fails"); @@ -55973,7 +56335,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 52: { LogStep(52, "Create new RFID credential and user with out-of-bounds index fails"); @@ -55992,7 +56354,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 53: { LogStep(53, "Create new credential and try to add it to 0 user"); @@ -56011,7 +56373,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 54: { LogStep(54, "Create new credential and try to add it to out-of-bounds user"); @@ -56030,7 +56392,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 55: { LogStep(55, "Create new PIN with too short data"); @@ -56049,7 +56411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 56: { LogStep(56, "Create new PIN with too long data"); @@ -56068,7 +56430,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 57: { LogStep(57, "Create new RFID with too short data"); @@ -56087,7 +56449,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 58: { LogStep(58, "Create new PIN with Programming user type fails"); @@ -56107,7 +56469,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 59: { LogStep(59, "Create new RFID with too short data"); @@ -56119,7 +56481,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand value.credential.credentialIndex = 3U; value.credentialData = chip::ByteSpan( - chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); + chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); value.userIndex.SetNonNull(); value.userIndex.Value() = 0U; value.userStatus.SetNull(); @@ -56127,7 +56489,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 60: { LogStep(60, "Create new PIN credential with data the would cause duplicate"); @@ -56145,7 +56507,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 61: { LogStep(61, "Create new RFID credential with data the would cause duplicate"); @@ -56164,7 +56526,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 62: { LogStep(62, "Modify credentialData of existing PIN credential"); @@ -56183,7 +56545,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 63: { LogStep(63, "Verify that credential was changed by creating new credential with old data"); @@ -56201,7 +56563,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 64: { LogStep(64, "Verify that credential was changed by creating new credential with new data"); @@ -56219,7 +56581,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 65: { LogStep(65, "Create new RFID credential and add it to existing user"); @@ -56239,7 +56601,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 66: { LogStep(66, "Verify modified user"); @@ -56249,7 +56611,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Create new RFID credential and add it to existing user"); @@ -56268,7 +56630,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 68: { LogStep(68, "Verify modified user"); @@ -56278,7 +56640,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Clear first PIN credential"); @@ -56292,7 +56654,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 70: { LogStep(70, "Read back the credential and make sure it is deleted"); @@ -56305,7 +56667,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Read the user back and make sure PIN credential is deleted"); @@ -56315,7 +56677,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Clear the second PIN credential"); @@ -56329,7 +56691,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 73: { LogStep(73, "Read back the credential and make sure it is deleted"); @@ -56342,7 +56704,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Read the user back and make sure related user is deleted"); @@ -56352,7 +56714,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Create new RFID credential with user"); @@ -56371,7 +56733,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 76: { LogStep(76, "Clear all the RFID credentials"); @@ -56385,7 +56747,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 77: { LogStep(77, "Read back the fist RFID credential and make sure it is deleted"); @@ -56398,7 +56760,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Read back the second RFID credential and make sure it is deleted"); @@ -56411,7 +56773,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Read back the third RFID credential and make sure it is deleted"); @@ -56424,7 +56786,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Read the user related with first RFID back and make sure it has only PIN credential"); @@ -56434,7 +56796,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Read the user related with second RFID back and make sure it is deleted"); @@ -56444,7 +56806,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Create new PIN credential with user"); @@ -56462,7 +56824,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 83: { LogStep(83, "Create new RFID credential with user"); @@ -56481,7 +56843,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 84: { LogStep(84, "Create another RFID credential with user"); @@ -56500,7 +56862,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 85: { LogStep(85, "Clear all the credentials"); @@ -56510,7 +56872,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 86: { LogStep(86, "Read back the first PIN credential and make sure it is deleted"); @@ -56523,7 +56885,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Read back the first RFID credential and make sure it is deleted"); @@ -56536,7 +56898,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Read back the second PIN credential and make sure it is deleted"); @@ -56549,7 +56911,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Read the user related with first PIN back and make sure it is deleted"); @@ -56559,7 +56921,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Read the user related with first RFID back and make sure it is deleted"); @@ -56569,7 +56931,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Read the user related with second PIN back and make sure it is deleted"); @@ -56579,7 +56941,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Read the user related with last RFID back and make sure it is deleted"); @@ -56589,7 +56951,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new Programming PIN credential with invalid index"); @@ -56607,7 +56969,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create new Programming PIN credential with valid index"); @@ -56625,7 +56987,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created user"); @@ -56635,7 +56997,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Verify created programming PIN credential"); @@ -56648,7 +57010,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Modify the Programming PIN credential"); @@ -56666,7 +57028,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 98: { LogStep(98, "Clearing Programming PIN fails"); @@ -56680,7 +57042,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 99: { LogStep(99, "Clearing Programming PIN with invalid index fails"); @@ -56694,7 +57056,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 100: { LogStep(100, "Clearing PIN credential with zero index fails"); @@ -56708,7 +57070,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 101: { LogStep(101, "Clearing PIN credential with out-of-bound index fails"); @@ -56722,7 +57084,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 102: { LogStep(102, "Clearing RFID credential with zero index fails"); @@ -56736,7 +57098,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Clearing RFID credential with out-of-bound index fails"); @@ -56750,7 +57112,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 104: { LogStep(104, "Clear the Programming PIN user"); @@ -56760,7 +57122,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure Programming PIN user is deleted"); @@ -56770,7 +57132,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure programming PIN credential is deleted"); @@ -56783,7 +57145,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Create new PIN credential and user"); @@ -56801,7 +57163,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 108: { LogStep(108, "Create second PIN credential and add it to existing user"); @@ -56820,7 +57182,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create third PIN credential and add it to existing user"); @@ -56839,7 +57201,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 110: { LogStep(110, "Create fourth PIN credential and add it to existing user"); @@ -56858,7 +57220,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create fifth PIN credential and add it to existing user"); @@ -56877,7 +57239,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Try to create sixth PIN credential and make sure it fails"); @@ -56896,7 +57258,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 113: { LogStep(113, "Final clean-up"); @@ -56906,7 +57268,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -56937,7 +57299,9 @@ class DL_LockUnlockSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -57080,7 +57444,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Verify that lock state attribute value is set to Unlocked"); @@ -57094,7 +57458,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that lock state attribute value is set to Locked"); @@ -57117,7 +57481,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Try to unlock the door with invalid PIN"); @@ -57128,7 +57492,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that lock state attribute value is set to Locked"); @@ -57144,7 +57508,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that lock state attribute value is set to Unlocked"); @@ -57160,7 +57524,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that lock state attribute value is set to Unlocked"); @@ -57176,7 +57540,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that lock state attribute value is set to Locked"); @@ -57198,7 +57562,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "Set OperatingMode to Normal"); @@ -57220,7 +57584,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57256,7 +57620,9 @@ class DL_SchedulesSuite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint8_t NumberOfHolidaySchedulesSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -58567,7 +58933,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users"); @@ -58603,7 +58969,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Create Week Day schedule with out-of-bounds index"); @@ -58619,7 +58985,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Create Week Day schedule with 0 user index"); @@ -58635,7 +59001,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Create Week Day schedule with out-of-bounds user index"); @@ -58651,7 +59017,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Create Week Day schedule for non-existing user"); @@ -58667,7 +59033,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Create Week Day schedule with 0 days mask"); @@ -58683,7 +59049,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Create Week Day schedule for Sunday and Monday"); @@ -58699,7 +59065,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Create Week Day schedule for Sunday Wednesday and Saturday"); @@ -58715,7 +59081,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Create Week Day schedule with invalid start hour"); @@ -58731,7 +59097,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Create Week Day schedule with invalid start minute"); @@ -58747,7 +59113,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Create Week Day schedule with invalid end hour"); @@ -58763,7 +59129,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Create Week Day schedule with invalid end minute"); @@ -58779,7 +59145,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Create Week Day schedule with start hour later that end hour"); @@ -58795,7 +59161,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Create Week Day schedule with start minute later that end minute when hours are equal"); @@ -58811,7 +59177,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Make sure that previous operations did not create a schedule"); @@ -58822,7 +59188,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Get Week Day schedule with 0 index"); @@ -58833,7 +59199,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Get Week Day schedule with out-of-bounds index"); @@ -58844,7 +59210,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Get Week Day schedule with 0 user index"); @@ -58855,7 +59221,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Get Week Day schedule with out-of-bounds user index"); @@ -58866,7 +59232,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Get Week Day schedule with non-existing user index"); @@ -58877,7 +59243,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Create Year Day schedule with 0 index"); @@ -58890,7 +59256,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Create Year Day schedule with out-of-bounds index"); @@ -58903,7 +59269,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create Year Day schedule with 0 user index"); @@ -58916,7 +59282,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Create Year Day schedule with out-of-bounds user index"); @@ -58929,7 +59295,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Create Year Day schedule for non-existing user"); @@ -58942,7 +59308,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Create Year Day schedule with start hour later that end hour"); @@ -58955,7 +59321,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 32: { LogStep(32, "Make sure that previous operations did not create a schedule"); @@ -58966,7 +59332,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Get Year Day schedule with 0 index"); @@ -58977,7 +59343,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Get Year Day schedule with out-of-bounds index"); @@ -58988,7 +59354,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get Year Day schedule with 0 user index"); @@ -58999,7 +59365,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Get Year Day schedule with out-of-bounds user index"); @@ -59010,7 +59376,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Get Year Day schedule with non-existing user index"); @@ -59021,7 +59387,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Create Holiday schedule with 0 index"); @@ -59034,7 +59400,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create Holiday schedule with out-of-bounds index"); @@ -59047,7 +59413,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Create Holiday schedule with start hour later that end hour"); @@ -59060,7 +59426,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Create Holiday schedule with invalid operating mode"); @@ -59073,7 +59439,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Make sure that previous operations did not create a schedule"); @@ -59083,7 +59449,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Get Holiday schedule with 0 index"); @@ -59093,7 +59459,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get Holiday schedule with out-of-bounds index"); @@ -59103,7 +59469,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Create Holiday schedule with valid parameters"); @@ -59116,7 +59482,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Verify created schedule"); @@ -59126,7 +59492,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Create Week Day schedule with valid parameters"); @@ -59142,7 +59508,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Verify created schedule"); @@ -59153,7 +59519,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 49: { LogStep(49, "Create Year Day schedule with valid parameters"); @@ -59166,7 +59532,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created schedule"); @@ -59177,7 +59543,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Clear Week Day schedule with 0 index"); @@ -59188,7 +59554,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 52: { LogStep(52, "Clear Week Day schedule with out-of-bounds index"); @@ -59199,7 +59565,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Clear Week Day schedule with 0 user index"); @@ -59210,7 +59576,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 54: { LogStep(54, "Clear Week Day schedule with out-of-bounds user index"); @@ -59221,7 +59587,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "Clear Week Day schedule with non-existing user"); @@ -59232,7 +59598,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 56: { LogStep(56, "Make sure that week day schedule was not deleted"); @@ -59243,7 +59609,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Make sure that year day schedule was not deleted"); @@ -59254,7 +59620,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 58: { LogStep(58, "Make sure that holiday schedule was not deleted"); @@ -59264,7 +59630,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Clear Year Day schedule with 0 index"); @@ -59275,7 +59641,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "Clear Year Day schedule with out-of-bounds index"); @@ -59286,7 +59652,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Clear Year Day schedule with 0 user index"); @@ -59297,7 +59663,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 62: { LogStep(62, "Clear Year Day schedule with out-of-bounds user index"); @@ -59308,7 +59674,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Clear Year Day schedule with non-existing user"); @@ -59319,7 +59685,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 64: { LogStep(64, "Make sure that week day schedule was not deleted"); @@ -59330,7 +59696,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Make sure that year day schedule was not deleted"); @@ -59341,7 +59707,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Make sure that holiday schedule was not deleted"); @@ -59351,7 +59717,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Clear Holiday schedule with 0 index"); @@ -59361,7 +59727,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 68: { LogStep(68, "Clear Holiday schedule with out-of-bounds index"); @@ -59371,7 +59737,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Make sure that week day schedule was not deleted"); @@ -59382,7 +59748,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 70: { LogStep(70, "Make sure that year day schedule was not deleted"); @@ -59393,7 +59759,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Make sure that holiday schedule was not deleted"); @@ -59403,7 +59769,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Create another Week Day schedule with valid parameters"); @@ -59419,7 +59785,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 73: { LogStep(73, "Verify created week day schedule"); @@ -59430,7 +59796,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Create another Year Day schedule with valid parameters"); @@ -59443,7 +59809,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Verify created year day schedule"); @@ -59454,7 +59820,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Create another Holiday schedule with valid parameters"); @@ -59467,7 +59833,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 77: { LogStep(77, "Verify created holiday schedule"); @@ -59477,7 +59843,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Clear a single week day schedule for the first user"); @@ -59488,7 +59854,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Verify cleared week day schedule"); @@ -59499,7 +59865,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Clear all remaining week day schedules for the first user"); @@ -59510,7 +59876,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Verify cleared week schedule"); @@ -59521,7 +59887,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Make sure that first year day schedule was not deleted"); @@ -59532,7 +59898,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 83: { LogStep(83, "Make sure that second year day schedule was not deleted"); @@ -59543,7 +59909,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 84: { LogStep(84, "Make sure that first holiday schedule was not deleted"); @@ -59553,7 +59919,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 85: { LogStep(85, "Make sure that second holiday schedule was not deleted"); @@ -59563,7 +59929,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 86: { LogStep(86, "Create another Week Day schedule with valid parameters"); @@ -59579,7 +59945,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Clear a single year day schedule for the first user"); @@ -59590,7 +59956,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Verify cleared year day schedule"); @@ -59601,7 +59967,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Clear all remaining year schedules for the first user"); @@ -59612,7 +59978,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Verify that second year day schedule was cleared"); @@ -59623,7 +59989,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Verify created week day schedule"); @@ -59634,7 +60000,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Clear all remaining week day schedules for the first user"); @@ -59645,7 +60011,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new user without credential so we can add more schedules to it"); @@ -59661,7 +60027,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create Week Day schedule with valid parameters for first user"); @@ -59677,7 +60043,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created week day schedule for first user"); @@ -59688,7 +60054,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Create Year Day schedule for first user"); @@ -59701,7 +60067,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Verify created year day schedule for first"); @@ -59712,7 +60078,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 98: { LogStep(98, "Create Week Day schedule with valid parameters for second user"); @@ -59728,7 +60094,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 99: { LogStep(99, "Verify created week day schedule for first user"); @@ -59739,7 +60105,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 100: { LogStep(100, "Create Year Day schedule for second user"); @@ -59752,7 +60118,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 101: { LogStep(101, "Verify created year day schedule for first"); @@ -59763,7 +60129,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "Cleanup the user"); @@ -59773,7 +60139,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Make sure clearing first user also cleared week day schedules"); @@ -59784,7 +60150,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 104: { LogStep(104, "Make sure clearing first user also cleared year day schedules"); @@ -59795,7 +60161,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure clearing second user also cleared week day schedules"); @@ -59806,7 +60172,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure clearing second user also cleared year day schedules"); @@ -59817,7 +60183,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Make sure that first holiday schedule was not deleted"); @@ -59827,7 +60193,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 108: { LogStep(108, "Make sure that second holiday schedule was not deleted"); @@ -59837,7 +60203,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create another Holiday schedule at the last slot"); @@ -59850,7 +60216,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "Verify Created Holiday Schedule"); @@ -59860,7 +60226,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create new PIN credential and schedule user"); @@ -59878,7 +60244,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Create Week Day schedule for first user"); @@ -59894,7 +60260,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 113: { LogStep(113, "Create Year Day schedule for first user"); @@ -59907,7 +60273,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 114: { LogStep(114, "Clear a single holiday schedule"); @@ -59917,7 +60283,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "Make sure that first holiday schedule was not deleted"); @@ -59927,7 +60293,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "Make sure that second holiday schedule was deleted"); @@ -59937,7 +60303,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 117: { LogStep(117, "Make sure that third holiday schedule was not deleted"); @@ -59947,7 +60313,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 118: { LogStep(118, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -59958,7 +60324,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 119: { LogStep(119, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -59969,7 +60335,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 120: { LogStep(120, "Clear all remaining holiday schedules"); @@ -59979,7 +60345,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 121: { LogStep(121, "Make sure that first holiday is still deleted"); @@ -59989,7 +60355,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 122: { LogStep(122, "Make sure that second holiday schedule was deleted"); @@ -59999,7 +60365,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 123: { LogStep(123, "Make sure that third holiday schedule was not deleted"); @@ -60009,7 +60375,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60020,7 +60386,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 125: { LogStep(125, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60031,7 +60397,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 126: { LogStep(126, "Final Cleanup"); @@ -60041,7 +60407,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60072,7 +60438,9 @@ class Test_TC_DLRK_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60189,7 +60557,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes the RequirePINforRemoteOperation attribute value as True on the DUT"); @@ -60216,7 +60584,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Lock Door Command to the DUT with valid PINCode"); @@ -60227,7 +60595,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Lock Door Command to the DUT without any argument PINCode"); @@ -60238,7 +60606,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH writes WrongCodeEntryLimit attribute value as 3 on the DUT"); @@ -60266,7 +60634,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60277,7 +60645,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60288,7 +60656,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60299,7 +60667,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH reads UserCodeTemporaryDisableTime attribute from DUT"); @@ -60315,7 +60683,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Clean the created credential"); @@ -60329,7 +60697,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60360,7 +60728,9 @@ class Test_TC_DLRK_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60461,7 +60831,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60472,7 +60842,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60491,7 +60861,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60522,7 +60892,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60553,7 +60923,9 @@ class Test_TC_DLRK_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60651,7 +61023,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60662,7 +61034,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60682,7 +61054,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockWithTimeout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60733,7 +61105,9 @@ class Test_TC_DLRK_2_5Suite : public TestCommand uint8_t NumberOfWeekDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60900,7 +61274,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get Max number of Week Day schedules for user"); @@ -60926,7 +61300,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "send GetWeekDay Schedule Command "); @@ -60937,7 +61311,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Set Week Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -60953,7 +61327,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "send GetWeekDay Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -60964,7 +61338,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Clear all week day schedules for the first user"); @@ -60975,7 +61349,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send GetWeekDay Schedule Command "); @@ -60986,7 +61360,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61020,7 +61394,9 @@ class Test_TC_DLRK_2_7Suite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -61212,7 +61588,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Create new PIN credential and lock/unlock for second user"); @@ -61230,7 +61606,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Get Max number of year Day schedules for user"); @@ -61253,7 +61629,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "send Get Year Day Schedule Command"); @@ -61264,7 +61640,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Set Year Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61277,7 +61653,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "send Get Year Day Schedule Command to DUT and Verify INVALID_FIELD response"); @@ -61288,7 +61664,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response"); @@ -61299,7 +61675,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response "); @@ -61310,7 +61686,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Send Set Year Day Schedule Command to DUT"); @@ -61323,7 +61699,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "send Get Year Day Schedule Command "); @@ -61334,7 +61710,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61367,7 +61743,9 @@ class Test_TC_DLRK_2_9Suite : public TestCommand uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -61532,7 +61910,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH sends Get Credential Status Command"); @@ -61545,7 +61923,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "TH sends Set Credential Command to DUT"); @@ -61566,7 +61944,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Set Credential Command to DUT"); @@ -61587,7 +61965,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Set Credential Command to DUT"); @@ -61608,7 +61986,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH sends Set Credential Command to DUT"); @@ -61629,7 +62007,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH sends Set Credential Command to DUT"); @@ -61650,7 +62028,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH sends Clear Credential Command to DUT"); @@ -61664,7 +62042,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Set Credential Command to DUT"); @@ -61685,7 +62063,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Clear Credential Command to DUT"); @@ -61699,7 +62077,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Set Credential Command to DUT"); @@ -61720,7 +62098,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH sends Clear Credential Command to DUT"); @@ -61734,7 +62112,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 14: { LogStep(14, "TH sends Get Credential Status Command"); @@ -61747,7 +62125,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "TH sends Set Credential Command to DUT"); @@ -61768,7 +62146,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH sends Clear Credential Command to DUT"); @@ -61782,7 +62160,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61819,7 +62197,9 @@ class TestGroupMessagingSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -62071,7 +62451,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Add Group 2 (endpoint 0)"); @@ -62081,7 +62461,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "KeySet Write 1"); @@ -62093,30 +62473,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "KeySet Write 2"); @@ -62128,30 +62508,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Write Group Keys"); @@ -62171,7 +62551,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62198,7 +62578,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62273,7 +62653,7 @@ class TestGroupMessagingSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Cleanup ACLs"); @@ -62291,7 +62671,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62305,7 +62685,7 @@ class TestGroupMessagingSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Commission from gamma"); @@ -62330,7 +62710,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Add Group 2 (endpoint 0) for gamma"); @@ -62340,7 +62720,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "KeySet Write 1 for gamma"); @@ -62352,30 +62732,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "KeySet Write 2 for gamma"); @@ -62387,30 +62767,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Write Group Keys for gamma"); @@ -62430,7 +62810,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62457,7 +62837,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62542,7 +62922,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62576,7 +62956,9 @@ class TestGroupsClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -62814,7 +63196,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "View First Group (not found)"); @@ -62824,7 +63206,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Add First Group (new)"); @@ -62834,7 +63216,7 @@ class TestGroupsClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "View First Group (new)"); @@ -62844,7 +63226,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "View Second Group (not found)"); @@ -62854,7 +63236,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Get Group Membership 1 (all)"); @@ -62865,7 +63247,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "View Group 3 (not found)"); @@ -62875,7 +63257,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "View First Group (existing)"); @@ -62885,7 +63267,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Remove Group 0 (invalid)"); @@ -62895,7 +63277,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Remove Group 4 (not found)"); @@ -62905,7 +63287,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "View First Group (not removed)"); @@ -62915,7 +63297,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "View Second Group (removed)"); @@ -62925,7 +63307,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Get Group Membership 3"); @@ -62944,7 +63326,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Remove All"); @@ -62953,7 +63335,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "View First Group (removed)"); @@ -62963,7 +63345,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "View Second Group (still removed)"); @@ -62973,7 +63355,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "View Group 3 (removed)"); @@ -62983,7 +63365,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Get Group Membership 4"); @@ -63003,7 +63385,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63035,7 +63417,9 @@ class TestGroupKeyManagementClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63124,8 +63508,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63145,8 +63529,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63207,8 +63591,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63229,8 +63613,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63284,7 +63668,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Add Group 2"); @@ -63294,7 +63678,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "KeySet Write 1"); @@ -63306,30 +63690,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "KeySet Write 2"); @@ -63341,30 +63725,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(1); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "KeySet Read"); @@ -63374,7 +63758,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Write Group Keys (invalid)"); @@ -63390,7 +63774,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63413,7 +63797,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63436,7 +63820,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "KeySet Read (removed)"); @@ -63446,7 +63830,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "KeySet Read (not removed)"); @@ -63456,7 +63840,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Remove Group 1"); @@ -63466,7 +63850,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Read GroupTable 2"); @@ -63480,7 +63864,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Read GroupTable 3"); @@ -63495,7 +63879,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "KeySet Read (also removed)"); @@ -63505,7 +63889,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63536,7 +63920,9 @@ class Test_TC_DD_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63592,7 +63978,9 @@ class Test_TC_DD_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63648,7 +64036,9 @@ class Test_TC_DD_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63704,7 +64094,9 @@ class Test_TC_DD_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63760,7 +64152,9 @@ class Test_TC_DD_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63816,7 +64210,9 @@ class Test_TC_DD_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63872,7 +64268,9 @@ class Test_TC_DD_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63928,7 +64326,9 @@ class Test_TC_DD_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63984,7 +64384,9 @@ class Test_TC_DD_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64040,7 +64442,9 @@ class Test_TC_DD_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64096,7 +64500,9 @@ class Test_TC_DD_1_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64152,7 +64558,9 @@ class Test_TC_DD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64208,7 +64616,9 @@ class Test_TC_DD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64264,7 +64674,9 @@ class Test_TC_DD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64320,7 +64732,9 @@ class Test_TC_DD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64376,7 +64790,9 @@ class Test_TC_DD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64432,7 +64848,9 @@ class Test_TC_DD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64488,7 +64906,9 @@ class Test_TC_DD_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64544,7 +64964,9 @@ class Test_TC_DD_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64600,7 +65022,9 @@ class Test_TC_DD_3_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64656,7 +65080,9 @@ class Test_TC_DD_3_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64712,7 +65138,9 @@ class Test_TC_DD_3_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64768,7 +65196,9 @@ class Test_TC_DD_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64824,7 +65254,9 @@ class Test_TC_DD_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64880,7 +65312,9 @@ class Test_TC_DD_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64936,7 +65370,9 @@ class Test_TC_DD_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64992,7 +65428,9 @@ class Test_TC_DD_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65048,7 +65486,9 @@ class Test_TC_DD_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65104,7 +65544,9 @@ class Test_TC_DD_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65160,7 +65602,9 @@ class Test_TC_DD_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65216,7 +65660,9 @@ class Test_TC_DD_3_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65272,7 +65718,9 @@ class Test_TC_DD_3_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65328,7 +65776,9 @@ class Test_TC_DD_3_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65385,7 +65835,9 @@ class TestGroupDemoCommandSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65653,7 +66105,9 @@ class TestGroupDemoConfigSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65718,7 +66172,7 @@ class TestGroupDemoConfigSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "KeySet Write 1"); @@ -65730,30 +66184,30 @@ class TestGroupDemoConfigSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Map Group Key Set to group ID on a given fabric"); @@ -65769,7 +66223,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -65803,7 +66257,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -65837,7 +66291,9 @@ class Test_TC_G_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65893,7 +66349,9 @@ class Test_TC_G_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65949,7 +66407,9 @@ class Test_TC_G_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66005,7 +66465,9 @@ class Test_TC_G_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66061,7 +66523,9 @@ class Test_TC_G_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66117,7 +66581,9 @@ class Test_TC_G_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66173,7 +66639,9 @@ class Test_TC_BDX_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66229,7 +66697,9 @@ class Test_TC_BDX_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66285,7 +66755,9 @@ class Test_TC_BDX_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66341,7 +66813,9 @@ class Test_TC_BDX_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66397,7 +66871,9 @@ class Test_TC_BDX_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66453,7 +66929,9 @@ class Test_TC_BDX_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66509,7 +66987,9 @@ class Test_TC_BDX_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66565,7 +67045,9 @@ class Test_TC_BDX_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66621,7 +67103,9 @@ class Test_TC_BDX_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66677,7 +67161,9 @@ class Test_TC_BDX_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66733,7 +67219,9 @@ class Test_TC_BDX_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66789,7 +67277,9 @@ class Test_TC_BR_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66845,7 +67335,9 @@ class Test_TC_BR_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66901,7 +67393,9 @@ class Test_TC_BR_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66957,7 +67451,9 @@ class Test_TC_DA_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67013,7 +67509,9 @@ class Test_TC_DA_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67069,7 +67567,9 @@ class Test_TC_DA_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67125,7 +67625,9 @@ class Test_TC_DA_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67181,7 +67683,9 @@ class Test_TC_DA_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67237,7 +67741,9 @@ class Test_TC_DA_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67293,7 +67799,9 @@ class Test_TC_BINFO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67350,7 +67858,9 @@ class Test_TC_OPCREDS_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67406,7 +67916,9 @@ class Test_TC_CNET_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67464,7 +67976,9 @@ class Test_TC_BINFO_2_2Suite : public TestCommand uint32_t SoftwareVersionValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67716,7 +68230,9 @@ class Test_TC_BINFO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67773,7 +68289,9 @@ class Test_TC_OPCREDS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67830,7 +68348,9 @@ class Test_TC_OPCREDS_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67887,7 +68407,9 @@ class Test_TC_OPCREDS_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67944,7 +68466,9 @@ class Test_TC_OPCREDS_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68000,7 +68524,9 @@ class Test_TC_CNET_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68056,7 +68582,9 @@ class Test_TC_CNET_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68112,7 +68640,9 @@ class Test_TC_CNET_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68168,7 +68698,9 @@ class Test_TC_CNET_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68224,7 +68756,9 @@ class Test_TC_CNET_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68280,7 +68814,9 @@ class Test_TC_CNET_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68336,7 +68872,9 @@ class Test_TC_CNET_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68392,7 +68930,9 @@ class Test_TC_CNET_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68448,7 +68988,9 @@ class Test_TC_CNET_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68504,7 +69046,9 @@ class Test_TC_CNET_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68560,7 +69104,9 @@ class Test_TC_CNET_4_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68616,7 +69162,9 @@ class Test_TC_CNET_4_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68672,7 +69220,9 @@ class Test_TC_CNET_4_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68728,7 +69278,9 @@ class Test_TC_CNET_4_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68784,7 +69336,9 @@ class Test_TC_CNET_4_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68840,7 +69394,9 @@ class Test_TC_CNET_4_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68896,7 +69452,9 @@ class Test_TC_CNET_4_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68952,7 +69510,9 @@ class Test_TC_CNET_4_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69008,7 +69568,9 @@ class Test_TC_CNET_4_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69064,7 +69626,9 @@ class Test_TC_CNET_4_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69120,7 +69684,9 @@ class Test_TC_CNET_4_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69176,7 +69742,9 @@ class Test_TC_DLOG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69232,7 +69800,9 @@ class Test_TC_DLOG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69288,7 +69858,9 @@ class Test_TC_DLOG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69344,7 +69916,9 @@ class Test_TC_DLOG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69400,7 +69974,9 @@ class Test_TC_DESC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69456,7 +70032,9 @@ class Test_TC_DESC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69512,7 +70090,9 @@ class Test_TC_DGETH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69568,7 +70148,9 @@ class Test_TC_DGETH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69624,7 +70206,9 @@ class Test_TC_DGETH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69680,7 +70264,9 @@ class Test_TC_CGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69736,7 +70322,9 @@ class Test_TC_CGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69792,7 +70380,9 @@ class Test_TC_CGEN_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69848,7 +70438,9 @@ class Test_TC_DGGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69904,7 +70496,9 @@ class Test_TC_DGGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69960,7 +70554,9 @@ class Test_TC_DGGEN_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70016,7 +70612,9 @@ class Test_TC_DGGEN_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70072,7 +70670,9 @@ class Test_TC_I_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70128,7 +70728,9 @@ class Test_TC_I_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70184,7 +70786,9 @@ class Test_TC_ILL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70240,7 +70844,9 @@ class Test_TC_ILL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70296,7 +70902,9 @@ class Test_TC_IDM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70352,7 +70960,9 @@ class Test_TC_IDM_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70408,7 +71018,9 @@ class Test_TC_IDM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70464,7 +71076,9 @@ class Test_TC_IDM_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70520,7 +71134,9 @@ class Test_TC_IDM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70576,7 +71192,9 @@ class Test_TC_IDM_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70632,7 +71250,9 @@ class Test_TC_IDM_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70688,7 +71308,9 @@ class Test_TC_IDM_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70744,7 +71366,9 @@ class Test_TC_IDM_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70800,7 +71424,9 @@ class Test_TC_IDM_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70856,7 +71482,9 @@ class Test_TC_IDM_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70912,7 +71540,9 @@ class Test_TC_IDM_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70968,7 +71598,9 @@ class Test_TC_IDM_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71024,7 +71656,9 @@ class Test_TC_IDM_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71080,7 +71714,9 @@ class Test_TC_IDM_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71136,7 +71772,9 @@ class Test_TC_IDM_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71192,7 +71830,9 @@ class Test_TC_IDM_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71248,7 +71888,9 @@ class Test_TC_MC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71304,7 +71946,9 @@ class Test_TC_MC_3_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71360,7 +72004,9 @@ class Test_TC_MC_3_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71416,7 +72062,9 @@ class Test_TC_MC_3_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71472,7 +72120,9 @@ class Test_TC_MC_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71528,7 +72178,9 @@ class Test_TC_MC_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71584,7 +72236,9 @@ class Test_TC_MC_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71640,7 +72294,9 @@ class Test_TC_MC_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71696,7 +72352,9 @@ class Test_TC_MC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71752,7 +72410,9 @@ class Test_TC_MC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71808,7 +72468,9 @@ class Test_TC_MC_5_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71864,7 +72526,9 @@ class Test_TC_MC_5_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71920,7 +72584,9 @@ class Test_TC_MC_6_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71976,7 +72642,9 @@ class Test_TC_MC_6_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72032,7 +72700,9 @@ class Test_TC_MC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72088,7 +72758,9 @@ class Test_TC_MC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72144,7 +72816,9 @@ class Test_TC_MC_10_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72200,7 +72874,9 @@ class Test_TC_MC_10_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72256,7 +72932,9 @@ class Test_TC_MC_10_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72312,7 +72990,9 @@ class Test_TC_MC_11_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72368,7 +73048,9 @@ class Test_TC_MC_11_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72424,7 +73106,9 @@ class Test_TC_MC_12_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72480,7 +73164,9 @@ class Test_TC_MC_12_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72536,7 +73222,9 @@ class Test_TC_MF_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72592,7 +73280,9 @@ class Test_TC_MF_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72648,7 +73338,9 @@ class Test_TC_MF_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72704,7 +73396,9 @@ class Test_TC_MF_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72760,7 +73454,9 @@ class Test_TC_MF_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72816,7 +73512,9 @@ class Test_TC_MF_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72872,7 +73570,9 @@ class Test_TC_MF_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72928,7 +73628,9 @@ class Test_TC_MF_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72984,7 +73686,9 @@ class Test_TC_MF_1_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73040,7 +73744,9 @@ class Test_TC_MF_1_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73096,7 +73802,9 @@ class Test_TC_MF_1_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73152,7 +73860,9 @@ class Test_TC_MF_1_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73208,7 +73918,9 @@ class Test_TC_MF_1_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73264,7 +73976,9 @@ class Test_TC_MF_1_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73320,7 +74034,9 @@ class Test_TC_MF_1_22Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73376,7 +74092,9 @@ class Test_TC_MF_1_23Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73432,7 +74150,9 @@ class Test_TC_MF_1_24Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73488,7 +74208,9 @@ class Test_TC_MF_1_25Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73544,7 +74266,9 @@ class Test_TC_MF_1_26Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73588,14 +74312,18 @@ class Test_TC_MF_1_27Suite : public TestCommand ~Test_TC_MF_1_27Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); + } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73678,7 +74406,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -73701,7 +74429,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -73725,14 +74453,18 @@ class Test_TC_MF_1_28Suite : public TestCommand ~Test_TC_MF_1_28Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); + } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73812,11 +74544,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73824,7 +74556,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -73844,11 +74576,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73856,7 +74588,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -73885,7 +74617,9 @@ class Test_TC_MF_1_5Suite : public TestCommand ~Test_TC_MF_1_5Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); + } private: chip::Optional mNodeId; @@ -73897,7 +74631,9 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73987,11 +74723,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73999,7 +74735,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10 seconds"); @@ -74022,11 +74758,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74034,7 +74770,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74044,7 +74780,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74062,7 +74798,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74083,11 +74819,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74095,7 +74831,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74136,7 +74872,9 @@ class Test_TC_MF_1_6Suite : public TestCommand ~Test_TC_MF_1_6Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); + } private: chip::Optional mNodeId; @@ -74148,7 +74886,9 @@ class Test_TC_MF_1_6Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74245,7 +74985,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10"); @@ -74271,7 +75011,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74281,7 +75021,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Commission from beta"); @@ -74299,7 +75039,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74323,7 +75063,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Commission from beta"); @@ -74371,7 +75111,9 @@ class Test_TC_MF_1_9Suite : public TestCommand ~Test_TC_MF_1_9Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); + } private: chip::Optional mNodeId; @@ -74384,7 +75126,9 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74519,11 +75263,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74531,7 +75275,7 @@ class Test_TC_MF_1_9Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -74732,7 +75476,9 @@ class Test_TC_MF_1_10Suite : public TestCommand ~Test_TC_MF_1_10Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); + } private: chip::Optional mNodeId; @@ -74745,7 +75491,9 @@ class Test_TC_MF_1_10Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74883,7 +75631,7 @@ class Test_TC_MF_1_10Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75083,7 +75831,9 @@ class Test_TC_MF_1_15Suite : public TestCommand ~Test_TC_MF_1_15Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); + } private: chip::Optional mNodeId; @@ -75095,7 +75845,9 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75143,8 +75895,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75173,8 +75925,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75230,7 +75982,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Commission from gamma"); @@ -75256,7 +76008,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from beta"); @@ -75282,7 +76034,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 opens a new commissioning window on DUT_CE"); @@ -75290,11 +76042,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75302,7 +76054,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -75322,11 +76074,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75334,7 +76086,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH_CR3 opens a new commissioning window on DUT_CE"); @@ -75342,11 +76094,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75354,7 +76106,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -75374,11 +76126,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75386,7 +76138,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH_CR2 opens a new commissioning window on DUT_CE"); @@ -75394,11 +76146,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75406,7 +76158,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -75437,7 +76189,9 @@ class Test_TC_MOD_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75493,7 +76247,9 @@ class Test_TC_MOD_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75549,7 +76305,9 @@ class Test_TC_MOD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75605,7 +76363,9 @@ class Test_TC_MOD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75661,7 +76421,9 @@ class Test_TC_MOD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75717,7 +76479,9 @@ class Test_TC_MOD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75773,7 +76537,9 @@ class Test_TC_MOD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75829,7 +76595,9 @@ class Test_TC_MOD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75885,7 +76653,9 @@ class Test_TC_SU_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75941,7 +76711,9 @@ class Test_TC_SU_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75997,7 +76769,9 @@ class Test_TC_SU_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76053,7 +76827,9 @@ class Test_TC_SU_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76109,7 +76885,9 @@ class Test_TC_SU_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76165,7 +76943,9 @@ class Test_TC_SU_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76221,7 +77001,9 @@ class Test_TC_SU_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76277,7 +77059,9 @@ class Test_TC_SU_2_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76333,7 +77117,9 @@ class Test_TC_SU_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76389,7 +77175,9 @@ class Test_TC_SU_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76445,7 +77233,9 @@ class Test_TC_SU_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76501,7 +77291,9 @@ class Test_TC_SU_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76557,7 +77349,9 @@ class Test_TC_SU_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76613,7 +77407,9 @@ class Test_TC_SU_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76669,7 +77465,9 @@ class Test_TC_SU_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76725,7 +77523,9 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76781,7 +77581,9 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76837,7 +77639,9 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76893,7 +77697,9 @@ class Test_TC_SC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76949,7 +77755,9 @@ class Test_TC_SC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77005,7 +77813,9 @@ class Test_TC_SC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77061,7 +77871,9 @@ class Test_TC_SC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77117,7 +77929,9 @@ class Test_TC_SC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77173,7 +77987,9 @@ class Test_TC_SC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77229,7 +78045,9 @@ class Test_TC_SC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77285,7 +78103,9 @@ class Test_TC_SC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77341,7 +78161,9 @@ class Test_TC_SC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77397,7 +78219,9 @@ class Test_TC_SC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77453,7 +78277,9 @@ class Test_TC_SC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77509,7 +78335,9 @@ class Test_TC_SC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77565,7 +78393,9 @@ class Test_TC_SC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77621,7 +78451,9 @@ class Test_TC_SC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77677,7 +78509,9 @@ class Test_TC_SC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77733,7 +78567,9 @@ class Test_TC_SC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77789,7 +78625,9 @@ class Test_TC_SC_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77845,7 +78683,9 @@ class Test_TC_SC_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77901,7 +78741,9 @@ class Test_TC_SC_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77957,7 +78799,9 @@ class Test_TC_SC_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78013,7 +78857,9 @@ class Test_TC_SC_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78069,7 +78915,9 @@ class Test_TC_DGSW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78125,7 +78973,9 @@ class Test_TC_DGSW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78181,7 +79031,9 @@ class Test_TC_DGSW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78237,7 +79089,9 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78293,7 +79147,9 @@ class Test_TC_DGWIFI_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78349,7 +79205,9 @@ class Test_TC_DGWIFI_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78405,7 +79263,9 @@ class Test_TC_DGWIFI_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78461,7 +79321,9 @@ class Test_TC_WNCV_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78517,7 +79379,9 @@ class Test_TC_WNCV_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78575,7 +79439,9 @@ class Test_TC_FLW_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78686,7 +79552,9 @@ class Test_TC_FLW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78744,7 +79612,9 @@ class Test_TC_OCC_2_2Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78854,7 +79724,9 @@ class Test_TC_OCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78910,7 +79782,9 @@ class Test_TC_OCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78968,7 +79842,9 @@ class Test_TC_OCC_3_1Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79077,7 +79953,9 @@ class Test_TC_OCC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79133,7 +80011,9 @@ class Test_TC_PRS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79189,7 +80069,9 @@ class Test_TC_PRS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79245,7 +80127,9 @@ class Test_TC_PS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79301,7 +80185,9 @@ class Test_TC_PS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79357,7 +80243,9 @@ class Test_TC_BOOL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79413,7 +80301,9 @@ class Test_TC_BOOL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79469,7 +80359,9 @@ class Test_TC_CC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79525,7 +80417,9 @@ class Test_TC_CC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79581,7 +80475,9 @@ class Test_TC_CC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79637,7 +80533,9 @@ class Test_TC_CC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79693,7 +80591,9 @@ class Test_TC_CC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79749,7 +80649,9 @@ class Test_TC_CC_7_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79805,7 +80707,9 @@ class Test_TC_CC_9_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79850,7 +80754,9 @@ class Test_TC_CC_9_1Suite : public TestCommand ~Test_TC_CC_9_1Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -79867,7 +80773,9 @@ class Test_TC_CC_9_1Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue4; uint16_t ColorLoopStoredEnhancedHue4; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -80368,7 +81276,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition : Check on/off attribute value is true after on command"); @@ -80387,7 +81295,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -80411,7 +81319,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -80434,7 +81342,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read ColorLoopDirection attribute from DUT"); @@ -80457,7 +81365,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Read ColorLoopTime attribute from DUT"); @@ -80480,7 +81388,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Read ColorLoopStartEnhancedHue attribute from DUT"); @@ -80503,7 +81411,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Read ColorLoopActive attribute from DUT"); @@ -80564,7 +81472,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Read ColorLoopActive attribute from DUT"); @@ -80599,7 +81507,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopDirection attribute from DUT"); @@ -80622,7 +81530,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Read ColorLoopActive attribute from DUT"); @@ -80683,7 +81591,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Read ColorLoopActive attribute from DUT"); @@ -80716,7 +81624,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 1000ms"); @@ -80746,7 +81654,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Read ColorLoopDirection attribute from DUT"); @@ -80769,7 +81677,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Read ColorLoopActive attribute from DUT"); @@ -80830,7 +81738,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Read ColorLoopActive attribute from DUT"); @@ -80865,7 +81773,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Read ColorLoopDirection attribute from DUT"); @@ -80888,7 +81796,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Read ColorLoopActive attribute from DUT"); @@ -80949,7 +81857,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Read ColorLoopActive attribute from DUT"); @@ -80975,7 +81883,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Check on/off attribute value is false after off command"); @@ -80999,7 +81907,9 @@ class Test_TC_CC_9_2Suite : public TestCommand ~Test_TC_CC_9_2Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -81011,7 +81921,9 @@ class Test_TC_CC_9_2Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue1; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -81251,7 +82163,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -81270,7 +82182,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81294,7 +82206,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81335,7 +82247,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -81396,7 +82308,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopDirection attribute from DUT."); @@ -81451,7 +82363,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopActive attribute from DUT"); @@ -81477,7 +82389,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Check on/off attribute value is false after off command"); @@ -81501,7 +82413,9 @@ class Test_TC_CC_9_3Suite : public TestCommand ~Test_TC_CC_9_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -81512,7 +82426,9 @@ class Test_TC_CC_9_3Suite : public TestCommand uint16_t ColorLoopStartEnhancedHueValue; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -81743,7 +82659,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -81762,7 +82678,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81786,7 +82702,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81827,7 +82743,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -81888,7 +82804,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopTime attribute from DUT."); @@ -81937,7 +82853,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Read ColorLoopActive attribute from DUT"); @@ -81963,7 +82879,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check on/off attribute value is false after off command"); @@ -81998,7 +82914,9 @@ class Test_TC_DLRK_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82054,7 +82972,9 @@ class Test_TC_DLRK_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82110,7 +83030,9 @@ class Test_TC_DLRK_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82166,7 +83088,9 @@ class Test_TC_DLRK_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82222,7 +83146,9 @@ class Test_TC_DLRK_2_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82278,7 +83204,9 @@ class Test_TC_LCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82334,7 +83262,9 @@ class Test_TC_LCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82390,7 +83320,9 @@ class Test_TC_LCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82446,7 +83378,9 @@ class Test_TC_LVL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82502,7 +83436,9 @@ class Test_TC_LVL_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82547,7 +83483,9 @@ class Test_TC_OO_2_3Suite : public TestCommand ~Test_TC_OO_2_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); + } private: chip::Optional mNodeId; @@ -82555,7 +83493,9 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -83404,7 +84344,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 1000ms"); @@ -83434,7 +84374,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 1000ms"); @@ -83462,7 +84402,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 1000ms"); @@ -83492,7 +84432,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 1000ms"); @@ -83519,7 +84459,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 1000ms"); @@ -83549,7 +84489,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Wait 1000ms"); @@ -83576,7 +84516,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 1000ms"); @@ -83604,7 +84544,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Wait 1000ms"); @@ -83646,7 +84586,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "9b:Reads OnTime attribute from DUT"); @@ -83671,7 +84611,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Wait 10000ms"); @@ -83691,7 +84631,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Wait 10000ms"); @@ -83711,7 +84651,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Wait 10000ms"); @@ -83731,7 +84671,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "10e:Reads OnOff attribute from DUT"); @@ -83767,7 +84707,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "11b:Reads OnOff attribute from DUT"); @@ -83804,7 +84744,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "12b:Reads OnOff attribute from DUT"); @@ -83837,7 +84777,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "13b:Reads OnOff attribute from DUT"); @@ -83874,7 +84814,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Wait 10000ms"); @@ -83890,7 +84830,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "14c:Reads OnOff attribute from DUT"); @@ -83951,7 +84891,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "16b:Reads OnOff attribute from DUT"); @@ -83977,7 +84917,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Wait 10000ms"); @@ -83997,7 +84937,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "17c:Reads OnOff attribute from DUT"); @@ -84058,7 +84998,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "18b:Reads OnOff attribute from DUT"); @@ -84088,7 +85028,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Wait 10000ms"); @@ -84108,7 +85048,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Wait 10000ms"); @@ -84141,7 +85081,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "20b:Reads OnOff attribute from DUT"); @@ -84171,7 +85111,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "21b:Reads OnOff attribute from DUT"); @@ -84197,7 +85137,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "22b:Reads OnOff attribute from DUT"); @@ -84234,7 +85174,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "23b:Send Off Command"); @@ -84243,7 +85183,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "23c:Reads OnOff attribute from DUT"); @@ -84297,7 +85237,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "24b:Reads OnOff attribute from DUT"); @@ -84347,7 +85287,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -84378,7 +85318,9 @@ class Test_TC_OO_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84434,7 +85376,9 @@ class Test_TC_OO_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84492,7 +85436,9 @@ class Test_TC_RH_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84636,7 +85582,9 @@ class Test_TC_RH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84692,7 +85640,9 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84748,7 +85698,9 @@ class Test_TC_SWTCH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84804,7 +85756,9 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84860,7 +85814,9 @@ class Test_TC_SWTCH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84918,7 +85874,9 @@ class Test_TC_TM_2_2Suite : public TestCommand chip::app::DataModel::Nullable valueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85059,7 +86017,9 @@ class Test_TC_TM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85115,7 +86075,9 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85171,7 +86133,9 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85227,7 +86191,9 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85284,7 +86250,9 @@ class Test_TC_DIAG_TH_NW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85341,7 +86309,9 @@ class Test_TC_DIAG_TH_NW_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85398,7 +86368,9 @@ class Test_TC_DIAG_TH_NW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85455,7 +86427,9 @@ class Test_TC_DIAG_TH_NW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85512,7 +86486,9 @@ class Test_TC_DIAG_TH_NW_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85569,7 +86545,9 @@ class Test_TC_DIAG_TH_NW_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85626,7 +86604,9 @@ class Test_TC_DIAG_TH_NW_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85682,7 +86662,9 @@ class Test_TC_ACT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85738,7 +86720,9 @@ class Test_TC_ACT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85794,7 +86778,9 @@ class Test_TC_ACT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85850,7 +86836,9 @@ class Test_TC_TFL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85906,7 +86894,9 @@ class Test_TC_TFL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85962,7 +86952,9 @@ class Test_TC_TFL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86018,7 +87010,9 @@ class Test_TC_TFL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86074,7 +87068,9 @@ class Test_TC_UL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86130,7 +87126,9 @@ class Test_TC_UL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86186,7 +87184,9 @@ class Test_TC_UL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86242,7 +87242,9 @@ class Test_TC_UL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86298,7 +87300,9 @@ class Test_TC_FLABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86354,7 +87358,9 @@ class Test_TC_FLABEL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86410,7 +87416,9 @@ class Test_TC_FLABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86466,7 +87474,9 @@ class Test_TC_BIND_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86522,7 +87532,9 @@ class Test_TC_BIND_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86578,7 +87590,9 @@ class Test_TC_S_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86634,7 +87648,9 @@ class Test_TC_S_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86690,7 +87706,9 @@ class Test_TC_S_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86746,7 +87764,9 @@ class Test_TC_S_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86802,7 +87822,9 @@ class Test_TC_S_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86858,7 +87880,9 @@ class Test_TC_PCC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index e3c975ce657b71..7e384dd3be0cb6 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -558,7 +558,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -584,7 +584,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -635,7 +635,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index 8395d4a0da6cdc..dda740e874a055 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 9226fa764a8c26..30d8dfb6c42ba0 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index d0d448949c10c9..315b689d7cead4 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 22deb0dc7ab73c..9df040782130ed 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index bb60e2b0702582..2b68e37391b532 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index c9ac4cc5d26d48..3405cdb9e2c48c 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index f063f5b2f40c56..84b39f361f1e43 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -86,7 +86,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -112,7 +112,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -163,7 +163,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index 42ddd96e8e5862..ab0176c066a936 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index 644941f2439ed4..712f145dbe19f2 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -150,7 +150,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -176,7 +176,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -227,7 +227,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index b802854e9e1d4d..ba8adedceac7ce 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index b7a47b8b4772eb..a0ccb0154aec22 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -158,7 +158,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -184,7 +184,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -235,7 +235,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index 00aaea9738678f..1fa12072c18d9e 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index 2b85ab33c5f844..a776571005c1ee 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index 00aaea9738678f..1fa12072c18d9e 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index 2b85ab33c5f844..a776571005c1ee 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 801f2c71341be4..9fa8b6ba5d3fb9 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index f85e4992801af6..7fa6d236bc7e05 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -214,7 +214,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -240,7 +240,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -291,7 +291,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 16072d2b6dafd1..5b24d79947d300 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index 215febb6fc627d..a875af5a8c8dd1 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index a132a0357cb44c..94c9ce83b4c8ce 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index edd96cd31c3e03..a644d3b0760d75 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index dfe8cbdabafb85..3fd659d3f64842 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index 77e88d263ca748..c488eaf069cab6 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index 86ba13c411cf5d..a0be89d9208b56 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -115,7 +115,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -126,7 +126,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 41b6f28b0d995f..292363f8e0d60d 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -334,7 +334,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -360,7 +360,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -411,7 +411,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index aa6798e0930828..5fa01c5a884d99 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 3a0c8c19b53d37..2c13248afddfce 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -366,7 +366,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -392,7 +392,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -443,7 +443,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index 2065f807a7b214..73da6cec1d0e7a 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index 14f002d4a19228..f6ed24bd7cf242 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) From f28dcbced55d01873aaed850e0ba342cb6e5a774 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 14:38:58 +0000 Subject: [PATCH 07/15] Restyled by clang-format --- .../zap-generated/IMClusterCommandHandler.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../app-common/zap-generated/callback.h | 1226 ++--- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../chip-tool/zap-generated/test/Commands.h | 4408 +++++++---------- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../lock-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app1/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app2/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../pump-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../tv-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- 64 files changed, 2462 insertions(+), 3486 deletions(-) diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index bbdcc7b7ccb7e9..aad3d6c655fa95 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } @@ -1815,7 +1815,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index 039cbf6592bb14..488fb3efd18d04 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -550,7 +550,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -576,7 +576,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -627,7 +627,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index 371319cdffcdf0..d14a3c2eb39725 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -115,7 +115,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -1589,7 +1589,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 6ee2652ef482fc..09dcd4d0dc2491 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -518,7 +518,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -544,7 +544,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -595,7 +595,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) 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 bc9a52662bf14c..3364c8a743e3fd 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index d128755316eaee..69e83862082ff3 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index c2441cd59972c8..05fbff1c7e03d3 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -238,7 +238,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -264,7 +264,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -315,7 +315,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 6d87853bfd394f..52dacae6648fc2 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index 6db6606e931311..8c14fda2574756 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index ee71891d449c8c..0c8c71ad640a6c 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -270,7 +270,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -296,7 +296,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -347,7 +347,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index 4671a3085c0f9a..78909a92774d5f 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index 6db6606e931311..8c14fda2574756 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index d811cc1e79566e..abd8a2e0790b32 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -278,7 +278,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -304,7 +304,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -355,7 +355,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 5bac9de07149fa..83772e1243c71e 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index 9d8774cfdad15a..5a89e1d8d9eb19 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index 0e33c8533855e0..d5b62b3f32253f 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index f6506f6434d0e0..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index 0e33c8533855e0..d5b62b3f32253f 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index f6506f6434d0e0..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index fb2dd3958c2b88..7d29c3a5d9df11 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index 27a5b78364bcad..4fc2a32bf18207 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 039e6ea01fc242..98decb6cc951f1 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 346fafea85979a..03c232ac1803d5 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index fdce1a5a9fc19e..f969661e38df23 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index b2e22af270e77d..7bfcc36ffb3804 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -302,7 +302,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -328,7 +328,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -379,7 +379,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index 445898f6804c41..4e086ddca4e8ed 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index 36e4d58e0149d9..fb22277adb7ca5 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 69c76ec1b16c56..1bc45f589853d8 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -31,7 +31,7 @@ class TestList : public Command { public: - TestList() : Command("list") {}; + TestList() : Command("list"){}; CHIP_ERROR Run() override { printf("TestAccessControlCluster\n"); @@ -234,7 +234,7 @@ class TestList : public Command class ManualTestList : public Command { public: - ManualTestList() : Command("list-manual") {}; + ManualTestList() : Command("list-manual"){}; CHIP_ERROR Run() override { printf("Test_TC_DD_1_5\n"); @@ -576,9 +576,7 @@ class TestAccessControlClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -601,7 +599,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -613,21 +611,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -646,39 +644,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -697,39 +695,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -752,7 +750,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -779,7 +777,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -800,7 +798,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -821,7 +819,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -842,7 +840,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -863,7 +861,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -884,7 +882,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -905,7 +903,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -917,21 +915,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -950,39 +948,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -1001,39 +999,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -1056,7 +1054,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -1152,7 +1150,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1193,7 +1191,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1234,12 +1232,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 3); + listHolder_0->mList, 3); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1276,7 +1274,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1308,7 +1306,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1340,7 +1338,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1379,7 +1377,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1419,12 +1417,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1482,7 +1480,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1618,12 +1616,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 20); + 20); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1669,7 +1667,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1710,7 +1708,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1751,7 +1749,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; @@ -1792,12 +1790,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[3].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[3].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1823,7 +1821,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1877,9 +1875,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2052,9 +2048,7 @@ class Test_TC_BOOL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2135,9 +2129,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2282,9 +2274,7 @@ class Test_TC_CC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2461,9 +2451,7 @@ class Test_TC_CC_2_1Suite : public TestCommand uint32_t FeatureMapValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -3444,9 +3432,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -3702,7 +3688,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -3727,7 +3713,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -3781,7 +3767,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 290ms"); @@ -3835,7 +3821,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 290ms"); @@ -3889,7 +3875,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 290ms"); @@ -3936,7 +3922,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -3971,9 +3957,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4229,7 +4213,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4253,7 +4237,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 140ms"); @@ -4306,7 +4290,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 140ms"); @@ -4359,7 +4343,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 140ms"); @@ -4412,7 +4396,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 140ms"); @@ -4459,7 +4443,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -4494,9 +4478,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4606,7 +4588,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4631,7 +4613,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 25ms"); @@ -4659,7 +4641,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 25ms"); @@ -4680,7 +4662,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -4715,9 +4697,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4838,7 +4818,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4862,7 +4842,7 @@ class Test_TC_CC_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 6ms"); @@ -4909,7 +4889,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check on/off attribute value is false after off command"); @@ -4944,9 +4924,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5292,7 +5270,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5316,7 +5294,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -5369,7 +5347,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -5422,7 +5400,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 40ms"); @@ -5475,7 +5453,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 40ms"); @@ -5528,7 +5506,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Wait 40ms"); @@ -5581,7 +5559,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 40ms"); @@ -5628,7 +5606,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check on/off attribute value is false after off command"); @@ -5663,9 +5641,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5775,7 +5751,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5800,7 +5776,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -5828,7 +5804,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -5849,7 +5825,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -5884,9 +5860,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5999,7 +5973,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6030,7 +6004,7 @@ class Test_TC_CC_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 10ms"); @@ -6057,7 +6031,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6092,9 +6066,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6207,7 +6179,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6238,7 +6210,7 @@ class Test_TC_CC_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 20ms"); @@ -6265,7 +6237,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6300,9 +6272,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6438,7 +6408,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6468,7 +6438,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 150ms"); @@ -6499,7 +6469,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check current x attribute value matched the value sent by the last command"); @@ -6519,7 +6489,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Check on/off attribute value is false after off command"); @@ -6554,9 +6524,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6669,7 +6637,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6700,7 +6668,7 @@ class Test_TC_CC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 50ms"); @@ -6727,7 +6695,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6762,9 +6730,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6857,7 +6823,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6881,7 +6847,7 @@ class Test_TC_CC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -6902,7 +6868,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -6937,9 +6903,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -7201,7 +7165,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7227,7 +7191,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 90ms"); @@ -7282,7 +7246,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 190ms"); @@ -7337,7 +7301,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Stop Color Temperature command"); @@ -7353,7 +7317,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 90ms"); @@ -7408,7 +7372,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Stop Color Temperature command"); @@ -7424,7 +7388,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Wait 140ms"); @@ -7471,7 +7435,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Check on/off attribute value is false after off command"); @@ -7506,9 +7470,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -7674,7 +7636,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7701,7 +7663,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -7757,7 +7719,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -7804,7 +7766,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check on/off attribute value is false after off command"); @@ -7839,9 +7801,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8100,7 +8060,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8119,7 +8079,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8140,7 +8100,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 290ms"); @@ -8194,7 +8154,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Wait 290ms"); @@ -8248,7 +8208,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 290ms"); @@ -8302,7 +8262,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Wait 290ms"); @@ -8349,7 +8309,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Check on/off attribute value is false after off command"); @@ -8384,9 +8344,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8578,7 +8536,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8602,7 +8560,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -8655,7 +8613,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8675,7 +8633,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 40ms"); @@ -8728,7 +8686,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8742,7 +8700,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check on/off attribute value is false after off command"); @@ -8777,9 +8735,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8889,7 +8845,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8914,7 +8870,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -8942,7 +8898,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -8963,7 +8919,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -8998,9 +8954,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -9093,7 +9047,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9118,7 +9072,7 @@ class Test_TC_CC_7_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -9139,7 +9093,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -9174,9 +9128,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -9472,7 +9424,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9490,7 +9442,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads CurrentHue attribute from DUT"); @@ -9508,7 +9460,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Reads CurrentHue attribute from DUT"); @@ -9541,7 +9493,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check Saturation attribute value matched the value sent by the last command"); @@ -9559,7 +9511,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Reads CurrentSaturation attribute from DUT."); @@ -9592,7 +9544,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Reads CurrentX attribute from DUT"); @@ -9616,7 +9568,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Reads CurrentX attribute from DUT"); @@ -9663,7 +9615,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Reads current color temprature from DUT"); @@ -9681,7 +9633,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reads current color temprature from DUT"); @@ -9714,7 +9666,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9732,7 +9684,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9759,7 +9711,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Check on/off attribute value is false after off command"); @@ -9794,9 +9746,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10135,9 +10085,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10316,9 +10264,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10610,9 +10556,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10701,7 +10645,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the PacketRxCount attribute"); @@ -10762,9 +10706,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10966,9 +10908,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11093,9 +11033,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11274,9 +11212,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11458,9 +11394,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11611,9 +11545,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11633,8 +11565,8 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -11896,9 +11828,7 @@ class Test_TC_I_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12077,9 +12007,7 @@ class Test_TC_I_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12174,9 +12102,7 @@ class Test_TC_I_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12283,7 +12209,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH reads immediately IdentifyTime attribute from DUT1"); @@ -12325,7 +12251,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH reads immediately IdentifyTime attribute from DUT2"); @@ -12394,9 +12320,7 @@ class Test_TC_I_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12516,7 +12440,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "DUT executes a blink effect"); @@ -12540,7 +12464,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "DUT executes a breathe effect"); @@ -12564,7 +12488,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "DUT executes an okay effect"); @@ -12588,7 +12512,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "DUT executes a channel change effect"); @@ -12612,7 +12536,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "DUT executes a breathe effect"); @@ -12636,7 +12560,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "DUT stops the breathe effect after the current effect sequence"); @@ -12660,7 +12584,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "DUT executes a breathe effect"); @@ -12684,7 +12608,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "DUT stops the breathe effect as soon as possible."); @@ -12708,7 +12632,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Check DUT executes a blink effect."); @@ -12732,7 +12656,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "DUT stops any effect that may be still running as soon as possible"); @@ -12773,9 +12697,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12940,9 +12862,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13085,9 +13005,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13260,9 +13178,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand uint16_t MinFrequencyValue; uint16_t MaxFrequencyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13509,7 +13425,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 100ms"); @@ -13660,9 +13576,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand chip::app::DataModel::Nullable OffTransitionTimeValue; chip::app::DataModel::Nullable StartUpCurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13989,9 +13903,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14149,7 +14061,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait 100ms"); @@ -14174,7 +14086,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Wait 100 second"); @@ -14204,7 +14116,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 11000ms"); @@ -14234,7 +14146,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -14259,7 +14171,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 100ms"); @@ -14301,9 +14213,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand uint8_t MaxlevelValue; chip::app::DataModel::Nullable DefaultMoveRateValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14445,7 +14355,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "reads max level attribute from DUT"); @@ -14463,7 +14373,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, @@ -14499,7 +14409,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveWithOnOff::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, @@ -14542,7 +14452,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 100ms"); @@ -14574,7 +14484,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Wait 100ms"); @@ -14615,9 +14525,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentlevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14728,7 +14636,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads current level attribute from DUT"); @@ -14747,7 +14655,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Step::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 4000ms"); @@ -14771,7 +14679,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::StepWithOnOff::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 4000ms"); @@ -14796,7 +14704,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 100ms"); @@ -14837,9 +14745,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14968,7 +14874,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads CurrentLevel attribute from DUT"); @@ -14986,7 +14892,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 5000ms"); @@ -15004,7 +14910,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Physically verify that the device has stopped transitioning"); @@ -15032,7 +14938,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 5000ms"); @@ -15050,7 +14956,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Physically verify that the device has stopped transitioning"); @@ -15078,7 +14984,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 100ms"); @@ -15116,9 +15022,7 @@ class Test_TC_MC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15291,9 +15195,7 @@ class Test_TC_MC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15470,9 +15372,7 @@ class Test_TC_MC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15645,9 +15545,7 @@ class Test_TC_MC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15820,9 +15718,7 @@ class Test_TC_MC_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15984,9 +15880,7 @@ class Test_TC_MC_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16153,9 +16047,7 @@ class Test_TC_MC_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16321,9 +16213,7 @@ class Test_TC_MC_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16495,9 +16385,7 @@ class Test_TC_MC_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16707,9 +16595,7 @@ class Test_TC_MC_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16878,9 +16764,7 @@ class Test_TC_MC_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17046,9 +16930,7 @@ class Test_TC_MC_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17227,9 +17109,7 @@ class Test_TC_MC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17278,7 +17158,7 @@ class Test_TC_MC_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17309,9 +17189,7 @@ class Test_TC_MC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17372,7 +17250,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends CEC Home Keys(0x09) to DUT"); @@ -17383,7 +17261,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17414,9 +17292,7 @@ class Test_TC_MC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17526,7 +17402,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Numbers2"); @@ -17537,7 +17413,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Numbers3"); @@ -17548,7 +17424,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Numbers4"); @@ -17559,7 +17435,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send Numbers5"); @@ -17570,7 +17446,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Numbers6"); @@ -17581,7 +17457,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Numbers7"); @@ -17592,7 +17468,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Send Numbers8"); @@ -17603,7 +17479,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Send Numbers9"); @@ -17614,7 +17490,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17645,9 +17521,7 @@ class Test_TC_MC_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17730,9 +17604,7 @@ class Test_TC_MC_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17820,9 +17692,7 @@ class Test_TC_MC_3_7Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17891,7 +17761,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends a LaunchApp command to DUT to launch an app which is not available"); @@ -17907,7 +17777,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17942,9 +17812,7 @@ class Test_TC_MC_3_8Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18011,7 +17879,7 @@ class Test_TC_MC_3_8Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18051,9 +17919,7 @@ class Test_TC_MC_3_9Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18119,7 +17985,7 @@ class Test_TC_MC_3_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18155,9 +18021,7 @@ class Test_TC_MC_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18238,9 +18102,7 @@ class Test_TC_MC_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18312,7 +18174,7 @@ class Test_TC_MC_3_11Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Read current input list"); @@ -18349,9 +18211,7 @@ class Test_TC_MC_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18417,7 +18277,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Show Input Status Command"); @@ -18427,7 +18287,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -18458,9 +18318,7 @@ class Test_TC_MC_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18529,7 +18387,7 @@ class Test_TC_MC_3_13Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH reads the InputList attribute from the DUT to show list of Inputs available"); @@ -18570,9 +18428,7 @@ class Test_TC_MC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18659,9 +18515,7 @@ class Test_TC_MC_5_2Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18738,7 +18592,7 @@ class Test_TC_MC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the channel has changed on the device"); @@ -18746,7 +18600,7 @@ class Test_TC_MC_5_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18790,9 +18644,7 @@ class Test_TC_MC_5_3Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18883,7 +18735,7 @@ class Test_TC_MC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the channel has changed on the device"); @@ -18891,7 +18743,7 @@ class Test_TC_MC_5_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18931,9 +18783,7 @@ class Test_TC_MC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19055,7 +18905,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute"); @@ -19071,7 +18921,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19098,7 +18948,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is paused"); @@ -19124,7 +18974,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Verify that the media is stoped"); @@ -19172,9 +19022,7 @@ class Test_TC_MC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19332,7 +19180,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19348,7 +19196,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19375,7 +19223,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is started over"); @@ -19396,7 +19244,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that the next media item in the queue has been loaded"); @@ -19404,7 +19252,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); + "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19417,7 +19265,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that the previous media item in the queue has been loaded"); @@ -19425,7 +19273,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); + "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19439,7 +19287,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that the media has skipped forward 10 seconds"); @@ -19447,7 +19295,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); + "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19467,7 +19315,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Verify that the media has skipped backward 10 seconds"); @@ -19475,7 +19323,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); + "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19517,9 +19365,7 @@ class Test_TC_MC_6_3Suite : public TestCommand chip::Optional mSeekPosition; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19617,7 +19463,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Sends a Seek command"); @@ -19628,7 +19474,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the media has moved to 10 seconds from the starting point"); @@ -19636,7 +19482,7 @@ class Test_TC_MC_6_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); + "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19696,7 +19542,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -19727,9 +19573,7 @@ class Test_TC_MC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19895,7 +19739,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19917,7 +19761,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Reads the CurrentState attribute"); @@ -19939,7 +19783,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19955,7 +19799,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Reads the CurrentState attribute"); @@ -19982,7 +19826,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Reads the PlaybackSpeed attribute from the DUT"); @@ -20003,7 +19847,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Reads the PlaybackSpeed attribute from the DUT"); @@ -20060,9 +19904,7 @@ class Test_TC_MC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20134,7 +19976,7 @@ class Test_TC_MC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads the CurrentOutput attribute"); @@ -20173,9 +20015,7 @@ class Test_TC_MC_7_2Suite : public TestCommand chip::app::DataModel::DecodableList audioOutputListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20245,7 +20085,7 @@ class Test_TC_MC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, @@ -20294,9 +20134,7 @@ class Test_TC_MC_8_1Suite : public TestCommand chip::app::DataModel::DecodableList TargetListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20387,7 +20225,7 @@ class Test_TC_MC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads the CurrentTarget attribute"); @@ -20424,9 +20262,7 @@ class Test_TC_MC_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20609,9 +20445,7 @@ class Test_TC_MC_10_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20706,9 +20540,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20880,9 +20712,7 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20926,8 +20756,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20942,8 +20772,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21010,11 +20840,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -21022,7 +20852,7 @@ class Test_TC_MF_1_3Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21121,9 +20951,7 @@ class Test_TC_MF_1_4Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21166,8 +20994,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21182,8 +21010,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21249,7 +21077,7 @@ class Test_TC_MF_1_4Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21361,9 +21189,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::Optional mDownloadImageFilePath; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21516,12 +21342,12 @@ class OTA_SuccessfulTransferSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -21538,7 +21364,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::Start::Type value; value.otaDownloadPath.Emplace(); value.otaDownloadPath.Value() = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return Start(kIdentityAlpha, value); } case 7: { @@ -21559,7 +21385,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OtaSoftwareUpdateRequestor::Id, OtaSoftwareUpdateRequestor::Commands::AnnounceOtaProvider::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Wait for transfer complete message"); @@ -21576,7 +21402,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::CompareFiles::Type value; value.file1 = mRawImageFilePath.HasValue() ? mRawImageFilePath.Value() : chip::Span("/tmp/rawImage", 13); value.file2 = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return CompareFiles(kIdentityAlpha, value); } } @@ -21608,9 +21434,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21774,9 +21598,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22036,9 +21858,7 @@ class Test_TC_OO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22233,9 +22053,7 @@ class Test_TC_OO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22382,9 +22200,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22548,7 +22364,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is false after off command"); @@ -22560,7 +22376,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check on/off attribute value is true after on command"); @@ -22572,7 +22388,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check on/off attribute value is true after on command"); @@ -22584,7 +22400,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -22596,7 +22412,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -22608,7 +22424,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 1000ms"); @@ -22627,7 +22443,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -22676,7 +22492,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Check on/off attribute value is false after off command"); @@ -22711,9 +22527,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22895,7 +22709,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH writes a value of 0 to StartUpOnOff attribute of DUT"); @@ -23083,7 +22897,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reboot target device"); @@ -23143,9 +22957,7 @@ class Test_TC_PS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -23313,9 +23125,7 @@ class Test_TC_PS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -23833,9 +23643,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24001,9 +23809,7 @@ class Test_TC_PRS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24214,9 +24020,7 @@ class Test_TC_PCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24384,9 +24188,7 @@ class Test_TC_PCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24885,9 +24687,7 @@ class Test_TC_PCC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25035,9 +24835,7 @@ class Test_TC_PCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25293,9 +25091,7 @@ class Test_TC_PCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25536,9 +25332,7 @@ class Test_TC_PSCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25697,9 +25491,7 @@ class Test_TC_RH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25864,9 +25656,7 @@ class Test_TC_RH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26015,9 +25805,7 @@ class Test_TC_SC_4_2Suite : public TestCommand char * deviceInstanceNameBeforeReboot1Buffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot1; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26524,7 +26312,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check Instance Name"); @@ -26688,7 +26476,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Instance Name"); @@ -26828,8 +26616,8 @@ class Test_TC_SC_4_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", - 76); + "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", + 76); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -26873,9 +26661,7 @@ class Test_TC_SWTCH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26988,9 +26774,7 @@ class Test_TC_TM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27152,9 +26936,7 @@ class Test_TC_TM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27283,9 +27065,7 @@ class Test_TC_TSTAT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27446,9 +27226,7 @@ class Test_TC_TSTAT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -28308,9 +28086,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29441,7 +29217,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29461,7 +29237,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29491,7 +29267,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29521,7 +29297,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29551,7 +29327,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29587,7 +29363,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29632,9 +29408,7 @@ class Test_TC_TSUIC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29801,9 +29575,7 @@ class Test_TC_TSUIC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29920,9 +29692,7 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -30486,9 +30256,7 @@ class Test_TC_DIAG_TH_NW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -31454,9 +31222,7 @@ class Test_TC_DIAG_TH_NW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -31745,9 +31511,7 @@ class Test_TC_DIAG_TH_NW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32037,9 +31801,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32095,7 +31857,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the Overruncount attribute"); @@ -32131,9 +31893,7 @@ class Test_TC_ULABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32306,9 +32066,7 @@ class Test_TC_ULABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32439,9 +32197,7 @@ class Test_TC_ULABEL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32554,9 +32310,7 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32703,9 +32457,7 @@ class Test_TC_ULABEL_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32785,9 +32537,7 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32807,8 +32557,8 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -33036,9 +32786,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33135,7 +32883,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads BeaconLostCount attribute from DUT"); @@ -33202,9 +32950,7 @@ class Test_TC_WNCV_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33377,9 +33123,7 @@ class Test_TC_WNCV_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33810,9 +33554,7 @@ class Test_TC_WNCV_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33914,9 +33656,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand chip::BitMask configStatusValA; chip::BitMask configStatusValB; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34102,7 +33842,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "2d: TH clear the Mode Attribute bit1 of the DUT"); @@ -34133,7 +33873,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "3a: TH set the Mode Attribute bit2 of the DUT"); @@ -34152,7 +33892,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "3c: TH reads ConfigStatus attribute from DUT"); @@ -34177,7 +33917,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "3f: TH reads ConfigStatus attribute from DUT"); @@ -34214,9 +33954,7 @@ class Test_TC_WNCV_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34297,9 +34035,7 @@ class Test_TC_WNCV_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34382,9 +34118,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34608,7 +34342,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34655,7 +34389,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34727,7 +34461,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34790,9 +34524,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35016,7 +34748,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -35063,7 +34795,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -35135,7 +34867,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35201,9 +34933,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLift; chip::app::DataModel::Nullable attrCurrentPositionTilt; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35353,7 +35083,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 6-8 seconds movement(s) on the device"); @@ -35370,7 +35100,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "1d: TH Waits for 2 seconds movement(s) on the device"); @@ -35393,7 +35123,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35483,9 +35213,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35589,7 +35317,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35606,7 +35334,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35678,9 +35406,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35784,7 +35510,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35801,7 +35527,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35871,9 +35597,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36026,7 +35750,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36050,7 +35774,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36099,7 +35823,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36170,9 +35894,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36325,7 +36047,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36349,7 +36071,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36398,7 +36120,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36469,9 +36191,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36565,7 +36285,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToLiftPercentage command with 10001 to DUT"); @@ -36577,7 +36297,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToLiftPercentage command with 0xFFFF to DUT"); @@ -36589,7 +36309,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36622,9 +36342,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36718,7 +36436,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToTiltPercentage command with 10001 to DUT"); @@ -36730,7 +36448,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToTiltPercentage command with 0xFFFF to DUT"); @@ -36742,7 +36460,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36776,9 +36494,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36920,7 +36636,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1a: If (PA_LF & LF) TH sends GoToLiftPercentage command with 90%% to DUT"); @@ -36931,7 +36647,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "1b: TH Waits for 100ms-1s"); @@ -36948,7 +36664,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "1d: TH Waits for 100ms-1s"); @@ -36966,7 +36682,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH Waits for 100ms-1s"); @@ -36983,7 +36699,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2d: TH Waits for 100ms-1s"); @@ -37071,9 +36787,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37169,7 +36883,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37201,9 +36915,7 @@ class TV_AudioOutputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37320,7 +37032,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Rename Output Command"); @@ -37331,7 +37043,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read attribute Audio Output list"); @@ -37368,9 +37080,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37405,7 +37115,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueNull("currentApp", value)); } @@ -37485,7 +37195,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Stop App Command"); @@ -37498,7 +37208,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Hide App Command"); @@ -37511,7 +37221,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37543,9 +37253,7 @@ class TV_KeypadInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37599,7 +37307,7 @@ class TV_KeypadInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37631,9 +37339,7 @@ class TV_AccountLoginClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37693,7 +37399,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::GetSetupPIN::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Login Command"); @@ -37704,7 +37410,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Login::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Logout Command"); @@ -37713,7 +37419,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Logout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37745,9 +37451,7 @@ class TV_WakeOnLanClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37828,9 +37532,7 @@ class TV_ApplicationBasicClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38011,9 +37713,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38310,7 +38010,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Media Playback Pause Command"); @@ -38319,7 +38019,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Media Playback Stop Command"); @@ -38328,7 +38028,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Media Playback Start Over Command"); @@ -38337,7 +38037,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Media Playback Previous Command"); @@ -38346,7 +38046,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Media Playback Next Command"); @@ -38355,7 +38055,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Media Playback Rewind Command"); @@ -38364,7 +38064,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Media Playback Fast Forward Command"); @@ -38373,7 +38073,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Media Playback Skip Forward Command"); @@ -38383,7 +38083,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read attribute position after skip forward"); @@ -38398,7 +38098,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read attribute position after skip backward"); @@ -38413,7 +38113,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read attribute position after seek"); @@ -38449,9 +38149,7 @@ class TV_ChannelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38624,7 +38322,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannel::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Change Channel By Number Command"); @@ -38635,7 +38333,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Skip Channel Command"); @@ -38645,7 +38343,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38676,9 +38374,7 @@ class TV_LowPowerClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38726,7 +38422,7 @@ class TV_LowPowerClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38758,9 +38454,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38880,7 +38574,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand value.search.parameterList = chip::app::DataModel::List(listHolder_1->mList, - 1); + 1); } value.autoPlay = true; @@ -38889,7 +38583,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchContent::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Launch URL Command"); @@ -38980,7 +38674,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchURL::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -39012,9 +38706,7 @@ class TV_MediaInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -39136,7 +38828,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Hide Input Status Command"); @@ -39145,7 +38837,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Show Input Status Command"); @@ -39154,7 +38846,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Rename Input Command"); @@ -39165,7 +38857,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read attribute media input list"); @@ -39221,9 +38913,7 @@ class TestClusterSuite : public TestCommand char * nullableCharStringSaveBuffer = nullptr; chip::app::DataModel::Nullable nullableCharStringSave; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -39950,13 +39640,13 @@ class TestClusterSuite : public TestCommand chip::ByteSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longOctetString", value, - chip::ByteSpan( - chip::Uint8::from_const_char( - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), - 300))); + "longOctetString", value, + chip::ByteSpan( + chip::Uint8::from_const_char( + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), + 300))); } break; case 122: @@ -40012,12 +39702,12 @@ class TestClusterSuite : public TestCommand chip::CharSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longCharString", value, - chip::CharSpan( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", - 900))); + "longCharString", value, + chip::CharSpan( + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", + 900))); } break; case 132: @@ -40032,48 +39722,48 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 4)); } } @@ -40090,59 +39780,59 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 4)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[4]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[4]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 5)); } } @@ -40471,7 +40161,7 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40525,8 +40215,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40549,8 +40239,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40565,15 +40255,15 @@ class TestClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().nullableList.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[0]", iter_3.GetValue(), 1U)); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[1]", iter_3.GetValue(), 2U)); VerifyOrReturn(CheckNoMoreListItems( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); } VerifyOrReturn(CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); } @@ -42557,7 +42247,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Not Handled Command"); @@ -42566,7 +42256,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNotHandled::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Specific Command"); @@ -42575,7 +42265,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSpecific::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Test Add Arguments Command"); @@ -42586,7 +42276,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send failing Test Add Arguments Command"); @@ -42597,7 +42287,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read attribute BOOLEAN Default Value"); @@ -43318,11 +43008,11 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::ByteSpan value; value = chip::ByteSpan( - chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111garbage: not in length on purpose"), - 300); + chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111garbage: not in length on purpose"), + 300); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongOctetString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43388,10 +43078,10 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::CharSpan value; value = chip::Span( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", - 900); + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", + 900); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongCharString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43422,50 +43112,50 @@ class TestClusterSuite : public TestCommand auto * listHolder_0 = new ListHolder(5); listFreer.add(listHolder_0); listHolder_0->mList[0] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[1] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[2] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[3] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[4] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); value = chip::app::DataModel::List(listHolder_0->mList, 5); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListLongOctetString::Id, @@ -43558,7 +43248,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(200), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 149: { LogStep(149, "Send Test Command to unsupported cluster"); @@ -43567,7 +43257,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 150: { LogStep(150, "Read attribute vendor_id Default Value"); @@ -43604,7 +43294,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEnumsRequest::Id, value, chip::NullOptional - ); + ); } case 155: { LogStep(155, "Send Test Command With Struct Argument and arg1.b is true"); @@ -43623,7 +43313,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 156: { LogStep(156, "Send Test Command With Struct Argument and arg1.b is false"); @@ -43642,7 +43332,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 157: { LogStep(157, "Send Test Command With Nested Struct Argument and arg1.c.b is true"); @@ -43664,7 +43354,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 158: { LogStep(158, "Send Test Command With Nested Struct Argument arg1.c.b is false"); @@ -43686,7 +43376,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 159: { LogStep(159, "Send Test Command With Nested Struct List Argument and all fields b of arg1.d are true"); @@ -43730,7 +43420,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43765,7 +43455,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 160: { LogStep(160, "Send Test Command With Nested Struct List Argument and some fields b of arg1.d are false"); @@ -43809,7 +43499,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43844,7 +43534,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 161: { LogStep(161, "Send Test Command With Struct Argument and see what we get back"); @@ -43863,7 +43553,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::SimpleStructEchoRequest::Id, value, chip::NullOptional - ); + ); } case 162: { LogStep(162, "Send Test Command With List of INT8U and none of them is set to 0"); @@ -43887,7 +43577,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 163: { LogStep(163, "Send Test Command With List of INT8U and one of them is set to 0"); @@ -43912,7 +43602,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 164: { LogStep(164, "Send Test Command With List of INT8U and get it reversed"); @@ -43936,7 +43626,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 165: { LogStep(165, "Send Test Command With empty List of INT8U and get an empty list back"); @@ -43947,7 +43637,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 166: { LogStep(166, "Send Test Command With List of Struct Argument and arg1.b of first item is true"); @@ -43979,12 +43669,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 167: { LogStep(167, "Send Test Command With List of Struct Argument and arg1.b of first item is false"); @@ -44016,12 +43706,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 168: { LogStep(168, @@ -44105,12 +43795,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 169: { LogStep(169, "Send Test Command With Nested Struct List Argument and some fields b of elements of arg1.d are false"); @@ -44193,12 +43883,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 170: { LogStep(170, "Write attribute LIST With List of INT8U and none of them is set to 0"); @@ -44270,7 +43960,7 @@ class TestClusterSuite : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListStructOctetString::Id, value, chip::NullOptional, @@ -44291,7 +43981,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 177: { LogStep(177, "Send Test Command without its optional arg."); @@ -44300,7 +43990,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 178: { LogStep(178, "Read list of structs containing nullables and optionals"); @@ -44332,7 +44022,7 @@ class TestClusterSuite : public TestCommand } value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListNullablesAndOptionalsStruct::Id, value, chip::NullOptional, @@ -45597,7 +45287,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 373: { LogStep(373, "Send a command that takes an optional parameter but do not set it."); @@ -45608,7 +45298,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 374: { LogStep(374, "Subscribe to list attribute"); @@ -46498,9 +46188,7 @@ class TestClusterComplexTypesSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -46653,7 +46341,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send command that needs timed invoke without a timeout value"); @@ -46662,7 +46350,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::NullOptional, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send command that needs timed invoke with a long timeout value"); @@ -46671,7 +46359,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send command that needs timed invoke with a too-short timeout value"); @@ -46681,7 +46369,7 @@ class TestClusterComplexTypesSuite : public TestCommand TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46693,7 +46381,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send command that does not need timed invoke with a too-short timeout value"); @@ -46702,7 +46390,7 @@ class TestClusterComplexTypesSuite : public TestCommand ReturnErrorOnFailure(SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46835,9 +46523,7 @@ class TestConstraintsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47223,9 +46909,7 @@ class TestDelayCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47305,9 +46989,7 @@ class TestEventsSuite : public TestCommand uint64_t eventNumber; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47534,7 +47216,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read the event back"); @@ -47564,7 +47246,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read the event back"); @@ -47588,7 +47270,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check for event report"); @@ -47640,9 +47322,7 @@ class TestDiscoverySuite : public TestCommand char * deviceInstanceNameBeforeRebootBuffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47927,7 +47607,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Open Commissioning Window with too-long timeout"); @@ -47938,7 +47618,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Open Commissioning Window"); @@ -47949,7 +47629,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check Instance Name"); @@ -48089,7 +47769,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Check Instance Name"); @@ -48126,9 +47806,7 @@ class TestLogCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -48267,9 +47945,7 @@ class TestSaveAsSuite : public TestCommand uint8_t * readAttributeOctetStringNotDefaultValueBuffer = nullptr; chip::ByteSpan readAttributeOctetStringNotDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -49055,7 +48731,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49066,7 +48742,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Add Arguments Command"); @@ -49077,7 +48753,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read attribute BOOLEAN Default Value"); @@ -49771,9 +49447,7 @@ class TestConfigVariablesSuite : public TestCommand uint8_t TestAddArgumentDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -49839,7 +49513,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49850,7 +49524,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -49882,9 +49556,7 @@ class TestDescriptorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50077,9 +49749,7 @@ class TestBasicInformationSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50408,9 +50078,7 @@ class TestGeneralCommissioningSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50711,7 +50379,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check Breadcrumb was not touched by invalid CommissioningComplete"); @@ -50727,7 +50395,7 @@ class TestGeneralCommissioningSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Try to arm fail-safe"); @@ -50738,7 +50406,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Check Breadcrumb was not touched by ArmFailSafe with commissioning window open"); @@ -50777,7 +50445,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check Breadcrumb was properly set by ArmFailSafe"); @@ -50793,7 +50461,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check Breadcrumb was not touched by ArmFailSafe with existing fail-safe armed"); @@ -50807,7 +50475,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check Breadcrumb was not touched by CommissioningComplete from wrong fabric"); @@ -50821,7 +50489,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Check Breadcrumb was reset to 0 by CommissioningComplete"); @@ -50837,7 +50505,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Breadcrumb was set by arming fail-safe again"); @@ -50853,7 +50521,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check Breadcrumb was reset by expiring the fail-safe"); @@ -50895,9 +50563,7 @@ class TestIdentifyClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50946,7 +50612,7 @@ class TestIdentifyClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -50980,9 +50646,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51038,8 +50702,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51065,8 +50729,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51122,7 +50786,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read fabric list before setting label"); @@ -51137,7 +50801,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateFabricLabel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read fabric list after setting label"); @@ -51177,9 +50841,7 @@ class TestModeSelectClusterSuite : public TestCommand uint8_t currentModeBeforeToggle; chip::app::DataModel::Nullable OnModeValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51216,7 +50878,7 @@ class TestModeSelectClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51227,9 +50889,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[0].semanticTags", iter_2, 0)); + "supportedModes[0].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[0].semanticTags", iter_2, 1)); + "supportedModes[0].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 1)); VerifyOrReturn( @@ -51238,9 +50900,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[1].semanticTags", iter_2, 0)); + "supportedModes[1].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[1].semanticTags", iter_2, 1)); + "supportedModes[1].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 2)); VerifyOrReturn( @@ -51249,9 +50911,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[2].semanticTags", iter_2, 0)); + "supportedModes[2].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[2].semanticTags", iter_2, 1)); + "supportedModes[2].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter_0, 3)); } @@ -51462,7 +51124,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Verify Current Mode Change"); @@ -51477,7 +51139,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Toggle OnOff"); @@ -51485,7 +51147,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Toggle OnOff"); @@ -51493,7 +51155,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Verify Current Mode does not change when OnMode is null"); @@ -51529,7 +51191,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Toggle OnOff"); @@ -51537,7 +51199,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Verify Current Mode Changes if OnMode is not null"); @@ -51575,7 +51237,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Change On Mode"); @@ -51671,9 +51333,7 @@ class TestSelfFabricRemovalSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51755,7 +51415,7 @@ class TestSelfFabricRemovalSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -51788,9 +51448,7 @@ class TestSystemCommandsSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52116,9 +51774,7 @@ class TestBindingSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52394,9 +52050,7 @@ class TestUserLabelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52571,9 +52225,7 @@ class TestArmFailSafeSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52597,8 +52249,8 @@ class TestArmFailSafeSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52679,7 +52331,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads NodeLabel mandatory attribute of target device"); @@ -52694,7 +52346,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddTrustedRootCertificate::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Invoke AddNOC without fail-safe"); @@ -52702,15 +52354,15 @@ class TestArmFailSafeSuite : public TestCommand chip::app::Clusters::OperationalCredentials::Commands::AddNOC::Type value; value.NOCValue = chip::ByteSpan(chip::Uint8::from_const_char("00112233garbage: not in length on purpose"), 8); value.IPKValue = chip::ByteSpan( - chip::Uint8::from_const_char( - "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 16); value.caseAdminSubject = 1234ULL; value.adminVendorId = static_cast(65521); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddNOC::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Invoke UpdateNOC without fail-safe"); @@ -52720,20 +52372,20 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateNOC::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Invoke CSRRequest without fail-safe"); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::Type value; value.CSRNonce = chip::ByteSpan( - chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" - "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 32); + chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" + "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 32); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::CSRRequest::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -52764,9 +52416,7 @@ class TestFanControlSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53157,9 +52807,7 @@ class TestMultiAdminSuite : public TestCommand char * readFromAlphaBuffer = nullptr; chip::CharSpan readFromAlpha; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53200,8 +52848,8 @@ class TestMultiAdminSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -53318,7 +52966,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from alpha again"); @@ -53341,7 +52989,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Open Commissioning Window from alpha again"); @@ -53352,7 +53000,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Commission from beta"); @@ -53378,7 +53026,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "Commission from gamma"); @@ -53450,9 +53098,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53472,7 +53118,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53576,9 +53222,7 @@ class Test_TC_DGSW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53650,9 +53294,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53675,7 +53317,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53726,7 +53368,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Commands::ResetWatermarks::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads a list of ThreadMetrics struct attribute from DUT."); @@ -53776,9 +53418,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53857,7 +53497,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Subscribe OnOff Attribute"); @@ -53870,7 +53510,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check for attribute report"); @@ -53882,7 +53522,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check for attribute report"); @@ -53922,9 +53562,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand uint16_t NumberOfPINUsersSupported; uint16_t NumberOfRFIDUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -55689,7 +55327,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users and verify default value"); @@ -55704,7 +55342,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read fails for user with index greater than Number Of Users Supported"); @@ -55714,7 +55352,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Create new user with default parameters"); @@ -55730,7 +55368,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read the user back and verify its fields"); @@ -55740,7 +55378,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Set user at the occupied index fails with appropriate response"); @@ -55756,7 +55394,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Modify userName for existing user"); @@ -55773,7 +55411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Read the modified user back and verify its fields"); @@ -55783,7 +55421,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Modify userUniqueId for existing user"); @@ -55800,7 +55438,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read the modified user back and verify its fields"); @@ -55810,7 +55448,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Modify userStatus for existing user"); @@ -55827,7 +55465,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Read the modified user back and verify its fields"); @@ -55837,7 +55475,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Modify userType for existing user"); @@ -55854,7 +55492,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Read the modified user back and verify its fields"); @@ -55864,7 +55502,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Modify credentialRule for existing user"); @@ -55881,7 +55519,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read the modified user back and verify its fields"); @@ -55891,7 +55529,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Modify all fields for existing user"); @@ -55912,7 +55550,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read the modified user back and verify its fields"); @@ -55922,7 +55560,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Add another user with non-default fields"); @@ -55943,7 +55581,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read the new user back and verify its fields"); @@ -55953,7 +55591,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Create user in the last slot"); @@ -55970,7 +55608,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 23: { LogStep(23, "Read the last user back and verify its fields"); @@ -55980,7 +55618,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "User creation in the 0 slot fails"); @@ -55996,7 +55634,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 25: { LogStep(25, "User creation in the out-of-bounds slot fails"); @@ -56012,7 +55650,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Clear first user"); @@ -56022,7 +55660,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Read cleared user and verify it is available"); @@ -56032,7 +55670,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create new user in the cleared slot"); @@ -56048,7 +55686,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 29: { LogStep(29, "Read the user in the previously cleared slot and verify its fields"); @@ -56058,7 +55696,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Clear user with index 0 fails"); @@ -56068,7 +55706,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 31: { LogStep(31, "Clear user with out-of-bounds index fails"); @@ -56078,7 +55716,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 32: { LogStep(32, "Clear all users"); @@ -56088,7 +55726,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 33: { LogStep(33, "Read first cleared user and verify it is available"); @@ -56098,7 +55736,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Read last cleared user and verify it is available"); @@ -56108,7 +55746,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get number of supported PIN credentials and verify default value"); @@ -56126,7 +55764,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Reading PIN credential with index 0 fails"); @@ -56139,7 +55777,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Reading PIN credential with out-of-bounds index fails"); @@ -56152,7 +55790,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create new PIN credential and user"); @@ -56170,7 +55808,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 40: { LogStep(40, "Verify created user"); @@ -56180,7 +55818,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Verify created PIN credential"); @@ -56193,7 +55831,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Create new PIN credential and user with index 0 fails"); @@ -56211,7 +55849,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 43: { LogStep(43, "Create new PIN credential and user with out-of-bounds index fails"); @@ -56229,7 +55867,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get number of supported RFID credentials and verify default value"); @@ -56247,7 +55885,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Reading RFID credential with out-of-bounds index fails"); @@ -56260,7 +55898,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check that RFID credential does not exist"); @@ -56273,7 +55911,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Create new RFID credential and add it to existing user"); @@ -56293,7 +55931,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 49: { LogStep(49, "Verify modified user"); @@ -56303,7 +55941,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created credential"); @@ -56316,7 +55954,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Create new RFID credential and user with index 0 fails"); @@ -56335,7 +55973,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 52: { LogStep(52, "Create new RFID credential and user with out-of-bounds index fails"); @@ -56354,7 +55992,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 53: { LogStep(53, "Create new credential and try to add it to 0 user"); @@ -56373,7 +56011,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 54: { LogStep(54, "Create new credential and try to add it to out-of-bounds user"); @@ -56392,7 +56030,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 55: { LogStep(55, "Create new PIN with too short data"); @@ -56411,7 +56049,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 56: { LogStep(56, "Create new PIN with too long data"); @@ -56430,7 +56068,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 57: { LogStep(57, "Create new RFID with too short data"); @@ -56449,7 +56087,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 58: { LogStep(58, "Create new PIN with Programming user type fails"); @@ -56469,7 +56107,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 59: { LogStep(59, "Create new RFID with too short data"); @@ -56481,7 +56119,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand value.credential.credentialIndex = 3U; value.credentialData = chip::ByteSpan( - chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); + chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); value.userIndex.SetNonNull(); value.userIndex.Value() = 0U; value.userStatus.SetNull(); @@ -56489,7 +56127,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 60: { LogStep(60, "Create new PIN credential with data the would cause duplicate"); @@ -56507,7 +56145,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 61: { LogStep(61, "Create new RFID credential with data the would cause duplicate"); @@ -56526,7 +56164,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 62: { LogStep(62, "Modify credentialData of existing PIN credential"); @@ -56545,7 +56183,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 63: { LogStep(63, "Verify that credential was changed by creating new credential with old data"); @@ -56563,7 +56201,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 64: { LogStep(64, "Verify that credential was changed by creating new credential with new data"); @@ -56581,7 +56219,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 65: { LogStep(65, "Create new RFID credential and add it to existing user"); @@ -56601,7 +56239,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 66: { LogStep(66, "Verify modified user"); @@ -56611,7 +56249,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Create new RFID credential and add it to existing user"); @@ -56630,7 +56268,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 68: { LogStep(68, "Verify modified user"); @@ -56640,7 +56278,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Clear first PIN credential"); @@ -56654,7 +56292,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 70: { LogStep(70, "Read back the credential and make sure it is deleted"); @@ -56667,7 +56305,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Read the user back and make sure PIN credential is deleted"); @@ -56677,7 +56315,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Clear the second PIN credential"); @@ -56691,7 +56329,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 73: { LogStep(73, "Read back the credential and make sure it is deleted"); @@ -56704,7 +56342,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Read the user back and make sure related user is deleted"); @@ -56714,7 +56352,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Create new RFID credential with user"); @@ -56733,7 +56371,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 76: { LogStep(76, "Clear all the RFID credentials"); @@ -56747,7 +56385,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 77: { LogStep(77, "Read back the fist RFID credential and make sure it is deleted"); @@ -56760,7 +56398,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Read back the second RFID credential and make sure it is deleted"); @@ -56773,7 +56411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Read back the third RFID credential and make sure it is deleted"); @@ -56786,7 +56424,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Read the user related with first RFID back and make sure it has only PIN credential"); @@ -56796,7 +56434,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Read the user related with second RFID back and make sure it is deleted"); @@ -56806,7 +56444,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Create new PIN credential with user"); @@ -56824,7 +56462,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 83: { LogStep(83, "Create new RFID credential with user"); @@ -56843,7 +56481,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 84: { LogStep(84, "Create another RFID credential with user"); @@ -56862,7 +56500,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 85: { LogStep(85, "Clear all the credentials"); @@ -56872,7 +56510,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 86: { LogStep(86, "Read back the first PIN credential and make sure it is deleted"); @@ -56885,7 +56523,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Read back the first RFID credential and make sure it is deleted"); @@ -56898,7 +56536,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Read back the second PIN credential and make sure it is deleted"); @@ -56911,7 +56549,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Read the user related with first PIN back and make sure it is deleted"); @@ -56921,7 +56559,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Read the user related with first RFID back and make sure it is deleted"); @@ -56931,7 +56569,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Read the user related with second PIN back and make sure it is deleted"); @@ -56941,7 +56579,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Read the user related with last RFID back and make sure it is deleted"); @@ -56951,7 +56589,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new Programming PIN credential with invalid index"); @@ -56969,7 +56607,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create new Programming PIN credential with valid index"); @@ -56987,7 +56625,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created user"); @@ -56997,7 +56635,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Verify created programming PIN credential"); @@ -57010,7 +56648,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Modify the Programming PIN credential"); @@ -57028,7 +56666,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 98: { LogStep(98, "Clearing Programming PIN fails"); @@ -57042,7 +56680,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 99: { LogStep(99, "Clearing Programming PIN with invalid index fails"); @@ -57056,7 +56694,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 100: { LogStep(100, "Clearing PIN credential with zero index fails"); @@ -57070,7 +56708,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 101: { LogStep(101, "Clearing PIN credential with out-of-bound index fails"); @@ -57084,7 +56722,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 102: { LogStep(102, "Clearing RFID credential with zero index fails"); @@ -57098,7 +56736,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Clearing RFID credential with out-of-bound index fails"); @@ -57112,7 +56750,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 104: { LogStep(104, "Clear the Programming PIN user"); @@ -57122,7 +56760,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure Programming PIN user is deleted"); @@ -57132,7 +56770,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure programming PIN credential is deleted"); @@ -57145,7 +56783,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Create new PIN credential and user"); @@ -57163,7 +56801,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 108: { LogStep(108, "Create second PIN credential and add it to existing user"); @@ -57182,7 +56820,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create third PIN credential and add it to existing user"); @@ -57201,7 +56839,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 110: { LogStep(110, "Create fourth PIN credential and add it to existing user"); @@ -57220,7 +56858,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create fifth PIN credential and add it to existing user"); @@ -57239,7 +56877,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Try to create sixth PIN credential and make sure it fails"); @@ -57258,7 +56896,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 113: { LogStep(113, "Final clean-up"); @@ -57268,7 +56906,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57299,9 +56937,7 @@ class DL_LockUnlockSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -57444,7 +57080,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Verify that lock state attribute value is set to Unlocked"); @@ -57458,7 +57094,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that lock state attribute value is set to Locked"); @@ -57481,7 +57117,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Try to unlock the door with invalid PIN"); @@ -57492,7 +57128,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that lock state attribute value is set to Locked"); @@ -57508,7 +57144,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that lock state attribute value is set to Unlocked"); @@ -57524,7 +57160,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that lock state attribute value is set to Unlocked"); @@ -57540,7 +57176,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that lock state attribute value is set to Locked"); @@ -57562,7 +57198,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "Set OperatingMode to Normal"); @@ -57584,7 +57220,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57620,9 +57256,7 @@ class DL_SchedulesSuite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint8_t NumberOfHolidaySchedulesSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -58933,7 +58567,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users"); @@ -58969,7 +58603,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Create Week Day schedule with out-of-bounds index"); @@ -58985,7 +58619,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Create Week Day schedule with 0 user index"); @@ -59001,7 +58635,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Create Week Day schedule with out-of-bounds user index"); @@ -59017,7 +58651,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Create Week Day schedule for non-existing user"); @@ -59033,7 +58667,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Create Week Day schedule with 0 days mask"); @@ -59049,7 +58683,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Create Week Day schedule for Sunday and Monday"); @@ -59065,7 +58699,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Create Week Day schedule for Sunday Wednesday and Saturday"); @@ -59081,7 +58715,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Create Week Day schedule with invalid start hour"); @@ -59097,7 +58731,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Create Week Day schedule with invalid start minute"); @@ -59113,7 +58747,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Create Week Day schedule with invalid end hour"); @@ -59129,7 +58763,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Create Week Day schedule with invalid end minute"); @@ -59145,7 +58779,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Create Week Day schedule with start hour later that end hour"); @@ -59161,7 +58795,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Create Week Day schedule with start minute later that end minute when hours are equal"); @@ -59177,7 +58811,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Make sure that previous operations did not create a schedule"); @@ -59188,7 +58822,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Get Week Day schedule with 0 index"); @@ -59199,7 +58833,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Get Week Day schedule with out-of-bounds index"); @@ -59210,7 +58844,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Get Week Day schedule with 0 user index"); @@ -59221,7 +58855,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Get Week Day schedule with out-of-bounds user index"); @@ -59232,7 +58866,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Get Week Day schedule with non-existing user index"); @@ -59243,7 +58877,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Create Year Day schedule with 0 index"); @@ -59256,7 +58890,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Create Year Day schedule with out-of-bounds index"); @@ -59269,7 +58903,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create Year Day schedule with 0 user index"); @@ -59282,7 +58916,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Create Year Day schedule with out-of-bounds user index"); @@ -59295,7 +58929,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Create Year Day schedule for non-existing user"); @@ -59308,7 +58942,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Create Year Day schedule with start hour later that end hour"); @@ -59321,7 +58955,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 32: { LogStep(32, "Make sure that previous operations did not create a schedule"); @@ -59332,7 +58966,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Get Year Day schedule with 0 index"); @@ -59343,7 +58977,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Get Year Day schedule with out-of-bounds index"); @@ -59354,7 +58988,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get Year Day schedule with 0 user index"); @@ -59365,7 +58999,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Get Year Day schedule with out-of-bounds user index"); @@ -59376,7 +59010,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Get Year Day schedule with non-existing user index"); @@ -59387,7 +59021,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Create Holiday schedule with 0 index"); @@ -59400,7 +59034,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create Holiday schedule with out-of-bounds index"); @@ -59413,7 +59047,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Create Holiday schedule with start hour later that end hour"); @@ -59426,7 +59060,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Create Holiday schedule with invalid operating mode"); @@ -59439,7 +59073,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Make sure that previous operations did not create a schedule"); @@ -59449,7 +59083,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Get Holiday schedule with 0 index"); @@ -59459,7 +59093,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get Holiday schedule with out-of-bounds index"); @@ -59469,7 +59103,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Create Holiday schedule with valid parameters"); @@ -59482,7 +59116,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Verify created schedule"); @@ -59492,7 +59126,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Create Week Day schedule with valid parameters"); @@ -59508,7 +59142,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Verify created schedule"); @@ -59519,7 +59153,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 49: { LogStep(49, "Create Year Day schedule with valid parameters"); @@ -59532,7 +59166,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created schedule"); @@ -59543,7 +59177,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Clear Week Day schedule with 0 index"); @@ -59554,7 +59188,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 52: { LogStep(52, "Clear Week Day schedule with out-of-bounds index"); @@ -59565,7 +59199,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Clear Week Day schedule with 0 user index"); @@ -59576,7 +59210,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 54: { LogStep(54, "Clear Week Day schedule with out-of-bounds user index"); @@ -59587,7 +59221,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "Clear Week Day schedule with non-existing user"); @@ -59598,7 +59232,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 56: { LogStep(56, "Make sure that week day schedule was not deleted"); @@ -59609,7 +59243,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Make sure that year day schedule was not deleted"); @@ -59620,7 +59254,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 58: { LogStep(58, "Make sure that holiday schedule was not deleted"); @@ -59630,7 +59264,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Clear Year Day schedule with 0 index"); @@ -59641,7 +59275,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "Clear Year Day schedule with out-of-bounds index"); @@ -59652,7 +59286,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Clear Year Day schedule with 0 user index"); @@ -59663,7 +59297,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 62: { LogStep(62, "Clear Year Day schedule with out-of-bounds user index"); @@ -59674,7 +59308,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Clear Year Day schedule with non-existing user"); @@ -59685,7 +59319,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 64: { LogStep(64, "Make sure that week day schedule was not deleted"); @@ -59696,7 +59330,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Make sure that year day schedule was not deleted"); @@ -59707,7 +59341,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Make sure that holiday schedule was not deleted"); @@ -59717,7 +59351,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Clear Holiday schedule with 0 index"); @@ -59727,7 +59361,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 68: { LogStep(68, "Clear Holiday schedule with out-of-bounds index"); @@ -59737,7 +59371,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Make sure that week day schedule was not deleted"); @@ -59748,7 +59382,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 70: { LogStep(70, "Make sure that year day schedule was not deleted"); @@ -59759,7 +59393,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Make sure that holiday schedule was not deleted"); @@ -59769,7 +59403,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Create another Week Day schedule with valid parameters"); @@ -59785,7 +59419,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 73: { LogStep(73, "Verify created week day schedule"); @@ -59796,7 +59430,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Create another Year Day schedule with valid parameters"); @@ -59809,7 +59443,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Verify created year day schedule"); @@ -59820,7 +59454,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Create another Holiday schedule with valid parameters"); @@ -59833,7 +59467,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 77: { LogStep(77, "Verify created holiday schedule"); @@ -59843,7 +59477,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Clear a single week day schedule for the first user"); @@ -59854,7 +59488,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Verify cleared week day schedule"); @@ -59865,7 +59499,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Clear all remaining week day schedules for the first user"); @@ -59876,7 +59510,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Verify cleared week schedule"); @@ -59887,7 +59521,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Make sure that first year day schedule was not deleted"); @@ -59898,7 +59532,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 83: { LogStep(83, "Make sure that second year day schedule was not deleted"); @@ -59909,7 +59543,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 84: { LogStep(84, "Make sure that first holiday schedule was not deleted"); @@ -59919,7 +59553,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 85: { LogStep(85, "Make sure that second holiday schedule was not deleted"); @@ -59929,7 +59563,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 86: { LogStep(86, "Create another Week Day schedule with valid parameters"); @@ -59945,7 +59579,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Clear a single year day schedule for the first user"); @@ -59956,7 +59590,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Verify cleared year day schedule"); @@ -59967,7 +59601,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Clear all remaining year schedules for the first user"); @@ -59978,7 +59612,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Verify that second year day schedule was cleared"); @@ -59989,7 +59623,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Verify created week day schedule"); @@ -60000,7 +59634,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Clear all remaining week day schedules for the first user"); @@ -60011,7 +59645,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new user without credential so we can add more schedules to it"); @@ -60027,7 +59661,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create Week Day schedule with valid parameters for first user"); @@ -60043,7 +59677,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created week day schedule for first user"); @@ -60054,7 +59688,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Create Year Day schedule for first user"); @@ -60067,7 +59701,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Verify created year day schedule for first"); @@ -60078,7 +59712,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 98: { LogStep(98, "Create Week Day schedule with valid parameters for second user"); @@ -60094,7 +59728,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 99: { LogStep(99, "Verify created week day schedule for first user"); @@ -60105,7 +59739,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 100: { LogStep(100, "Create Year Day schedule for second user"); @@ -60118,7 +59752,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 101: { LogStep(101, "Verify created year day schedule for first"); @@ -60129,7 +59763,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "Cleanup the user"); @@ -60139,7 +59773,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Make sure clearing first user also cleared week day schedules"); @@ -60150,7 +59784,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 104: { LogStep(104, "Make sure clearing first user also cleared year day schedules"); @@ -60161,7 +59795,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure clearing second user also cleared week day schedules"); @@ -60172,7 +59806,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure clearing second user also cleared year day schedules"); @@ -60183,7 +59817,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Make sure that first holiday schedule was not deleted"); @@ -60193,7 +59827,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 108: { LogStep(108, "Make sure that second holiday schedule was not deleted"); @@ -60203,7 +59837,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create another Holiday schedule at the last slot"); @@ -60216,7 +59850,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "Verify Created Holiday Schedule"); @@ -60226,7 +59860,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create new PIN credential and schedule user"); @@ -60244,7 +59878,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Create Week Day schedule for first user"); @@ -60260,7 +59894,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 113: { LogStep(113, "Create Year Day schedule for first user"); @@ -60273,7 +59907,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 114: { LogStep(114, "Clear a single holiday schedule"); @@ -60283,7 +59917,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "Make sure that first holiday schedule was not deleted"); @@ -60293,7 +59927,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "Make sure that second holiday schedule was deleted"); @@ -60303,7 +59937,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 117: { LogStep(117, "Make sure that third holiday schedule was not deleted"); @@ -60313,7 +59947,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 118: { LogStep(118, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60324,7 +59958,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 119: { LogStep(119, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60335,7 +59969,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 120: { LogStep(120, "Clear all remaining holiday schedules"); @@ -60345,7 +59979,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 121: { LogStep(121, "Make sure that first holiday is still deleted"); @@ -60355,7 +59989,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 122: { LogStep(122, "Make sure that second holiday schedule was deleted"); @@ -60365,7 +59999,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 123: { LogStep(123, "Make sure that third holiday schedule was not deleted"); @@ -60375,7 +60009,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60386,7 +60020,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 125: { LogStep(125, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60397,7 +60031,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 126: { LogStep(126, "Final Cleanup"); @@ -60407,7 +60041,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60438,9 +60072,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -60557,7 +60189,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes the RequirePINforRemoteOperation attribute value as True on the DUT"); @@ -60584,7 +60216,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Lock Door Command to the DUT with valid PINCode"); @@ -60595,7 +60227,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Lock Door Command to the DUT without any argument PINCode"); @@ -60606,7 +60238,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH writes WrongCodeEntryLimit attribute value as 3 on the DUT"); @@ -60634,7 +60266,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60645,7 +60277,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60656,7 +60288,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60667,7 +60299,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH reads UserCodeTemporaryDisableTime attribute from DUT"); @@ -60683,7 +60315,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Clean the created credential"); @@ -60697,7 +60329,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60728,9 +60360,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -60831,7 +60461,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60842,7 +60472,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60861,7 +60491,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60892,7 +60522,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60923,9 +60553,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61023,7 +60651,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -61034,7 +60662,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -61054,7 +60682,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockWithTimeout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -61105,9 +60733,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand uint8_t NumberOfWeekDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61274,7 +60900,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get Max number of Week Day schedules for user"); @@ -61300,7 +60926,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "send GetWeekDay Schedule Command "); @@ -61311,7 +60937,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Set Week Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61327,7 +60953,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "send GetWeekDay Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61338,7 +60964,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Clear all week day schedules for the first user"); @@ -61349,7 +60975,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send GetWeekDay Schedule Command "); @@ -61360,7 +60986,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61394,9 +61020,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61588,7 +61212,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Create new PIN credential and lock/unlock for second user"); @@ -61606,7 +61230,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Get Max number of year Day schedules for user"); @@ -61629,7 +61253,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "send Get Year Day Schedule Command"); @@ -61640,7 +61264,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Set Year Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61653,7 +61277,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "send Get Year Day Schedule Command to DUT and Verify INVALID_FIELD response"); @@ -61664,7 +61288,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response"); @@ -61675,7 +61299,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response "); @@ -61686,7 +61310,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Send Set Year Day Schedule Command to DUT"); @@ -61699,7 +61323,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "send Get Year Day Schedule Command "); @@ -61710,7 +61334,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61743,9 +61367,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61910,7 +61532,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH sends Get Credential Status Command"); @@ -61923,7 +61545,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "TH sends Set Credential Command to DUT"); @@ -61944,7 +61566,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Set Credential Command to DUT"); @@ -61965,7 +61587,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Set Credential Command to DUT"); @@ -61986,7 +61608,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH sends Set Credential Command to DUT"); @@ -62007,7 +61629,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH sends Set Credential Command to DUT"); @@ -62028,7 +61650,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH sends Clear Credential Command to DUT"); @@ -62042,7 +61664,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Set Credential Command to DUT"); @@ -62063,7 +61685,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Clear Credential Command to DUT"); @@ -62077,7 +61699,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Set Credential Command to DUT"); @@ -62098,7 +61720,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH sends Clear Credential Command to DUT"); @@ -62112,7 +61734,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 14: { LogStep(14, "TH sends Get Credential Status Command"); @@ -62125,7 +61747,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "TH sends Set Credential Command to DUT"); @@ -62146,7 +61768,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH sends Clear Credential Command to DUT"); @@ -62160,7 +61782,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -62197,9 +61819,7 @@ class TestGroupMessagingSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -62451,7 +62071,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Add Group 2 (endpoint 0)"); @@ -62461,7 +62081,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "KeySet Write 1"); @@ -62473,30 +62093,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "KeySet Write 2"); @@ -62508,30 +62128,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Write Group Keys"); @@ -62551,7 +62171,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62578,7 +62198,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62653,7 +62273,7 @@ class TestGroupMessagingSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Cleanup ACLs"); @@ -62671,7 +62291,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62685,7 +62305,7 @@ class TestGroupMessagingSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Commission from gamma"); @@ -62710,7 +62330,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Add Group 2 (endpoint 0) for gamma"); @@ -62720,7 +62340,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "KeySet Write 1 for gamma"); @@ -62732,30 +62352,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "KeySet Write 2 for gamma"); @@ -62767,30 +62387,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Write Group Keys for gamma"); @@ -62810,7 +62430,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62837,7 +62457,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62922,7 +62542,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62956,9 +62576,7 @@ class TestGroupsClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63196,7 +62814,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "View First Group (not found)"); @@ -63206,7 +62824,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Add First Group (new)"); @@ -63216,7 +62834,7 @@ class TestGroupsClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "View First Group (new)"); @@ -63226,7 +62844,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "View Second Group (not found)"); @@ -63236,7 +62854,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Get Group Membership 1 (all)"); @@ -63247,7 +62865,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "View Group 3 (not found)"); @@ -63257,7 +62875,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "View First Group (existing)"); @@ -63267,7 +62885,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Remove Group 0 (invalid)"); @@ -63277,7 +62895,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Remove Group 4 (not found)"); @@ -63287,7 +62905,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "View First Group (not removed)"); @@ -63297,7 +62915,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "View Second Group (removed)"); @@ -63307,7 +62925,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Get Group Membership 3"); @@ -63326,7 +62944,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Remove All"); @@ -63335,7 +62953,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "View First Group (removed)"); @@ -63345,7 +62963,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "View Second Group (still removed)"); @@ -63355,7 +62973,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "View Group 3 (removed)"); @@ -63365,7 +62983,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Get Group Membership 4"); @@ -63385,7 +63003,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63417,9 +63035,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63508,8 +63124,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63529,8 +63145,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63591,8 +63207,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63613,8 +63229,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63668,7 +63284,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Add Group 2"); @@ -63678,7 +63294,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "KeySet Write 1"); @@ -63690,30 +63306,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "KeySet Write 2"); @@ -63725,30 +63341,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(1); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "KeySet Read"); @@ -63758,7 +63374,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Write Group Keys (invalid)"); @@ -63774,7 +63390,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63797,7 +63413,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63820,7 +63436,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "KeySet Read (removed)"); @@ -63830,7 +63446,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "KeySet Read (not removed)"); @@ -63840,7 +63456,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Remove Group 1"); @@ -63850,7 +63466,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Read GroupTable 2"); @@ -63864,7 +63480,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Read GroupTable 3"); @@ -63879,7 +63495,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "KeySet Read (also removed)"); @@ -63889,7 +63505,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63920,9 +63536,7 @@ class Test_TC_DD_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63978,9 +63592,7 @@ class Test_TC_DD_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64036,9 +63648,7 @@ class Test_TC_DD_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64094,9 +63704,7 @@ class Test_TC_DD_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64152,9 +63760,7 @@ class Test_TC_DD_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64210,9 +63816,7 @@ class Test_TC_DD_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64268,9 +63872,7 @@ class Test_TC_DD_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64326,9 +63928,7 @@ class Test_TC_DD_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64384,9 +63984,7 @@ class Test_TC_DD_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64442,9 +64040,7 @@ class Test_TC_DD_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64500,9 +64096,7 @@ class Test_TC_DD_1_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64558,9 +64152,7 @@ class Test_TC_DD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64616,9 +64208,7 @@ class Test_TC_DD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64674,9 +64264,7 @@ class Test_TC_DD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64732,9 +64320,7 @@ class Test_TC_DD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64790,9 +64376,7 @@ class Test_TC_DD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64848,9 +64432,7 @@ class Test_TC_DD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64906,9 +64488,7 @@ class Test_TC_DD_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64964,9 +64544,7 @@ class Test_TC_DD_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65022,9 +64600,7 @@ class Test_TC_DD_3_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65080,9 +64656,7 @@ class Test_TC_DD_3_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65138,9 +64712,7 @@ class Test_TC_DD_3_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65196,9 +64768,7 @@ class Test_TC_DD_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65254,9 +64824,7 @@ class Test_TC_DD_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65312,9 +64880,7 @@ class Test_TC_DD_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65370,9 +64936,7 @@ class Test_TC_DD_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65428,9 +64992,7 @@ class Test_TC_DD_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65486,9 +65048,7 @@ class Test_TC_DD_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65544,9 +65104,7 @@ class Test_TC_DD_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65602,9 +65160,7 @@ class Test_TC_DD_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65660,9 +65216,7 @@ class Test_TC_DD_3_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65718,9 +65272,7 @@ class Test_TC_DD_3_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65776,9 +65328,7 @@ class Test_TC_DD_3_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65835,9 +65385,7 @@ class TestGroupDemoCommandSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66105,9 +65653,7 @@ class TestGroupDemoConfigSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66172,7 +65718,7 @@ class TestGroupDemoConfigSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "KeySet Write 1"); @@ -66184,30 +65730,30 @@ class TestGroupDemoConfigSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Map Group Key Set to group ID on a given fabric"); @@ -66223,7 +65769,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -66257,7 +65803,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -66291,9 +65837,7 @@ class Test_TC_G_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66349,9 +65893,7 @@ class Test_TC_G_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66407,9 +65949,7 @@ class Test_TC_G_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66465,9 +66005,7 @@ class Test_TC_G_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66523,9 +66061,7 @@ class Test_TC_G_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66581,9 +66117,7 @@ class Test_TC_G_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66639,9 +66173,7 @@ class Test_TC_BDX_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66697,9 +66229,7 @@ class Test_TC_BDX_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66755,9 +66285,7 @@ class Test_TC_BDX_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66813,9 +66341,7 @@ class Test_TC_BDX_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66871,9 +66397,7 @@ class Test_TC_BDX_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66929,9 +66453,7 @@ class Test_TC_BDX_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66987,9 +66509,7 @@ class Test_TC_BDX_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67045,9 +66565,7 @@ class Test_TC_BDX_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67103,9 +66621,7 @@ class Test_TC_BDX_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67161,9 +66677,7 @@ class Test_TC_BDX_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67219,9 +66733,7 @@ class Test_TC_BDX_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67277,9 +66789,7 @@ class Test_TC_BR_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67335,9 +66845,7 @@ class Test_TC_BR_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67393,9 +66901,7 @@ class Test_TC_BR_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67451,9 +66957,7 @@ class Test_TC_DA_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67509,9 +67013,7 @@ class Test_TC_DA_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67567,9 +67069,7 @@ class Test_TC_DA_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67625,9 +67125,7 @@ class Test_TC_DA_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67683,9 +67181,7 @@ class Test_TC_DA_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67741,9 +67237,7 @@ class Test_TC_DA_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67799,9 +67293,7 @@ class Test_TC_BINFO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67858,9 +67350,7 @@ class Test_TC_OPCREDS_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67916,9 +67406,7 @@ class Test_TC_CNET_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67976,9 +67464,7 @@ class Test_TC_BINFO_2_2Suite : public TestCommand uint32_t SoftwareVersionValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68230,9 +67716,7 @@ class Test_TC_BINFO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68289,9 +67773,7 @@ class Test_TC_OPCREDS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68348,9 +67830,7 @@ class Test_TC_OPCREDS_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68407,9 +67887,7 @@ class Test_TC_OPCREDS_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68466,9 +67944,7 @@ class Test_TC_OPCREDS_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68524,9 +68000,7 @@ class Test_TC_CNET_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68582,9 +68056,7 @@ class Test_TC_CNET_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68640,9 +68112,7 @@ class Test_TC_CNET_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68698,9 +68168,7 @@ class Test_TC_CNET_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68756,9 +68224,7 @@ class Test_TC_CNET_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68814,9 +68280,7 @@ class Test_TC_CNET_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68872,9 +68336,7 @@ class Test_TC_CNET_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68930,9 +68392,7 @@ class Test_TC_CNET_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68988,9 +68448,7 @@ class Test_TC_CNET_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69046,9 +68504,7 @@ class Test_TC_CNET_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69104,9 +68560,7 @@ class Test_TC_CNET_4_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69162,9 +68616,7 @@ class Test_TC_CNET_4_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69220,9 +68672,7 @@ class Test_TC_CNET_4_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69278,9 +68728,7 @@ class Test_TC_CNET_4_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69336,9 +68784,7 @@ class Test_TC_CNET_4_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69394,9 +68840,7 @@ class Test_TC_CNET_4_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69452,9 +68896,7 @@ class Test_TC_CNET_4_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69510,9 +68952,7 @@ class Test_TC_CNET_4_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69568,9 +69008,7 @@ class Test_TC_CNET_4_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69626,9 +69064,7 @@ class Test_TC_CNET_4_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69684,9 +69120,7 @@ class Test_TC_CNET_4_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69742,9 +69176,7 @@ class Test_TC_DLOG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69800,9 +69232,7 @@ class Test_TC_DLOG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69858,9 +69288,7 @@ class Test_TC_DLOG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69916,9 +69344,7 @@ class Test_TC_DLOG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69974,9 +69400,7 @@ class Test_TC_DESC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70032,9 +69456,7 @@ class Test_TC_DESC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70090,9 +69512,7 @@ class Test_TC_DGETH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70148,9 +69568,7 @@ class Test_TC_DGETH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70206,9 +69624,7 @@ class Test_TC_DGETH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70264,9 +69680,7 @@ class Test_TC_CGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70322,9 +69736,7 @@ class Test_TC_CGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70380,9 +69792,7 @@ class Test_TC_CGEN_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70438,9 +69848,7 @@ class Test_TC_DGGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70496,9 +69904,7 @@ class Test_TC_DGGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70554,9 +69960,7 @@ class Test_TC_DGGEN_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70612,9 +70016,7 @@ class Test_TC_DGGEN_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70670,9 +70072,7 @@ class Test_TC_I_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70728,9 +70128,7 @@ class Test_TC_I_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70786,9 +70184,7 @@ class Test_TC_ILL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70844,9 +70240,7 @@ class Test_TC_ILL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70902,9 +70296,7 @@ class Test_TC_IDM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70960,9 +70352,7 @@ class Test_TC_IDM_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71018,9 +70408,7 @@ class Test_TC_IDM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71076,9 +70464,7 @@ class Test_TC_IDM_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71134,9 +70520,7 @@ class Test_TC_IDM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71192,9 +70576,7 @@ class Test_TC_IDM_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71250,9 +70632,7 @@ class Test_TC_IDM_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71308,9 +70688,7 @@ class Test_TC_IDM_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71366,9 +70744,7 @@ class Test_TC_IDM_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71424,9 +70800,7 @@ class Test_TC_IDM_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71482,9 +70856,7 @@ class Test_TC_IDM_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71540,9 +70912,7 @@ class Test_TC_IDM_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71598,9 +70968,7 @@ class Test_TC_IDM_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71656,9 +71024,7 @@ class Test_TC_IDM_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71714,9 +71080,7 @@ class Test_TC_IDM_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71772,9 +71136,7 @@ class Test_TC_IDM_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71830,9 +71192,7 @@ class Test_TC_IDM_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71888,9 +71248,7 @@ class Test_TC_MC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71946,9 +71304,7 @@ class Test_TC_MC_3_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72004,9 +71360,7 @@ class Test_TC_MC_3_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72062,9 +71416,7 @@ class Test_TC_MC_3_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72120,9 +71472,7 @@ class Test_TC_MC_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72178,9 +71528,7 @@ class Test_TC_MC_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72236,9 +71584,7 @@ class Test_TC_MC_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72294,9 +71640,7 @@ class Test_TC_MC_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72352,9 +71696,7 @@ class Test_TC_MC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72410,9 +71752,7 @@ class Test_TC_MC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72468,9 +71808,7 @@ class Test_TC_MC_5_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72526,9 +71864,7 @@ class Test_TC_MC_5_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72584,9 +71920,7 @@ class Test_TC_MC_6_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72642,9 +71976,7 @@ class Test_TC_MC_6_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72700,9 +72032,7 @@ class Test_TC_MC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72758,9 +72088,7 @@ class Test_TC_MC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72816,9 +72144,7 @@ class Test_TC_MC_10_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72874,9 +72200,7 @@ class Test_TC_MC_10_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72932,9 +72256,7 @@ class Test_TC_MC_10_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72990,9 +72312,7 @@ class Test_TC_MC_11_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73048,9 +72368,7 @@ class Test_TC_MC_11_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73106,9 +72424,7 @@ class Test_TC_MC_12_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73164,9 +72480,7 @@ class Test_TC_MC_12_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73222,9 +72536,7 @@ class Test_TC_MF_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73280,9 +72592,7 @@ class Test_TC_MF_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73338,9 +72648,7 @@ class Test_TC_MF_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73396,9 +72704,7 @@ class Test_TC_MF_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73454,9 +72760,7 @@ class Test_TC_MF_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73512,9 +72816,7 @@ class Test_TC_MF_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73570,9 +72872,7 @@ class Test_TC_MF_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73628,9 +72928,7 @@ class Test_TC_MF_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73686,9 +72984,7 @@ class Test_TC_MF_1_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73744,9 +73040,7 @@ class Test_TC_MF_1_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73802,9 +73096,7 @@ class Test_TC_MF_1_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73860,9 +73152,7 @@ class Test_TC_MF_1_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73918,9 +73208,7 @@ class Test_TC_MF_1_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73976,9 +73264,7 @@ class Test_TC_MF_1_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74034,9 +73320,7 @@ class Test_TC_MF_1_22Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74092,9 +73376,7 @@ class Test_TC_MF_1_23Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74150,9 +73432,7 @@ class Test_TC_MF_1_24Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74208,9 +73488,7 @@ class Test_TC_MF_1_25Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74266,9 +73544,7 @@ class Test_TC_MF_1_26Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74312,18 +73588,14 @@ class Test_TC_MF_1_27Suite : public TestCommand ~Test_TC_MF_1_27Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74406,7 +73678,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -74429,7 +73701,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -74453,18 +73725,14 @@ class Test_TC_MF_1_28Suite : public TestCommand ~Test_TC_MF_1_28Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74544,11 +73812,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74556,7 +73824,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -74576,11 +73844,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74588,7 +73856,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -74617,9 +73885,7 @@ class Test_TC_MF_1_5Suite : public TestCommand ~Test_TC_MF_1_5Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } private: chip::Optional mNodeId; @@ -74631,9 +73897,7 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74723,11 +73987,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74735,7 +73999,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10 seconds"); @@ -74758,11 +74022,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74770,7 +74034,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74780,7 +74044,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74798,7 +74062,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74819,11 +74083,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74831,7 +74095,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74872,9 +74136,7 @@ class Test_TC_MF_1_6Suite : public TestCommand ~Test_TC_MF_1_6Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } private: chip::Optional mNodeId; @@ -74886,9 +74148,7 @@ class Test_TC_MF_1_6Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74985,7 +74245,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10"); @@ -75011,7 +74271,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -75021,7 +74281,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Commission from beta"); @@ -75039,7 +74299,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -75063,7 +74323,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Commission from beta"); @@ -75111,9 +74371,7 @@ class Test_TC_MF_1_9Suite : public TestCommand ~Test_TC_MF_1_9Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } private: chip::Optional mNodeId; @@ -75126,9 +74384,7 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75263,11 +74519,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75275,7 +74531,7 @@ class Test_TC_MF_1_9Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75476,9 +74732,7 @@ class Test_TC_MF_1_10Suite : public TestCommand ~Test_TC_MF_1_10Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } private: chip::Optional mNodeId; @@ -75491,9 +74745,7 @@ class Test_TC_MF_1_10Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75631,7 +74883,7 @@ class Test_TC_MF_1_10Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75831,9 +75083,7 @@ class Test_TC_MF_1_15Suite : public TestCommand ~Test_TC_MF_1_15Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); } private: chip::Optional mNodeId; @@ -75845,9 +75095,7 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75895,8 +75143,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75925,8 +75173,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75982,7 +75230,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Commission from gamma"); @@ -76008,7 +75256,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from beta"); @@ -76034,7 +75282,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 opens a new commissioning window on DUT_CE"); @@ -76042,11 +75290,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76054,7 +75302,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -76074,11 +75322,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76086,7 +75334,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH_CR3 opens a new commissioning window on DUT_CE"); @@ -76094,11 +75342,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76106,7 +75354,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -76126,11 +75374,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76138,7 +75386,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH_CR2 opens a new commissioning window on DUT_CE"); @@ -76146,11 +75394,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76158,7 +75406,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -76189,9 +75437,7 @@ class Test_TC_MOD_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76247,9 +75493,7 @@ class Test_TC_MOD_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76305,9 +75549,7 @@ class Test_TC_MOD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76363,9 +75605,7 @@ class Test_TC_MOD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76421,9 +75661,7 @@ class Test_TC_MOD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76479,9 +75717,7 @@ class Test_TC_MOD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76537,9 +75773,7 @@ class Test_TC_MOD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76595,9 +75829,7 @@ class Test_TC_MOD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76653,9 +75885,7 @@ class Test_TC_SU_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76711,9 +75941,7 @@ class Test_TC_SU_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76769,9 +75997,7 @@ class Test_TC_SU_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76827,9 +76053,7 @@ class Test_TC_SU_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76885,9 +76109,7 @@ class Test_TC_SU_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76943,9 +76165,7 @@ class Test_TC_SU_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77001,9 +76221,7 @@ class Test_TC_SU_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77059,9 +76277,7 @@ class Test_TC_SU_2_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77117,9 +76333,7 @@ class Test_TC_SU_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77175,9 +76389,7 @@ class Test_TC_SU_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77233,9 +76445,7 @@ class Test_TC_SU_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77291,9 +76501,7 @@ class Test_TC_SU_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77349,9 +76557,7 @@ class Test_TC_SU_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77407,9 +76613,7 @@ class Test_TC_SU_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77465,9 +76669,7 @@ class Test_TC_SU_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77523,9 +76725,7 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77581,9 +76781,7 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77639,9 +76837,7 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77697,9 +76893,7 @@ class Test_TC_SC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77755,9 +76949,7 @@ class Test_TC_SC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77813,9 +77005,7 @@ class Test_TC_SC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77871,9 +77061,7 @@ class Test_TC_SC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77929,9 +77117,7 @@ class Test_TC_SC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77987,9 +77173,7 @@ class Test_TC_SC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78045,9 +77229,7 @@ class Test_TC_SC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78103,9 +77285,7 @@ class Test_TC_SC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78161,9 +77341,7 @@ class Test_TC_SC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78219,9 +77397,7 @@ class Test_TC_SC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78277,9 +77453,7 @@ class Test_TC_SC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78335,9 +77509,7 @@ class Test_TC_SC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78393,9 +77565,7 @@ class Test_TC_SC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78451,9 +77621,7 @@ class Test_TC_SC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78509,9 +77677,7 @@ class Test_TC_SC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78567,9 +77733,7 @@ class Test_TC_SC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78625,9 +77789,7 @@ class Test_TC_SC_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78683,9 +77845,7 @@ class Test_TC_SC_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78741,9 +77901,7 @@ class Test_TC_SC_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78799,9 +77957,7 @@ class Test_TC_SC_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78857,9 +78013,7 @@ class Test_TC_SC_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78915,9 +78069,7 @@ class Test_TC_DGSW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78973,9 +78125,7 @@ class Test_TC_DGSW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79031,9 +78181,7 @@ class Test_TC_DGSW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79089,9 +78237,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79147,9 +78293,7 @@ class Test_TC_DGWIFI_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79205,9 +78349,7 @@ class Test_TC_DGWIFI_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79263,9 +78405,7 @@ class Test_TC_DGWIFI_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79321,9 +78461,7 @@ class Test_TC_WNCV_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79379,9 +78517,7 @@ class Test_TC_WNCV_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79439,9 +78575,7 @@ class Test_TC_FLW_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79552,9 +78686,7 @@ class Test_TC_FLW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79612,9 +78744,7 @@ class Test_TC_OCC_2_2Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79724,9 +78854,7 @@ class Test_TC_OCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79782,9 +78910,7 @@ class Test_TC_OCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79842,9 +78968,7 @@ class Test_TC_OCC_3_1Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79953,9 +79077,7 @@ class Test_TC_OCC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80011,9 +79133,7 @@ class Test_TC_PRS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80069,9 +79189,7 @@ class Test_TC_PRS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80127,9 +79245,7 @@ class Test_TC_PS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80185,9 +79301,7 @@ class Test_TC_PS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80243,9 +79357,7 @@ class Test_TC_BOOL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80301,9 +79413,7 @@ class Test_TC_BOOL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80359,9 +79469,7 @@ class Test_TC_CC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80417,9 +79525,7 @@ class Test_TC_CC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80475,9 +79581,7 @@ class Test_TC_CC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80533,9 +79637,7 @@ class Test_TC_CC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80591,9 +79693,7 @@ class Test_TC_CC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80649,9 +79749,7 @@ class Test_TC_CC_7_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80707,9 +79805,7 @@ class Test_TC_CC_9_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80754,9 +79850,7 @@ class Test_TC_CC_9_1Suite : public TestCommand ~Test_TC_CC_9_1Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -80773,9 +79867,7 @@ class Test_TC_CC_9_1Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue4; uint16_t ColorLoopStoredEnhancedHue4; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -81276,7 +80368,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition : Check on/off attribute value is true after on command"); @@ -81295,7 +80387,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81319,7 +80411,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81342,7 +80434,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read ColorLoopDirection attribute from DUT"); @@ -81365,7 +80457,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Read ColorLoopTime attribute from DUT"); @@ -81388,7 +80480,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Read ColorLoopStartEnhancedHue attribute from DUT"); @@ -81411,7 +80503,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Read ColorLoopActive attribute from DUT"); @@ -81472,7 +80564,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Read ColorLoopActive attribute from DUT"); @@ -81507,7 +80599,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopDirection attribute from DUT"); @@ -81530,7 +80622,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Read ColorLoopActive attribute from DUT"); @@ -81591,7 +80683,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Read ColorLoopActive attribute from DUT"); @@ -81624,7 +80716,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 1000ms"); @@ -81654,7 +80746,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Read ColorLoopDirection attribute from DUT"); @@ -81677,7 +80769,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Read ColorLoopActive attribute from DUT"); @@ -81738,7 +80830,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Read ColorLoopActive attribute from DUT"); @@ -81773,7 +80865,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Read ColorLoopDirection attribute from DUT"); @@ -81796,7 +80888,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Read ColorLoopActive attribute from DUT"); @@ -81857,7 +80949,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Read ColorLoopActive attribute from DUT"); @@ -81883,7 +80975,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Check on/off attribute value is false after off command"); @@ -81907,9 +80999,7 @@ class Test_TC_CC_9_2Suite : public TestCommand ~Test_TC_CC_9_2Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -81921,9 +81011,7 @@ class Test_TC_CC_9_2Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue1; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82163,7 +81251,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -82182,7 +81270,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -82206,7 +81294,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -82247,7 +81335,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -82308,7 +81396,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopDirection attribute from DUT."); @@ -82363,7 +81451,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopActive attribute from DUT"); @@ -82389,7 +81477,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Check on/off attribute value is false after off command"); @@ -82413,9 +81501,7 @@ class Test_TC_CC_9_3Suite : public TestCommand ~Test_TC_CC_9_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -82426,9 +81512,7 @@ class Test_TC_CC_9_3Suite : public TestCommand uint16_t ColorLoopStartEnhancedHueValue; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82659,7 +81743,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -82678,7 +81762,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -82702,7 +81786,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -82743,7 +81827,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -82804,7 +81888,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopTime attribute from DUT."); @@ -82853,7 +81937,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Read ColorLoopActive attribute from DUT"); @@ -82879,7 +81963,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check on/off attribute value is false after off command"); @@ -82914,9 +81998,7 @@ class Test_TC_DLRK_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82972,9 +82054,7 @@ class Test_TC_DLRK_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83030,9 +82110,7 @@ class Test_TC_DLRK_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83088,9 +82166,7 @@ class Test_TC_DLRK_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83146,9 +82222,7 @@ class Test_TC_DLRK_2_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83204,9 +82278,7 @@ class Test_TC_LCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83262,9 +82334,7 @@ class Test_TC_LCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83320,9 +82390,7 @@ class Test_TC_LCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83378,9 +82446,7 @@ class Test_TC_LVL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83436,9 +82502,7 @@ class Test_TC_LVL_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83483,9 +82547,7 @@ class Test_TC_OO_2_3Suite : public TestCommand ~Test_TC_OO_2_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); } private: chip::Optional mNodeId; @@ -83493,9 +82555,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -84344,7 +83404,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 1000ms"); @@ -84374,7 +83434,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 1000ms"); @@ -84402,7 +83462,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 1000ms"); @@ -84432,7 +83492,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 1000ms"); @@ -84459,7 +83519,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 1000ms"); @@ -84489,7 +83549,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Wait 1000ms"); @@ -84516,7 +83576,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 1000ms"); @@ -84544,7 +83604,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Wait 1000ms"); @@ -84586,7 +83646,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "9b:Reads OnTime attribute from DUT"); @@ -84611,7 +83671,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Wait 10000ms"); @@ -84631,7 +83691,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Wait 10000ms"); @@ -84651,7 +83711,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Wait 10000ms"); @@ -84671,7 +83731,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "10e:Reads OnOff attribute from DUT"); @@ -84707,7 +83767,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "11b:Reads OnOff attribute from DUT"); @@ -84744,7 +83804,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "12b:Reads OnOff attribute from DUT"); @@ -84777,7 +83837,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "13b:Reads OnOff attribute from DUT"); @@ -84814,7 +83874,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Wait 10000ms"); @@ -84830,7 +83890,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "14c:Reads OnOff attribute from DUT"); @@ -84891,7 +83951,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "16b:Reads OnOff attribute from DUT"); @@ -84917,7 +83977,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Wait 10000ms"); @@ -84937,7 +83997,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "17c:Reads OnOff attribute from DUT"); @@ -84998,7 +84058,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "18b:Reads OnOff attribute from DUT"); @@ -85028,7 +84088,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Wait 10000ms"); @@ -85048,7 +84108,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Wait 10000ms"); @@ -85081,7 +84141,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "20b:Reads OnOff attribute from DUT"); @@ -85111,7 +84171,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "21b:Reads OnOff attribute from DUT"); @@ -85137,7 +84197,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "22b:Reads OnOff attribute from DUT"); @@ -85174,7 +84234,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "23b:Send Off Command"); @@ -85183,7 +84243,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "23c:Reads OnOff attribute from DUT"); @@ -85237,7 +84297,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "24b:Reads OnOff attribute from DUT"); @@ -85287,7 +84347,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -85318,9 +84378,7 @@ class Test_TC_OO_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85376,9 +84434,7 @@ class Test_TC_OO_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85436,9 +84492,7 @@ class Test_TC_RH_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85582,9 +84636,7 @@ class Test_TC_RH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85640,9 +84692,7 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85698,9 +84748,7 @@ class Test_TC_SWTCH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85756,9 +84804,7 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85814,9 +84860,7 @@ class Test_TC_SWTCH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85874,9 +84918,7 @@ class Test_TC_TM_2_2Suite : public TestCommand chip::app::DataModel::Nullable valueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86017,9 +85059,7 @@ class Test_TC_TM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86075,9 +85115,7 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86133,9 +85171,7 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86191,9 +85227,7 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86250,9 +85284,7 @@ class Test_TC_DIAG_TH_NW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86309,9 +85341,7 @@ class Test_TC_DIAG_TH_NW_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86368,9 +85398,7 @@ class Test_TC_DIAG_TH_NW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86427,9 +85455,7 @@ class Test_TC_DIAG_TH_NW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86486,9 +85512,7 @@ class Test_TC_DIAG_TH_NW_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86545,9 +85569,7 @@ class Test_TC_DIAG_TH_NW_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86604,9 +85626,7 @@ class Test_TC_DIAG_TH_NW_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86662,9 +85682,7 @@ class Test_TC_ACT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86720,9 +85738,7 @@ class Test_TC_ACT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86778,9 +85794,7 @@ class Test_TC_ACT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86836,9 +85850,7 @@ class Test_TC_TFL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86894,9 +85906,7 @@ class Test_TC_TFL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86952,9 +85962,7 @@ class Test_TC_TFL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87010,9 +86018,7 @@ class Test_TC_TFL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87068,9 +86074,7 @@ class Test_TC_UL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87126,9 +86130,7 @@ class Test_TC_UL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87184,9 +86186,7 @@ class Test_TC_UL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87242,9 +86242,7 @@ class Test_TC_UL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87300,9 +86298,7 @@ class Test_TC_FLABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87358,9 +86354,7 @@ class Test_TC_FLABEL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87416,9 +86410,7 @@ class Test_TC_FLABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87474,9 +86466,7 @@ class Test_TC_BIND_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87532,9 +86522,7 @@ class Test_TC_BIND_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87590,9 +86578,7 @@ class Test_TC_S_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87648,9 +86634,7 @@ class Test_TC_S_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87706,9 +86690,7 @@ class Test_TC_S_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87764,9 +86746,7 @@ class Test_TC_S_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87822,9 +86802,7 @@ class Test_TC_S_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87880,9 +86858,7 @@ class Test_TC_PCC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index 7e384dd3be0cb6..e3c975ce657b71 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -558,7 +558,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -584,7 +584,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -635,7 +635,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index dda740e874a055..8395d4a0da6cdc 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 30d8dfb6c42ba0..9226fa764a8c26 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index 315b689d7cead4..d0d448949c10c9 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 9df040782130ed..22deb0dc7ab73c 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index 2b68e37391b532..bb60e2b0702582 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index 3405cdb9e2c48c..c9ac4cc5d26d48 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index 84b39f361f1e43..f063f5b2f40c56 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -86,7 +86,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -112,7 +112,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -163,7 +163,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index ab0176c066a936..42ddd96e8e5862 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index 712f145dbe19f2..644941f2439ed4 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -150,7 +150,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -176,7 +176,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -227,7 +227,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index ba8adedceac7ce..b802854e9e1d4d 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index a0ccb0154aec22..b7a47b8b4772eb 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -158,7 +158,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -184,7 +184,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -235,7 +235,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index 1fa12072c18d9e..00aaea9738678f 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index a776571005c1ee..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index 1fa12072c18d9e..00aaea9738678f 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index a776571005c1ee..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 9fa8b6ba5d3fb9..801f2c71341be4 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index 7fa6d236bc7e05..f85e4992801af6 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -214,7 +214,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -240,7 +240,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -291,7 +291,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 5b24d79947d300..16072d2b6dafd1 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index a875af5a8c8dd1..215febb6fc627d 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index 94c9ce83b4c8ce..a132a0357cb44c 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index a644d3b0760d75..edd96cd31c3e03 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index 3fd659d3f64842..dfe8cbdabafb85 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index c488eaf069cab6..77e88d263ca748 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index a0be89d9208b56..86ba13c411cf5d 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -115,7 +115,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -126,7 +126,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 292363f8e0d60d..41b6f28b0d995f 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -334,7 +334,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -360,7 +360,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -411,7 +411,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index 5fa01c5a884d99..aa6798e0930828 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 2c13248afddfce..3a0c8c19b53d37 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -366,7 +366,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -392,7 +392,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -443,7 +443,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index 73da6cec1d0e7a..2065f807a7b214 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index f6ed24bd7cf242..14f002d4a19228 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) From 0c9bf75900dc4bede7991545fcb4a84ca3215640 Mon Sep 17 00:00:00 2001 From: lnikulin Date: Thu, 7 Jul 2022 15:54:42 +0300 Subject: [PATCH 08/15] Add pre-execution command callback. #20361 - move MatterPreExecuteCommandCallback() into DispatchSingleClusterCommand() - regenerate all IMClusterCommandHandler.cpp files --- .../app/im-cluster-command-handler.zapt | 3 +- .../CHIP/zap-generated/MTRCallbackBridge.mm | 952 +++++++++--------- .../zap-generated/IMClusterCommandHandler.cpp | 131 +-- .../zap-generated/IMClusterCommandHandler.cpp | 97 +- .../zap-generated/IMClusterCommandHandler.cpp | 42 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 58 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 58 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 50 +- .../zap-generated/IMClusterCommandHandler.cpp | 50 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 51 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 48 +- .../zap-generated/IMClusterCommandHandler.cpp | 54 +- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/IMClusterCommandHandler.cpp | 41 +- .../zap-generated/IMClusterCommandHandler.cpp | 74 +- .../zap-generated/IMClusterCommandHandler.cpp | 61 +- .../zap-generated/IMClusterCommandHandler.cpp | 19 +- .../zap-generated/IMClusterCommandHandler.cpp | 30 +- .../zap-generated/IMClusterCommandHandler.cpp | 28 +- .../zap-generated/IMClusterCommandHandler.cpp | 69 +- .../zap-generated/IMClusterCommandHandler.cpp | 69 +- .../zap-generated/IMClusterCommandHandler.cpp | 40 +- .../zap-generated/IMClusterCommandHandler.cpp | 29 +- .../zap-generated/IMClusterCommandHandler.cpp | 28 +- .../zap-generated/IMClusterCommandHandler.cpp | 45 +- .../zap-generated/IMClusterCommandHandler.cpp | 74 +- .../zap-generated/IMClusterCommandHandler.cpp | 59 +- .../zap-generated/IMClusterCommandHandler.cpp | 52 +- 33 files changed, 507 insertions(+), 2007 deletions(-) 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 287b3e64f8efb2..32ebaeb6c8c0ea 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 @@ -39,7 +39,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP { {{/first}} case Commands::{{asUpperCamelCase commandName}}::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); {{> im_command_handler_cluster_commands}} break; } @@ -72,7 +71,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { {{#all_user_clusters_with_incoming_commands}} diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index c5b7d5a0c1a7a5..3f5f4d2c1fc5bf 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -23,9 +23,7 @@ #include -void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { - DispatchSuccess(context, nil); -}; +void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { DispatchSuccess(context, nil); }; void MTRCommandSuccessCallbackBridge::OnSuccessFn(void * context, const chip::app::DataModel::NullObjectType &) { @@ -739,7 +737,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -778,7 +776,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -817,7 +815,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -856,7 +854,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -895,7 +893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -934,7 +932,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -973,7 +971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1012,7 +1010,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1051,7 +1049,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1090,7 +1088,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1129,7 +1127,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1168,7 +1166,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1207,7 +1205,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1247,7 +1245,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1287,7 +1285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1326,7 +1324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1365,7 +1363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1404,7 +1402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1443,7 +1441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1482,7 +1480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1521,7 +1519,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1557,10 +1555,10 @@ } void MTRDescriptorDeviceListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1601,7 +1599,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1640,7 +1638,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1679,7 +1677,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1718,7 +1716,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1757,7 +1755,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1796,7 +1794,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1832,10 +1830,10 @@ } void MTRBindingBindingListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1895,7 +1893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1934,7 +1932,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1973,7 +1971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2009,11 +2007,11 @@ } void MTRAccessControlAclListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2025,7 +2023,7 @@ if (entry_0.subjects.IsNull()) { newElement_0.subjects = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.subjects.Value().begin(); while (iter_3.Next()) { @@ -2045,7 +2043,7 @@ if (entry_0.targets.IsNull()) { newElement_0.targets = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.targets.Value().begin(); while (iter_3.Next()) { @@ -2107,10 +2105,10 @@ } void MTRAccessControlExtensionListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2151,7 +2149,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2190,7 +2188,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2229,7 +2227,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2265,10 +2263,10 @@ } void MTRBridgedActionsActionListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2277,8 +2275,8 @@ newElement_0 = [MTRBridgedActionsClusterActionStruct new]; newElement_0.actionID = [NSNumber numberWithUnsignedShort:entry_0.actionID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.supportedCommands = [NSNumber numberWithUnsignedShort:entry_0.supportedCommands]; @@ -2312,11 +2310,11 @@ } void MTRBridgedActionsEndpointListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2325,10 +2323,10 @@ newElement_0 = [MTRBridgedActionsClusterEndpointListStruct new]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -2376,7 +2374,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2415,7 +2413,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2454,7 +2452,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2519,7 +2517,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2558,7 +2556,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2597,7 +2595,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2636,7 +2634,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2676,7 +2674,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2716,7 +2714,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2752,11 +2750,11 @@ } void MTROtaSoftwareUpdateRequestorDefaultOtaProvidersListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OtaSoftwareUpdateRequestor::Structs::ProviderLocation::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2799,7 +2797,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2839,7 +2837,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2879,7 +2877,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2918,7 +2916,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2957,7 +2955,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2997,7 +2995,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3037,7 +3035,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3076,7 +3074,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3116,7 +3114,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3155,7 +3153,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3194,7 +3192,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3233,7 +3231,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3272,7 +3270,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3311,7 +3309,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3350,7 +3348,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3389,7 +3387,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3429,7 +3427,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3469,7 +3467,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3508,7 +3506,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3547,7 +3545,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3586,7 +3584,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3625,7 +3623,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3664,7 +3662,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3703,7 +3701,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3769,7 +3767,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3808,7 +3806,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3847,7 +3845,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3883,11 +3881,11 @@ } void MTRNetworkCommissioningNetworksListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3928,7 +3926,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3967,7 +3965,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4006,7 +4004,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4045,7 +4043,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4084,7 +4082,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4123,7 +4121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4159,11 +4157,11 @@ } void MTRGeneralDiagnosticsNetworkInterfacesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4171,8 +4169,8 @@ MTRGeneralDiagnosticsClusterNetworkInterfaceType * newElement_0; newElement_0 = [MTRGeneralDiagnosticsClusterNetworkInterfaceType new]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.isOperational = [NSNumber numberWithBool:entry_0.isOperational]; if (entry_0.offPremiseServicesReachableIPv4.IsNull()) { newElement_0.offPremiseServicesReachableIPv4 = nil; @@ -4187,8 +4185,8 @@ [NSNumber numberWithBool:entry_0.offPremiseServicesReachableIPv6.Value()]; } newElement_0.hardwareAddress = [NSData dataWithBytes:entry_0.hardwareAddress.data() - length:entry_0.hardwareAddress.size()]; - { // Scope for our temporary variables + length:entry_0.hardwareAddress.size()]; + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv4Addresses.begin(); while (iter_2.Next()) { @@ -4204,7 +4202,7 @@ } newElement_0.iPv4Addresses = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv6Addresses.begin(); while (iter_2.Next()) { @@ -4253,7 +4251,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4292,7 +4290,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4331,7 +4329,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4370,7 +4368,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4409,7 +4407,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4448,7 +4446,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4484,11 +4482,11 @@ } void MTRSoftwareDiagnosticsThreadMetricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4498,8 +4496,8 @@ newElement_0.id = [NSNumber numberWithUnsignedLongLong:entry_0.id]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } @@ -4550,7 +4548,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4589,7 +4587,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4628,7 +4626,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4664,11 +4662,11 @@ } void MTRThreadNetworkDiagnosticsNeighborTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::NeighborTable::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4726,11 +4724,11 @@ } void MTRThreadNetworkDiagnosticsRouteTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4776,7 +4774,7 @@ } void MTRThreadNetworkDiagnosticsSecurityPolicyStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & + const chip::app::DataModel::Nullable & value) { MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable objCValue; @@ -4807,7 +4805,7 @@ } void MTRThreadNetworkDiagnosticsOperationalDatasetComponentsStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable< + const chip::app::DataModel::Nullable< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::OperationalDatasetComponents::DecodableType> & value) { MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable objCValue; @@ -4853,7 +4851,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4893,7 +4891,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4933,7 +4931,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4973,7 +4971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5012,7 +5010,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5051,7 +5049,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5090,7 +5088,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5129,7 +5127,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5169,7 +5167,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5209,7 +5207,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5248,7 +5246,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5287,7 +5285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5326,7 +5324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5365,7 +5363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5404,7 +5402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5443,7 +5441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5482,7 +5480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5522,7 +5520,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5562,7 +5560,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5598,11 +5596,11 @@ } void MTROperationalCredentialsNOCsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5645,11 +5643,11 @@ } void MTROperationalCredentialsFabricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5661,8 +5659,8 @@ newElement_0.fabricId = [NSNumber numberWithUnsignedLongLong:entry_0.fabricId]; newElement_0.nodeId = [NSNumber numberWithUnsignedLongLong:entry_0.nodeId]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricIndex = [NSNumber numberWithUnsignedChar:entry_0.fabricIndex]; [array_0 addObject:newElement_0]; } @@ -5696,7 +5694,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5736,7 +5734,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5775,7 +5773,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5814,7 +5812,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5850,11 +5848,11 @@ } void MTRGroupKeyManagementGroupKeyMapListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5893,11 +5891,11 @@ } void MTRGroupKeyManagementGroupTableListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5905,7 +5903,7 @@ MTRGroupKeyManagementClusterGroupInfoMapStruct * newElement_0; newElement_0 = [MTRGroupKeyManagementClusterGroupInfoMapStruct new]; newElement_0.groupId = [NSNumber numberWithUnsignedShort:entry_0.groupId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -5923,8 +5921,8 @@ } if (entry_0.groupName.HasValue()) { newElement_0.groupName = [[NSString alloc] initWithBytes:entry_0.groupName.Value().data() - length:entry_0.groupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.groupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.groupName = nil; } @@ -5961,7 +5959,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6000,7 +5998,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6039,7 +6037,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6075,10 +6073,10 @@ } void MTRFixedLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6086,11 +6084,11 @@ MTRFixedLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRFixedLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6123,7 +6121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6162,7 +6160,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6201,7 +6199,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6237,10 +6235,10 @@ } void MTRUserLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6248,11 +6246,11 @@ MTRUserLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRUserLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6285,7 +6283,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6324,7 +6322,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6363,7 +6361,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6402,7 +6400,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6441,7 +6439,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6480,7 +6478,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6516,10 +6514,10 @@ } void MTRModeSelectSupportedModesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6527,10 +6525,10 @@ MTRModeSelectClusterModeOptionStruct * newElement_0; newElement_0 = [MTRModeSelectClusterModeOptionStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.mode = [NSNumber numberWithUnsignedChar:entry_0.mode]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.semanticTags.begin(); while (iter_2.Next()) { @@ -6580,7 +6578,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6619,7 +6617,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6658,7 +6656,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6793,7 +6791,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6832,7 +6830,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6871,7 +6869,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7006,7 +7004,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7045,7 +7043,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7084,7 +7082,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7123,7 +7121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7162,7 +7160,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7201,7 +7199,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7264,7 +7262,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7304,7 +7302,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7344,7 +7342,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7383,7 +7381,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7422,7 +7420,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7461,7 +7459,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7500,7 +7498,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7539,7 +7537,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7578,7 +7576,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7617,7 +7615,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7640,7 +7638,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -7658,7 +7656,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7699,7 +7697,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7740,7 +7738,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7779,7 +7777,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7818,7 +7816,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7857,7 +7855,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7896,7 +7894,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7935,7 +7933,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7974,7 +7972,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8013,7 +8011,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8052,7 +8050,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8091,7 +8089,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8130,7 +8128,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8169,7 +8167,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8208,7 +8206,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8247,7 +8245,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8286,7 +8284,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8325,7 +8323,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8365,7 +8363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8405,7 +8403,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8444,7 +8442,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8483,7 +8481,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8522,7 +8520,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8561,7 +8559,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8600,7 +8598,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8639,7 +8637,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8675,10 +8673,10 @@ } void MTRChannelChannelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8689,22 +8687,22 @@ newElement_0.minorNumber = [NSNumber numberWithUnsignedShort:entry_0.minorNumber]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } if (entry_0.callSign.HasValue()) { newElement_0.callSign = [[NSString alloc] initWithBytes:entry_0.callSign.Value().data() - length:entry_0.callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.callSign = nil; } if (entry_0.affiliateCallSign.HasValue()) { newElement_0.affiliateCallSign = [[NSString alloc] initWithBytes:entry_0.affiliateCallSign.Value().data() - length:entry_0.affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.affiliateCallSign = nil; } @@ -8745,19 +8743,19 @@ } else { objCValue = [MTRChannelClusterLineupInfo new]; objCValue.operatorName = [[NSString alloc] initWithBytes:value.Value().operatorName.data() - length:value.Value().operatorName.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().operatorName.size() + encoding:NSUTF8StringEncoding]; if (value.Value().lineupName.HasValue()) { objCValue.lineupName = [[NSString alloc] initWithBytes:value.Value().lineupName.Value().data() - length:value.Value().lineupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().lineupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.lineupName = nil; } if (value.Value().postalCode.HasValue()) { objCValue.postalCode = [[NSString alloc] initWithBytes:value.Value().postalCode.Value().data() - length:value.Value().postalCode.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().postalCode.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.postalCode = nil; } @@ -8794,22 +8792,22 @@ objCValue.minorNumber = [NSNumber numberWithUnsignedShort:value.Value().minorNumber]; if (value.Value().name.HasValue()) { objCValue.name = [[NSString alloc] initWithBytes:value.Value().name.Value().data() - length:value.Value().name.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().name.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.name = nil; } if (value.Value().callSign.HasValue()) { objCValue.callSign = [[NSString alloc] initWithBytes:value.Value().callSign.Value().data() - length:value.Value().callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.callSign = nil; } if (value.Value().affiliateCallSign.HasValue()) { objCValue.affiliateCallSign = [[NSString alloc] initWithBytes:value.Value().affiliateCallSign.Value().data() - length:value.Value().affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.affiliateCallSign = nil; } @@ -8837,7 +8835,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8876,7 +8874,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8915,7 +8913,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8951,10 +8949,10 @@ } void MTRTargetNavigatorTargetListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8963,8 +8961,8 @@ newElement_0 = [MTRTargetNavigatorClusterTargetInfo new]; newElement_0.identifier = [NSNumber numberWithUnsignedChar:entry_0.identifier]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -8997,7 +8995,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9036,7 +9034,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9075,7 +9073,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9111,7 +9109,7 @@ } void MTRMediaPlaybackSampledPositionStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRMediaPlaybackClusterPlaybackPosition * _Nullable objCValue; if (value.IsNull()) { @@ -9148,7 +9146,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9187,7 +9185,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9226,7 +9224,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9262,10 +9260,10 @@ } void MTRMediaInputInputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9275,11 +9273,11 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.inputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.inputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.descriptionString = [[NSString alloc] initWithBytes:entry_0.description.data() - length:entry_0.description.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.description.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9312,7 +9310,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9351,7 +9349,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9390,7 +9388,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9429,7 +9427,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9468,7 +9466,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9507,7 +9505,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9546,7 +9544,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9585,7 +9583,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9624,7 +9622,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9663,7 +9661,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9702,7 +9700,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9741,7 +9739,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9780,7 +9778,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9816,10 +9814,10 @@ } void MTRAudioOutputOutputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9829,8 +9827,8 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.outputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.outputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9863,7 +9861,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9902,7 +9900,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9941,7 +9939,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9980,7 +9978,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10016,7 +10014,7 @@ } void MTRApplicationLauncherCurrentAppStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRApplicationLauncherClusterApplicationEP * _Nullable objCValue; if (value.IsNull()) { @@ -10026,8 +10024,8 @@ objCValue.application = [MTRApplicationLauncherClusterApplication new]; objCValue.application.catalogVendorId = [NSNumber numberWithUnsignedShort:value.Value().application.catalogVendorId]; objCValue.application.applicationId = [[NSString alloc] initWithBytes:value.Value().application.applicationId.data() - length:value.Value().application.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().application.applicationId.size() + encoding:NSUTF8StringEncoding]; if (value.Value().endpoint.HasValue()) { objCValue.endpoint = [NSNumber numberWithUnsignedShort:value.Value().endpoint.Value()]; } else { @@ -10057,7 +10055,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10096,7 +10094,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10135,7 +10133,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10177,8 +10175,8 @@ objCValue = [MTRApplicationBasicClusterApplicationBasicApplication new]; objCValue.catalogVendorId = [NSNumber numberWithUnsignedShort:value.catalogVendorId]; objCValue.applicationId = [[NSString alloc] initWithBytes:value.applicationId.data() - length:value.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.applicationId.size() + encoding:NSUTF8StringEncoding]; DispatchSuccess(context, objCValue); }; @@ -10202,7 +10200,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10241,7 +10239,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10280,7 +10278,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10319,7 +10317,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10358,7 +10356,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10397,7 +10395,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10436,7 +10434,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10475,7 +10473,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10514,7 +10512,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10553,7 +10551,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10688,7 +10686,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10727,7 +10725,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10763,11 +10761,11 @@ } void MTRTestClusterListStructOctetStringListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10805,11 +10803,11 @@ } void MTRTestClusterListNullablesAndOptionalsStructListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10840,13 +10838,13 @@ newElement_0.nullableString = nil; } else { newElement_0.nullableString = [[NSString alloc] initWithBytes:entry_0.nullableString.Value().data() - length:entry_0.nullableString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableString.Value().size() + encoding:NSUTF8StringEncoding]; } if (entry_0.optionalString.HasValue()) { newElement_0.optionalString = [[NSString alloc] initWithBytes:entry_0.optionalString.Value().data() - length:entry_0.optionalString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalString.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.optionalString = nil; } @@ -10856,8 +10854,8 @@ } else { newElement_0.nullableOptionalString = [[NSString alloc] initWithBytes:entry_0.nullableOptionalString.Value().Value().data() - length:entry_0.nullableOptionalString.Value().Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalString.Value().Value().size() + encoding:NSUTF8StringEncoding]; } } else { newElement_0.nullableOptionalString = nil; @@ -10871,10 +10869,10 @@ newElement_0.nullableStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableStruct.Value().c)]; newElement_0.nullableStruct.d = [NSData dataWithBytes:entry_0.nullableStruct.Value().d.data() - length:entry_0.nullableStruct.Value().d.size()]; + length:entry_0.nullableStruct.Value().d.size()]; newElement_0.nullableStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableStruct.Value().e.data() - length:entry_0.nullableStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableStruct.Value().f.Raw()]; newElement_0.nullableStruct.g = [NSNumber numberWithFloat:entry_0.nullableStruct.Value().g]; newElement_0.nullableStruct.h = [NSNumber numberWithDouble:entry_0.nullableStruct.Value().h]; @@ -10886,10 +10884,10 @@ newElement_0.optionalStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.optionalStruct.Value().c)]; newElement_0.optionalStruct.d = [NSData dataWithBytes:entry_0.optionalStruct.Value().d.data() - length:entry_0.optionalStruct.Value().d.size()]; + length:entry_0.optionalStruct.Value().d.size()]; newElement_0.optionalStruct.e = [[NSString alloc] initWithBytes:entry_0.optionalStruct.Value().e.data() - length:entry_0.optionalStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.optionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.optionalStruct.Value().f.Raw()]; newElement_0.optionalStruct.g = [NSNumber numberWithFloat:entry_0.optionalStruct.Value().g]; newElement_0.optionalStruct.h = [NSNumber numberWithDouble:entry_0.optionalStruct.Value().h]; @@ -10909,11 +10907,11 @@ [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableOptionalStruct.Value().Value().c)]; newElement_0.nullableOptionalStruct.d = [NSData dataWithBytes:entry_0.nullableOptionalStruct.Value().Value().d.data() - length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; + length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; newElement_0.nullableOptionalStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableOptionalStruct.Value().Value().e.data() - length:entry_0.nullableOptionalStruct.Value().Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalStruct.Value().Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableOptionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableOptionalStruct.Value().Value().f.Raw()]; newElement_0.nullableOptionalStruct.g = @@ -10927,7 +10925,7 @@ if (entry_0.nullableList.IsNull()) { newElement_0.nullableList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.nullableList.Value().begin(); while (iter_3.Next()) { @@ -10945,7 +10943,7 @@ } } if (entry_0.optionalList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.optionalList.Value().begin(); while (iter_3.Next()) { @@ -10968,7 +10966,7 @@ if (entry_0.nullableOptionalList.Value().IsNull()) { newElement_0.nullableOptionalList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_4 = [NSMutableArray new]; auto iter_4 = entry_0.nullableOptionalList.Value().Value().begin(); while (iter_4.Next()) { @@ -11052,7 +11050,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11088,10 +11086,10 @@ } void MTRTestClusterListFabricScopedListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11122,22 +11120,22 @@ newElement_0.nullableOptionalFabricSensitiveInt8u = nil; } newElement_0.fabricSensitiveCharString = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveCharString.data() - length:entry_0.fabricSensitiveCharString.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveCharString.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct = [MTRTestClusterClusterSimpleStruct new]; newElement_0.fabricSensitiveStruct.a = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.a]; newElement_0.fabricSensitiveStruct.b = [NSNumber numberWithBool:entry_0.fabricSensitiveStruct.b]; newElement_0.fabricSensitiveStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.fabricSensitiveStruct.c)]; newElement_0.fabricSensitiveStruct.d = [NSData dataWithBytes:entry_0.fabricSensitiveStruct.d.data() - length:entry_0.fabricSensitiveStruct.d.size()]; + length:entry_0.fabricSensitiveStruct.d.size()]; newElement_0.fabricSensitiveStruct.e = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveStruct.e.data() - length:entry_0.fabricSensitiveStruct.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveStruct.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct.f = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.f.Raw()]; newElement_0.fabricSensitiveStruct.g = [NSNumber numberWithFloat:entry_0.fabricSensitiveStruct.g]; newElement_0.fabricSensitiveStruct.h = [NSNumber numberWithDouble:entry_0.fabricSensitiveStruct.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.fabricSensitiveInt8uList.begin(); while (iter_2.Next()) { @@ -11295,7 +11293,7 @@ } void MTRTestClusterNullableStructStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRTestClusterClusterSimpleStruct * _Nullable objCValue; if (value.IsNull()) { @@ -11307,8 +11305,8 @@ objCValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value().c)]; objCValue.d = [NSData dataWithBytes:value.Value().d.data() length:value.Value().d.size()]; objCValue.e = [[NSString alloc] initWithBytes:value.Value().e.data() - length:value.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().e.size() + encoding:NSUTF8StringEncoding]; objCValue.f = [NSNumber numberWithUnsignedChar:value.Value().f.Raw()]; objCValue.g = [NSNumber numberWithFloat:value.Value().g]; objCValue.h = [NSNumber numberWithDouble:value.Value().h]; @@ -11336,7 +11334,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11375,7 +11373,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11414,7 +11412,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11474,8 +11472,8 @@ } { response.groupName = [[NSString alloc] initWithBytes:data.groupName.data() - length:data.groupName.size() - encoding:NSUTF8StringEncoding]; + length:data.groupName.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11492,7 +11490,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupList.begin(); while (iter_0.Next()) { @@ -11564,15 +11562,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11580,7 +11578,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11592,7 +11590,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11697,7 +11695,7 @@ } { if (data.sceneList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.sceneList.Value().begin(); while (iter_1.Next()) { @@ -11759,15 +11757,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11775,7 +11773,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11787,7 +11785,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11861,8 +11859,8 @@ { if (data.imageURI.HasValue()) { response.imageURI = [[NSString alloc] initWithBytes:data.imageURI.Value().data() - length:data.imageURI.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.imageURI.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.imageURI = nil; } @@ -11877,8 +11875,8 @@ { if (data.softwareVersionString.HasValue()) { response.softwareVersionString = [[NSString alloc] initWithBytes:data.softwareVersionString.Value().data() - length:data.softwareVersionString.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.softwareVersionString.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.softwareVersionString = nil; } @@ -11900,7 +11898,7 @@ { if (data.metadataForRequestor.HasValue()) { response.metadataForRequestor = [NSData dataWithBytes:data.metadataForRequestor.Value().data() - length:data.metadataForRequestor.Value().size()]; + length:data.metadataForRequestor.Value().size()]; } else { response.metadataForRequestor = nil; } @@ -11930,8 +11928,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11945,8 +11943,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11960,8 +11958,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11976,15 +11974,15 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } } { if (data.wiFiScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.wiFiScanResults.Value().begin(); while (iter_1.Next()) { @@ -12012,7 +12010,7 @@ } { if (data.threadScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.threadScanResults.Value().begin(); while (iter_1.Next()) { @@ -12022,12 +12020,12 @@ newElement_1.panId = [NSNumber numberWithUnsignedShort:entry_1.panId]; newElement_1.extendedPanId = [NSNumber numberWithUnsignedLongLong:entry_1.extendedPanId]; newElement_1.networkName = [[NSString alloc] initWithBytes:entry_1.networkName.data() - length:entry_1.networkName.size() - encoding:NSUTF8StringEncoding]; + length:entry_1.networkName.size() + encoding:NSUTF8StringEncoding]; newElement_1.channel = [NSNumber numberWithUnsignedShort:entry_1.channel]; newElement_1.version = [NSNumber numberWithUnsignedChar:entry_1.version]; newElement_1.extendedAddress = [NSData dataWithBytes:entry_1.extendedAddress.data() - length:entry_1.extendedAddress.size()]; + length:entry_1.extendedAddress.size()]; newElement_1.rssi = [NSNumber numberWithChar:entry_1.rssi]; newElement_1.lqi = [NSNumber numberWithUnsignedChar:entry_1.lqi]; [array_1 addObject:newElement_1]; @@ -12056,8 +12054,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12082,8 +12080,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12123,7 +12121,7 @@ auto * response = [MTROperationalCredentialsClusterAttestationResponseParams new]; { response.attestationElements = [NSData dataWithBytes:data.attestationElements.data() - length:data.attestationElements.size()]; + length:data.attestationElements.size()]; } { response.signature = [NSData dataWithBytes:data.signature.data() length:data.signature.size()]; @@ -12150,7 +12148,7 @@ } { response.attestationSignature = [NSData dataWithBytes:data.attestationSignature.data() - length:data.attestationSignature.size()]; + length:data.attestationSignature.size()]; } DispatchSuccess(context, response); }; @@ -12172,8 +12170,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12194,7 +12192,7 @@ response.groupKeySet.epochKey0 = nil; } else { response.groupKeySet.epochKey0 = [NSData dataWithBytes:data.groupKeySet.epochKey0.Value().data() - length:data.groupKeySet.epochKey0.Value().size()]; + length:data.groupKeySet.epochKey0.Value().size()]; } if (data.groupKeySet.epochStartTime0.IsNull()) { response.groupKeySet.epochStartTime0 = nil; @@ -12205,7 +12203,7 @@ response.groupKeySet.epochKey1 = nil; } else { response.groupKeySet.epochKey1 = [NSData dataWithBytes:data.groupKeySet.epochKey1.Value().data() - length:data.groupKeySet.epochKey1.Value().size()]; + length:data.groupKeySet.epochKey1.Value().size()]; } if (data.groupKeySet.epochStartTime1.IsNull()) { response.groupKeySet.epochStartTime1 = nil; @@ -12216,7 +12214,7 @@ response.groupKeySet.epochKey2 = nil; } else { response.groupKeySet.epochKey2 = [NSData dataWithBytes:data.groupKeySet.epochKey2.Value().data() - length:data.groupKeySet.epochKey2.Value().size()]; + length:data.groupKeySet.epochKey2.Value().size()]; } if (data.groupKeySet.epochStartTime2.IsNull()) { response.groupKeySet.epochStartTime2 = nil; @@ -12232,7 +12230,7 @@ { auto * response = [MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupKeySetIDs.begin(); while (iter_0.Next()) { @@ -12379,8 +12377,8 @@ response.userName = nil; } else { response.userName = [[NSString alloc] initWithBytes:data.userName.Value().data() - length:data.userName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.userName.Value().size() + encoding:NSUTF8StringEncoding]; } } { @@ -12415,7 +12413,7 @@ if (data.credentials.IsNull()) { response.credentials = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.credentials.Value().begin(); while (iter_1.Next()) { @@ -12535,7 +12533,7 @@ response.modeForSequence = [NSNumber numberWithUnsignedChar:data.modeForSequence.Raw()]; } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.transitions.begin(); while (iter_0.Next()) { @@ -12576,8 +12574,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12595,8 +12593,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12614,8 +12612,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12643,8 +12641,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12671,8 +12669,8 @@ auto * response = [MTRAccountLoginClusterGetSetupPINResponseParams new]; { response.setupPIN = [[NSString alloc] initWithBytes:data.setupPIN.data() - length:data.setupPIN.size() - encoding:NSUTF8StringEncoding]; + length:data.setupPIN.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -12712,7 +12710,7 @@ { auto * response = [MTRTestClusterClusterTestStructArrayArgumentResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -12727,12 +12725,12 @@ newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() - length:entry_0.c.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.c.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.d.begin(); while (iter_2.Next()) { @@ -12744,8 +12742,8 @@ newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() - length:entry_2.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_2.e.size() + encoding:NSUTF8StringEncoding]; newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; @@ -12758,7 +12756,7 @@ } newElement_0.d = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.e.begin(); while (iter_2.Next()) { @@ -12774,7 +12772,7 @@ } newElement_0.e = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.f.begin(); while (iter_2.Next()) { @@ -12790,7 +12788,7 @@ } newElement_0.f = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.g.begin(); while (iter_2.Next()) { @@ -12817,7 +12815,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg2.begin(); while (iter_0.Next()) { @@ -12829,8 +12827,8 @@ newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() - length:entry_0.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; @@ -12845,7 +12843,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg3.begin(); while (iter_0.Next()) { @@ -12863,7 +12861,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg4.begin(); while (iter_0.Next()) { @@ -12894,7 +12892,7 @@ { auto * response = [MTRTestClusterClusterTestListInt8UReverseResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -13009,8 +13007,8 @@ { if (data.nullableStringValue.HasValue()) { response.nullableStringValue = [[NSString alloc] initWithBytes:data.nullableStringValue.Value().data() - length:data.nullableStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableStringValue = nil; } @@ -13021,8 +13019,8 @@ { if (data.optionalStringValue.HasValue()) { response.optionalStringValue = [[NSString alloc] initWithBytes:data.optionalStringValue.Value().data() - length:data.optionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.optionalStringValue = nil; } @@ -13040,8 +13038,8 @@ { if (data.nullableOptionalStringValue.HasValue()) { response.nullableOptionalStringValue = [[NSString alloc] initWithBytes:data.nullableOptionalStringValue.Value().data() - length:data.nullableOptionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableOptionalStringValue = nil; } @@ -13057,10 +13055,10 @@ response.nullableStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableStructValue.Value().c)]; response.nullableStructValue.d = [NSData dataWithBytes:data.nullableStructValue.Value().d.data() - length:data.nullableStructValue.Value().d.size()]; + length:data.nullableStructValue.Value().d.size()]; response.nullableStructValue.e = [[NSString alloc] initWithBytes:data.nullableStructValue.Value().e.data() - length:data.nullableStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableStructValue.Value().f.Raw()]; response.nullableStructValue.g = [NSNumber numberWithFloat:data.nullableStructValue.Value().g]; response.nullableStructValue.h = [NSNumber numberWithDouble:data.nullableStructValue.Value().h]; @@ -13079,10 +13077,10 @@ response.optionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.optionalStructValue.Value().c)]; response.optionalStructValue.d = [NSData dataWithBytes:data.optionalStructValue.Value().d.data() - length:data.optionalStructValue.Value().d.size()]; + length:data.optionalStructValue.Value().d.size()]; response.optionalStructValue.e = [[NSString alloc] initWithBytes:data.optionalStructValue.Value().e.data() - length:data.optionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.optionalStructValue.f = [NSNumber numberWithUnsignedChar:data.optionalStructValue.Value().f.Raw()]; response.optionalStructValue.g = [NSNumber numberWithFloat:data.optionalStructValue.Value().g]; response.optionalStructValue.h = [NSNumber numberWithDouble:data.optionalStructValue.Value().h]; @@ -13108,11 +13106,11 @@ response.nullableOptionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableOptionalStructValue.Value().c)]; response.nullableOptionalStructValue.d = [NSData dataWithBytes:data.nullableOptionalStructValue.Value().d.data() - length:data.nullableOptionalStructValue.Value().d.size()]; + length:data.nullableOptionalStructValue.Value().d.size()]; response.nullableOptionalStructValue.e = [[NSString alloc] initWithBytes:data.nullableOptionalStructValue.Value().e.data() - length:data.nullableOptionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableOptionalStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableOptionalStructValue.Value().f.Raw()]; response.nullableOptionalStructValue.g = [NSNumber numberWithFloat:data.nullableOptionalStructValue.Value().g]; @@ -13126,7 +13124,7 @@ } { if (data.nullableListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableListValue.Value().begin(); while (iter_1.Next()) { @@ -13151,7 +13149,7 @@ } { if (data.optionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.optionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13183,7 +13181,7 @@ } { if (data.nullableOptionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableOptionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13227,8 +13225,8 @@ response.arg1.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg1.c)]; response.arg1.d = [NSData dataWithBytes:data.arg1.d.data() length:data.arg1.d.size()]; response.arg1.e = [[NSString alloc] initWithBytes:data.arg1.e.data() - length:data.arg1.e.size() - encoding:NSUTF8StringEncoding]; + length:data.arg1.e.size() + encoding:NSUTF8StringEncoding]; response.arg1.f = [NSNumber numberWithUnsignedChar:data.arg1.f.Raw()]; response.arg1.g = [NSNumber numberWithFloat:data.arg1.g]; response.arg1.h = [NSNumber numberWithDouble:data.arg1.h]; @@ -14277,7 +14275,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTAApplyUpdateActionAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14292,7 +14290,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14332,7 +14330,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTADownloadProtocolAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14442,7 +14440,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14454,11 +14452,11 @@ }; void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14499,7 +14497,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAChangeReasonEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14514,7 +14512,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14554,7 +14552,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAUpdateStateEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15293,7 +15291,7 @@ } void MTRNullableNetworkCommissioningClusterNetworkCommissioningStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15309,7 +15307,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15929,7 +15927,7 @@ } void MTRNullableThreadNetworkDiagnosticsClusterThreadConnectionStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15945,7 +15943,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15986,7 +15984,7 @@ } void MTRNullableWiFiNetworkDiagnosticsClusterAssociationFailureCauseAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16001,7 +15999,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16258,7 +16256,7 @@ } void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16270,11 +16268,11 @@ }; void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16367,7 +16365,7 @@ } void MTRNullableOperationalCredentialsClusterOperationalCertStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -17678,7 +17676,7 @@ } void MTRNullablePumpConfigurationAndControlClusterPumpOperationModeAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19148,7 +19146,7 @@ } void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19160,11 +19158,11 @@ }; void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -19364,7 +19362,7 @@ } void MTRNullableMessagingClusterMessagingControlEnhancedConfirmationAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19379,7 +19377,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index aad3d6c655fa95..da6fb7fcf7a1e4 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::BarrierControlGoToPercent::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlGoToPercent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::BarrierControlStop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlStop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -160,7 +155,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -190,7 +182,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -200,7 +191,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -210,7 +200,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,7 +209,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToHueAndSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -230,7 +218,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -240,7 +227,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -250,7 +236,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -260,7 +245,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -270,7 +254,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -280,7 +263,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -290,7 +272,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedStepHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedStepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -300,7 +281,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHueAndSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -311,7 +291,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ColorLoopSet::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ColorLoopSet::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -321,7 +300,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMoveStep::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMoveStep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -331,7 +309,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -341,7 +318,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -379,7 +355,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -417,7 +392,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -427,7 +401,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -437,7 +410,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockWithTimeout::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockWithTimeout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -447,7 +419,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -457,7 +428,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -467,7 +437,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -477,7 +446,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetYearDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -487,7 +455,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetYearDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -497,7 +464,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -507,7 +473,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -517,7 +482,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -527,7 +491,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetCredential::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -537,7 +500,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetCredentialStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetCredentialStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -547,7 +509,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearCredential::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -585,7 +546,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -623,7 +583,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -633,7 +592,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -643,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -682,7 +639,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -720,7 +676,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -730,7 +685,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -740,7 +694,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -750,7 +703,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -788,7 +740,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -798,7 +749,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -808,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -818,7 +767,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +776,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -838,7 +785,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -876,7 +822,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -886,7 +831,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -924,7 +868,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -962,7 +905,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -972,7 +914,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -982,7 +923,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -992,7 +932,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1002,7 +941,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1012,7 +950,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1022,7 +959,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1032,7 +968,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1070,7 +1005,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1108,7 +1042,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1118,7 +1051,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1128,7 +1060,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1138,7 +1069,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameInput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1176,7 +1106,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1214,7 +1143,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1224,7 +1152,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1235,7 +1162,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1246,7 +1172,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1256,7 +1181,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1266,7 +1190,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1304,7 +1227,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1343,7 +1265,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1353,7 +1274,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1363,7 +1283,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1373,7 +1292,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1383,7 +1301,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1393,7 +1310,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1431,7 +1347,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1442,7 +1357,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1453,7 +1367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1463,7 +1376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1473,7 +1385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1483,7 +1394,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1493,7 +1403,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1503,7 +1412,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1542,7 +1450,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1552,7 +1459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1562,7 +1468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1572,7 +1477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1582,7 +1486,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1592,7 +1495,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1602,7 +1504,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1640,7 +1541,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1678,7 +1578,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1716,7 +1615,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Test::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Test::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1726,7 +1624,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNotHandled::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNotHandled::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1736,7 +1633,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSpecific::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSpecific::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1746,7 +1642,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestAddArguments::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestAddArguments::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1756,7 +1651,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1766,7 +1660,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1777,7 +1670,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1788,7 +1680,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1798,7 +1689,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructListArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1809,7 +1699,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListNestedStructListArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1820,7 +1709,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UReverseRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UReverseRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1830,7 +1718,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEnumsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEnumsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1840,7 +1727,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNullableOptionalRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNullableOptionalRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1850,7 +1736,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SimpleStructEchoRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SimpleStructEchoRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1860,7 +1745,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TimedInvokeRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TimedInvokeRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1870,7 +1754,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSimpleOptionalArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSimpleOptionalArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1881,7 +1764,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestEventRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1891,7 +1773,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestFabricScopedEventRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestFabricScopedEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1930,7 +1811,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1968,7 +1848,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2006,7 +1885,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2044,7 +1922,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2054,7 +1931,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2064,7 +1940,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2074,7 +1949,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2084,7 +1958,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2094,7 +1967,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2104,7 +1976,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -2137,7 +2008,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index d14a3c2eb39725..3d55fab073d3bb 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::GetSetupPIN::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSetupPIN::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,7 +60,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Login::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Login::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,7 +69,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Logout::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Logout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,7 +106,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -120,7 +116,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -159,7 +154,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -169,7 +163,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -179,7 +172,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -217,7 +209,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectOutput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -255,7 +246,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeChannelByNumber::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannelByNumber::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -265,7 +255,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipChannel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -303,7 +292,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -341,7 +329,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -351,7 +338,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -389,7 +375,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -427,7 +412,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -437,7 +421,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -447,7 +430,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -486,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -524,7 +505,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -534,7 +514,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -544,7 +523,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -554,7 +532,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -592,7 +569,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -602,7 +578,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -612,7 +587,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -622,7 +596,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -632,7 +605,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -642,7 +614,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +651,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -718,7 +688,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -756,7 +725,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -766,7 +734,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -776,7 +743,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -786,7 +752,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -796,7 +761,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -806,7 +770,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +779,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +788,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -864,7 +825,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -902,7 +862,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -912,7 +871,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -922,7 +880,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -960,7 +917,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Play::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Play::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -970,7 +926,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Pause::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Pause::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -980,7 +935,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopPlayback::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopPlayback::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1018,7 +972,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1056,7 +1009,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1066,7 +1018,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1077,7 +1028,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1088,7 +1038,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1098,7 +1047,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1108,7 +1056,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1146,7 +1093,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1185,7 +1131,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1195,7 +1140,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1205,7 +1149,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1243,7 +1186,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1254,7 +1196,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1265,7 +1206,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1275,7 +1215,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1285,7 +1224,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1295,7 +1233,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1305,7 +1242,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1315,7 +1251,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1354,7 +1289,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1364,7 +1298,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1374,7 +1307,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1384,7 +1316,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1394,7 +1325,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1404,7 +1334,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1414,7 +1343,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1452,7 +1380,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1490,7 +1417,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Test::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Test::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1500,7 +1426,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNotHandled::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNotHandled::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1510,7 +1435,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSpecific::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSpecific::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1520,7 +1444,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestAddArguments::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestAddArguments::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1530,7 +1453,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1540,7 +1462,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1551,7 +1472,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListStructArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListStructArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1562,7 +1482,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1572,7 +1491,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNestedStructListArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1583,7 +1501,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListNestedStructListArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListNestedStructListArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1594,7 +1511,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestListInt8UReverseRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestListInt8UReverseRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1604,7 +1520,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEnumsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEnumsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1614,7 +1529,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestNullableOptionalRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestNullableOptionalRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1624,7 +1538,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SimpleStructEchoRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SimpleStructEchoRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1634,7 +1547,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TimedInvokeRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TimedInvokeRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1644,7 +1556,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestSimpleOptionalArgumentRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestSimpleOptionalArgumentRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1655,7 +1566,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestEventRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1665,7 +1575,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TestEmitTestFabricScopedEventRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEmitTestFabricScopedEventRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1704,7 +1613,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1742,7 +1650,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1752,7 +1659,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1762,7 +1668,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1795,7 +1700,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AccountLogin::Id: diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index 69e83862082ff3..c25c1486217cb1 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -401,7 +386,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -411,7 +395,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -421,7 +404,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,7 +413,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -451,7 +431,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -461,7 +440,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -471,7 +449,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,7 +486,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -519,7 +495,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -530,7 +505,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,7 +515,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -551,7 +524,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -561,7 +533,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -599,7 +570,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -609,7 +579,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +588,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -657,7 +625,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -668,7 +635,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -679,7 +645,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -689,7 +654,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -699,7 +663,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -709,7 +672,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +681,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,7 +690,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -763,7 +723,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index 8c14fda2574756..c8f10822dc4a20 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,7 +477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,7 +486,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -519,7 +495,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -529,7 +504,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -539,7 +513,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -549,7 +522,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,7 +568,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +578,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +588,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -629,7 +597,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -639,7 +606,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +643,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -716,7 +681,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -726,7 +690,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,7 +699,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,7 +736,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -785,7 +746,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -796,7 +756,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -806,7 +765,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +774,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +783,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -836,7 +792,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,7 +801,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +839,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -895,7 +848,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -905,7 +857,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -915,7 +866,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -925,7 +875,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -935,7 +884,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -945,7 +893,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -983,7 +930,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1021,7 +967,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1059,7 +1004,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1092,7 +1036,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index 8c14fda2574756..c8f10822dc4a20 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,7 +477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,7 +486,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -519,7 +495,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -529,7 +504,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -539,7 +513,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -549,7 +522,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,7 +568,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +578,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +588,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -629,7 +597,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -639,7 +606,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +643,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -716,7 +681,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -726,7 +690,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,7 +699,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,7 +736,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -785,7 +746,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -796,7 +756,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -806,7 +765,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +774,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +783,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -836,7 +792,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,7 +801,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +839,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -895,7 +848,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -905,7 +857,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -915,7 +866,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -925,7 +875,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -935,7 +884,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -945,7 +893,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -983,7 +930,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1021,7 +967,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1059,7 +1004,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1092,7 +1036,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index d5b62b3f32253f..79785a5101328f 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -618,7 +590,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,7 +599,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -666,7 +636,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -688,7 +656,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -698,7 +665,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -708,7 +674,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -718,7 +683,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -728,7 +692,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -738,7 +701,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -777,7 +739,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -787,7 +748,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -797,7 +757,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -807,7 +766,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -817,7 +775,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -827,7 +784,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,7 +793,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,7 +830,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,7 +867,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -951,7 +904,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -984,7 +936,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index d5b62b3f32253f..79785a5101328f 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -618,7 +590,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -628,7 +599,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -666,7 +636,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -688,7 +656,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -698,7 +665,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -708,7 +674,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -718,7 +683,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -728,7 +692,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -738,7 +701,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -777,7 +739,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -787,7 +748,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -797,7 +757,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -807,7 +766,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -817,7 +775,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -827,7 +784,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,7 +793,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,7 +830,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,7 +867,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -951,7 +904,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -984,7 +936,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index 4fc2a32bf18207..f6b7e41892ec6d 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,7 +477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -509,7 +486,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -519,7 +495,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -529,7 +504,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -539,7 +513,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -549,7 +522,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,7 +568,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +578,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +588,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -629,7 +597,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -639,7 +606,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +643,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -716,7 +681,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -726,7 +690,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -736,7 +699,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -774,7 +736,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -785,7 +746,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -796,7 +756,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -806,7 +765,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +774,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +783,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -836,7 +792,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -846,7 +801,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +839,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -923,7 +876,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -961,7 +913,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -994,7 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -828,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index f969661e38df23..fa55c85f11d0ab 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,7 +693,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -739,7 +702,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -749,7 +711,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -759,7 +720,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -769,7 +729,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -779,7 +738,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -817,7 +775,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -855,7 +812,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,7 +849,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -931,7 +886,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -964,7 +918,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index 4e086ddca4e8ed..e211c30d64b61d 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,7 +693,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -739,7 +702,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -749,7 +711,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -759,7 +720,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -769,7 +729,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -779,7 +738,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -817,7 +775,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -855,7 +812,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,7 +849,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -931,7 +886,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -941,7 +895,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -951,7 +904,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -961,7 +913,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -971,7 +922,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -981,7 +931,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -991,7 +940,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1024,7 +972,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp index dbcfc737576d37..8e224751aa3434 100644 --- a/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp @@ -46,7 +46,7 @@ namespace Clusters { void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { default: diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index 8395d4a0da6cdc..78b3cadb3fcd5a 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -451,7 +431,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,7 +477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -510,7 +487,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,7 +515,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -579,7 +552,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -618,7 +590,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -629,7 +600,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -690,7 +655,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,7 +693,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -767,7 +730,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -805,7 +767,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -838,7 +799,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index d0d448949c10c9..b4f1b5e861f23d 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -142,7 +136,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -152,7 +145,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -162,7 +154,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -172,7 +163,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToHueAndSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -182,7 +172,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -192,7 +181,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -202,7 +190,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -212,7 +199,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -222,7 +208,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -232,7 +217,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -242,7 +226,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedStepHue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedStepHue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -252,7 +235,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::EnhancedMoveToHueAndSaturation::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::EnhancedMoveToHueAndSaturation::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -263,7 +245,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ColorLoopSet::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ColorLoopSet::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -273,7 +254,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMoveStep::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMoveStep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -283,7 +263,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -293,7 +272,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColorTemperature::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColorTemperature::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -331,7 +309,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -369,7 +346,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -407,7 +383,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -417,7 +392,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -427,7 +401,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -466,7 +439,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -504,7 +476,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -514,7 +485,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -524,7 +494,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -534,7 +503,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -572,7 +540,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -582,7 +549,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -592,7 +558,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -602,7 +567,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -612,7 +576,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -622,7 +585,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +622,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +631,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -708,7 +668,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -718,7 +677,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -728,7 +686,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -738,7 +695,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -748,7 +704,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -758,7 +713,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -768,7 +722,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -778,7 +731,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +768,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +777,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,7 +787,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -848,7 +797,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -858,7 +806,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -868,7 +815,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -906,7 +852,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -945,7 +890,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -955,7 +899,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -965,7 +908,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -975,7 +917,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -985,7 +926,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -995,7 +935,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1033,7 +972,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1044,7 +982,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1055,7 +992,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1065,7 +1001,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1075,7 +1010,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1085,7 +1019,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1095,7 +1028,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1105,7 +1037,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1144,7 +1075,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1182,7 +1112,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1220,7 +1149,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1253,7 +1181,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index bb60e2b0702582..286d6cdea46144 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -160,7 +155,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockDoor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockDoor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UnlockWithTimeout::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UnlockWithTimeout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -190,7 +182,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -200,7 +191,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeekDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeekDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -210,7 +200,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetYearDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -220,7 +209,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetYearDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -230,7 +218,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearYearDaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearYearDaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -240,7 +227,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetHolidaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -250,7 +236,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetHolidaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -260,7 +245,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearHolidaySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearHolidaySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -270,7 +254,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -280,7 +263,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -290,7 +272,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearUser::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearUser::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -300,7 +281,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetCredential::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -310,7 +290,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetCredentialStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetCredentialStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -320,7 +299,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearCredential::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearCredential::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -358,7 +336,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -396,7 +373,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -406,7 +382,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -416,7 +391,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -455,7 +429,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -493,7 +466,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -503,7 +475,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -513,7 +484,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,7 +493,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -561,7 +530,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -571,7 +539,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -581,7 +548,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -591,7 +557,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -601,7 +566,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -611,7 +575,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -649,7 +612,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -687,7 +649,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -697,7 +658,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -708,7 +668,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +678,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -729,7 +687,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -739,7 +696,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -777,7 +733,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -816,7 +771,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -826,7 +780,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -836,7 +789,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -874,7 +826,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +836,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -896,7 +846,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -906,7 +855,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -916,7 +864,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -926,7 +873,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -936,7 +882,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -946,7 +891,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -985,7 +929,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1023,7 +966,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1061,7 +1003,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1094,7 +1035,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp index fca78db5f9cfa4..9c3ab668630c31 100644 --- a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -89,7 +88,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -99,7 +97,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,7 +106,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -148,7 +144,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -158,7 +153,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -169,7 +163,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -190,7 +182,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -200,7 +191,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -238,7 +228,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -249,7 +238,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -260,7 +248,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -270,7 +257,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -280,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -290,7 +275,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -300,7 +284,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -334,7 +317,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::DiagnosticLogs::Id: diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index 42ddd96e8e5862..913d95c58e01c4 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -171,7 +165,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,7 +211,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,7 +220,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -287,7 +275,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -298,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -309,7 +295,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -319,7 +304,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -329,7 +313,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,7 +350,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -377,7 +359,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -388,7 +369,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -427,7 +407,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -438,7 +417,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -449,7 +427,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -459,7 +436,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -469,7 +445,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +454,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +463,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -499,7 +472,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -533,7 +505,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index b802854e9e1d4d..63bf89de19d0d8 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -171,7 +165,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,7 +211,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,7 +220,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -287,7 +275,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -298,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -309,7 +295,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -319,7 +304,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -329,7 +313,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -367,7 +350,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -406,7 +388,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -417,7 +398,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -428,7 +408,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -438,7 +417,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -448,7 +426,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -458,7 +435,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,7 +444,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,7 +453,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -512,7 +486,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index 00aaea9738678f..a0872ecb9fcae9 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -218,7 +210,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -256,7 +247,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,7 +256,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,7 +265,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -517,7 +496,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -527,7 +505,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -537,7 +514,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -547,7 +523,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -557,7 +532,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -567,7 +541,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -577,7 +550,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -625,7 +596,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -663,7 +633,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -673,7 +642,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,7 +652,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -695,7 +662,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -705,7 +671,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -715,7 +680,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -753,7 +717,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -763,7 +726,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -773,7 +735,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -783,7 +744,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -793,7 +753,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -803,7 +762,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -841,7 +799,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -852,7 +809,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -863,7 +819,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -873,7 +828,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -883,7 +837,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,7 +846,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -903,7 +855,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,7 +864,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -952,7 +902,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -962,7 +911,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -972,7 +920,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -982,7 +929,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -992,7 +938,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1002,7 +947,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1012,7 +956,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1050,7 +993,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1088,7 +1030,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1126,7 +1067,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1164,7 +1104,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1174,7 +1113,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1184,7 +1122,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1194,7 +1131,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1204,7 +1140,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1214,7 +1149,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1224,7 +1158,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1257,7 +1190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index 00aaea9738678f..a0872ecb9fcae9 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepColor::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepColor::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -218,7 +210,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -256,7 +247,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -266,7 +256,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,7 +265,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -517,7 +496,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -527,7 +505,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -537,7 +514,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -547,7 +523,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -557,7 +532,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -567,7 +541,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -577,7 +550,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -625,7 +596,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeToMode::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeToMode::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -663,7 +633,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -673,7 +642,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,7 +652,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -695,7 +662,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -705,7 +671,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -715,7 +680,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -753,7 +717,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -763,7 +726,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -773,7 +735,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -783,7 +744,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OffWithEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OffWithEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -793,7 +753,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithRecallGlobalScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithRecallGlobalScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -803,7 +762,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OnWithTimedOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OnWithTimedOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -841,7 +799,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -852,7 +809,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -863,7 +819,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -873,7 +828,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -883,7 +837,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -893,7 +846,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -903,7 +855,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -913,7 +864,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -952,7 +902,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -962,7 +911,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -972,7 +920,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -982,7 +929,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -992,7 +938,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1002,7 +947,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1012,7 +956,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1050,7 +993,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1088,7 +1030,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1126,7 +1067,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1164,7 +1104,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1174,7 +1113,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1184,7 +1122,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1194,7 +1131,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1204,7 +1140,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1214,7 +1149,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1224,7 +1158,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1257,7 +1190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 801f2c71341be4..563a81ce02f9c0 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -171,7 +165,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,7 +211,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,7 +220,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -325,7 +312,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -335,7 +321,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -345,7 +330,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -355,7 +339,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -365,7 +348,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -375,7 +357,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -385,7 +366,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -423,7 +403,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -433,7 +412,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -444,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -454,7 +431,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -464,7 +440,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -502,7 +477,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -541,7 +515,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -551,7 +524,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -561,7 +533,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -599,7 +570,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -610,7 +580,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -621,7 +590,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -631,7 +599,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -641,7 +608,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -651,7 +617,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -661,7 +626,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -671,7 +635,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -710,7 +673,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -743,7 +705,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 16072d2b6dafd1..84feffcd20b221 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -171,7 +165,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,7 +211,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,7 +220,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -325,7 +312,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -336,7 +322,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -346,7 +331,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -356,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -394,7 +377,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -433,7 +415,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -444,7 +425,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -455,7 +435,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -465,7 +444,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -475,7 +453,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -485,7 +462,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -495,7 +471,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -505,7 +480,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -544,7 +518,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -577,7 +550,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index a132a0357cb44c..da013966f443ef 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -374,7 +359,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -384,7 +368,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -394,7 +377,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -432,7 +414,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -443,7 +424,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -454,7 +434,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -464,7 +443,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -474,7 +452,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -484,7 +461,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -494,7 +470,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -504,7 +479,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -538,7 +512,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index dfe8cbdabafb85..6b2d981d04833c 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -160,7 +155,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -257,7 +248,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -267,7 +257,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -287,7 +275,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -297,7 +284,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -335,7 +321,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -394,7 +377,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -405,7 +387,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -415,7 +396,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -425,7 +405,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -463,7 +442,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -473,7 +451,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -484,7 +461,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -523,7 +499,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -534,7 +509,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -545,7 +519,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -555,7 +528,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -565,7 +537,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -575,7 +546,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -585,7 +555,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -595,7 +564,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -634,7 +602,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -644,7 +611,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -654,7 +620,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -664,7 +629,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -674,7 +638,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -684,7 +647,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -694,7 +656,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -732,7 +693,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SetpointRaiseLower::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetpointRaiseLower::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -742,7 +702,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetWeeklySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -752,7 +711,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetWeeklySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -762,7 +720,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ClearWeeklySchedule::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ClearWeeklySchedule::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +752,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index 86ba13c411cf5d..2fd824f91dd19b 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::GetSetupPIN::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSetupPIN::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -61,7 +60,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Login::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Login::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -71,7 +69,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Logout::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Logout::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -109,7 +106,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -120,7 +116,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -131,7 +126,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -170,7 +164,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -180,7 +173,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -190,7 +182,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideApp::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideApp::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -228,7 +219,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectOutput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -238,7 +228,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameOutput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameOutput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -276,7 +265,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ChangeChannel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -286,7 +274,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ChangeChannelByNumber::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ChangeChannelByNumber::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -296,7 +283,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipChannel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipChannel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -334,7 +320,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::LaunchContent::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchContent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -344,7 +329,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::LaunchURL::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::LaunchURL::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -382,7 +366,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -420,7 +403,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -458,7 +440,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -468,7 +449,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -478,7 +458,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -517,7 +496,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -555,7 +533,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -565,7 +542,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -575,7 +551,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -585,7 +560,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -623,7 +597,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SendKey::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SendKey::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -661,7 +634,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -671,7 +643,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -681,7 +652,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -691,7 +661,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -701,7 +670,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -711,7 +679,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -721,7 +688,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -731,7 +697,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -769,7 +734,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Sleep::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Sleep::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -807,7 +771,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::SelectInput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SelectInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -817,7 +780,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ShowInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ShowInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -827,7 +789,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::HideInputStatus::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::HideInputStatus::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,7 +798,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RenameInput::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RenameInput::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,7 +835,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Play::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Play::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +844,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Pause::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Pause::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -895,7 +853,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopPlayback::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopPlayback::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -905,7 +862,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StartOver::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StartOver::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -915,7 +871,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Previous::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Previous::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -925,7 +880,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Next::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Next::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -935,7 +889,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Rewind::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Rewind::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -945,7 +898,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::FastForward::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::FastForward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -955,7 +907,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipForward::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipForward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -965,7 +916,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SkipBackward::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SkipBackward::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -975,7 +925,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Seek::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Seek::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1013,7 +962,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1023,7 +971,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1034,7 +981,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1045,7 +991,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1055,7 +1000,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1065,7 +1009,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1103,7 +1046,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1113,7 +1055,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1124,7 +1065,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1163,7 +1103,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1173,7 +1112,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1183,7 +1121,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1221,7 +1158,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1232,7 +1168,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1243,7 +1178,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1253,7 +1187,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1263,7 +1196,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1273,7 +1205,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1283,7 +1214,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1293,7 +1223,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1332,7 +1261,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::NavigateTarget::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NavigateTarget::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1365,7 +1293,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AccountLogin::Id: diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index aa6798e0930828..f473d90e5f4723 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::BarrierControlGoToPercent::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlGoToPercent::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::BarrierControlStop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::BarrierControlStop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -160,7 +155,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -236,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -246,7 +238,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -256,7 +247,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -333,7 +322,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -343,7 +331,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -401,7 +386,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -411,7 +395,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -421,7 +404,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -431,7 +413,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -451,7 +431,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -527,7 +505,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::MoveToLevel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -537,7 +514,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Move::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Move::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -547,7 +523,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Step::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Step::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -557,7 +532,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Stop::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Stop::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -567,7 +541,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveToLevelWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveToLevelWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -577,7 +550,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::MoveWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::MoveWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -587,7 +559,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StepWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StepWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -597,7 +568,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopWithOnOff::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopWithOnOff::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -635,7 +605,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -645,7 +614,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -656,7 +624,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -667,7 +634,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -677,7 +643,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -687,7 +652,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -725,7 +689,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::QueryImage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::QueryImage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -735,7 +698,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ApplyUpdateRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ApplyUpdateRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -746,7 +708,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::NotifyUpdateApplied::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::NotifyUpdateApplied::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -785,7 +746,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Off::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Off::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +755,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::On::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::On::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -805,7 +764,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::Toggle::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Toggle::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -843,7 +801,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -854,7 +811,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -865,7 +821,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -875,7 +830,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -885,7 +839,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -895,7 +848,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -905,7 +857,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -915,7 +866,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -954,7 +904,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -964,7 +913,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -974,7 +922,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -984,7 +931,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -994,7 +940,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1004,7 +949,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1014,7 +958,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -1047,7 +990,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index 2065f807a7b214..1f4ea57f5b868b 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -122,7 +118,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -132,7 +127,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -171,7 +165,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -209,7 +202,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -219,7 +211,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -229,7 +220,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -239,7 +229,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -277,7 +266,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -287,7 +275,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -297,7 +284,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -307,7 +293,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -317,7 +302,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -327,7 +311,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -365,7 +348,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -375,7 +357,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::TriggerEffect::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TriggerEffect::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -413,7 +394,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -423,7 +403,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -434,7 +413,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -445,7 +423,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -455,7 +432,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -465,7 +441,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -503,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -542,7 +516,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -553,7 +526,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -564,7 +536,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -574,7 +545,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -584,7 +554,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -594,7 +563,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -604,7 +572,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -614,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -653,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -663,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -673,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -683,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllScenes::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllScenes::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -693,7 +655,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StoreScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StoreScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -703,7 +664,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RecallScene::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RecallScene::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -713,7 +673,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetSceneMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetSceneMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -751,7 +710,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -789,7 +747,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -827,7 +784,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::UpOrOpen::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpOrOpen::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -837,7 +793,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::DownOrClose::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::DownOrClose::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -847,7 +802,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::StopMotion::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::StopMotion::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -857,7 +811,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -867,7 +820,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToLiftPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToLiftPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -877,7 +829,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltValue::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltValue::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -887,7 +838,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GoToTiltPercentage::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GoToTiltPercentage::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -920,7 +870,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - + MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: From 3d230aaa88624c3edd53586c0b1f6ebc0ce0c2f2 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 7 Jul 2022 12:56:19 +0000 Subject: [PATCH 09/15] Restyled by astyle --- .../CHIP/zap-generated/MTRCallbackBridge.mm | 952 ++-- .../zap-generated/IMClusterCommandHandler.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../app-common/zap-generated/callback.h | 1226 ++--- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../chip-tool/zap-generated/test/Commands.h | 4408 ++++++++++------- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../lock-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app1/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app2/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../pump-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../tv-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- 65 files changed, 3963 insertions(+), 2937 deletions(-) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index 3f5f4d2c1fc5bf..c5b7d5a0c1a7a5 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -23,7 +23,9 @@ #include -void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { DispatchSuccess(context, nil); }; +void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { + DispatchSuccess(context, nil); +}; void MTRCommandSuccessCallbackBridge::OnSuccessFn(void * context, const chip::app::DataModel::NullObjectType &) { @@ -737,7 +739,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -776,7 +778,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -815,7 +817,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -854,7 +856,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -893,7 +895,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -932,7 +934,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -971,7 +973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1010,7 +1012,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1049,7 +1051,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1088,7 +1090,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1127,7 +1129,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1166,7 +1168,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1205,7 +1207,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1245,7 +1247,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1285,7 +1287,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1324,7 +1326,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1363,7 +1365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1402,7 +1404,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1441,7 +1443,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1480,7 +1482,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1519,7 +1521,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1555,10 +1557,10 @@ } void MTRDescriptorDeviceListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1599,7 +1601,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1638,7 +1640,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1677,7 +1679,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1716,7 +1718,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1755,7 +1757,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1794,7 +1796,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1830,10 +1832,10 @@ } void MTRBindingBindingListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1893,7 +1895,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1932,7 +1934,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1971,7 +1973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2007,11 +2009,11 @@ } void MTRAccessControlAclListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2023,7 +2025,7 @@ if (entry_0.subjects.IsNull()) { newElement_0.subjects = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.subjects.Value().begin(); while (iter_3.Next()) { @@ -2043,7 +2045,7 @@ if (entry_0.targets.IsNull()) { newElement_0.targets = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.targets.Value().begin(); while (iter_3.Next()) { @@ -2105,10 +2107,10 @@ } void MTRAccessControlExtensionListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2149,7 +2151,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2188,7 +2190,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2227,7 +2229,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2263,10 +2265,10 @@ } void MTRBridgedActionsActionListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2275,8 +2277,8 @@ newElement_0 = [MTRBridgedActionsClusterActionStruct new]; newElement_0.actionID = [NSNumber numberWithUnsignedShort:entry_0.actionID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.supportedCommands = [NSNumber numberWithUnsignedShort:entry_0.supportedCommands]; @@ -2310,11 +2312,11 @@ } void MTRBridgedActionsEndpointListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2323,10 +2325,10 @@ newElement_0 = [MTRBridgedActionsClusterEndpointListStruct new]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -2374,7 +2376,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2413,7 +2415,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2452,7 +2454,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2517,7 +2519,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2556,7 +2558,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2595,7 +2597,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2634,7 +2636,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2674,7 +2676,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2714,7 +2716,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2750,11 +2752,11 @@ } void MTROtaSoftwareUpdateRequestorDefaultOtaProvidersListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OtaSoftwareUpdateRequestor::Structs::ProviderLocation::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2797,7 +2799,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2837,7 +2839,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2877,7 +2879,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2916,7 +2918,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2955,7 +2957,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2995,7 +2997,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3035,7 +3037,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3074,7 +3076,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3114,7 +3116,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3153,7 +3155,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3192,7 +3194,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3231,7 +3233,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3270,7 +3272,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3309,7 +3311,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3348,7 +3350,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3387,7 +3389,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3427,7 +3429,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3467,7 +3469,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3506,7 +3508,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3545,7 +3547,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3584,7 +3586,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3623,7 +3625,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3662,7 +3664,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3701,7 +3703,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3767,7 +3769,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3806,7 +3808,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3845,7 +3847,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3881,11 +3883,11 @@ } void MTRNetworkCommissioningNetworksListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3926,7 +3928,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3965,7 +3967,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4004,7 +4006,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4043,7 +4045,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4082,7 +4084,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4121,7 +4123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4157,11 +4159,11 @@ } void MTRGeneralDiagnosticsNetworkInterfacesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4169,8 +4171,8 @@ MTRGeneralDiagnosticsClusterNetworkInterfaceType * newElement_0; newElement_0 = [MTRGeneralDiagnosticsClusterNetworkInterfaceType new]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.isOperational = [NSNumber numberWithBool:entry_0.isOperational]; if (entry_0.offPremiseServicesReachableIPv4.IsNull()) { newElement_0.offPremiseServicesReachableIPv4 = nil; @@ -4185,8 +4187,8 @@ [NSNumber numberWithBool:entry_0.offPremiseServicesReachableIPv6.Value()]; } newElement_0.hardwareAddress = [NSData dataWithBytes:entry_0.hardwareAddress.data() - length:entry_0.hardwareAddress.size()]; - { // Scope for our temporary variables + length:entry_0.hardwareAddress.size()]; + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv4Addresses.begin(); while (iter_2.Next()) { @@ -4202,7 +4204,7 @@ } newElement_0.iPv4Addresses = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv6Addresses.begin(); while (iter_2.Next()) { @@ -4251,7 +4253,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4290,7 +4292,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4329,7 +4331,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4368,7 +4370,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4407,7 +4409,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4446,7 +4448,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4482,11 +4484,11 @@ } void MTRSoftwareDiagnosticsThreadMetricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4496,8 +4498,8 @@ newElement_0.id = [NSNumber numberWithUnsignedLongLong:entry_0.id]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } @@ -4548,7 +4550,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4587,7 +4589,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4626,7 +4628,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4662,11 +4664,11 @@ } void MTRThreadNetworkDiagnosticsNeighborTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::NeighborTable::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4724,11 +4726,11 @@ } void MTRThreadNetworkDiagnosticsRouteTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4774,7 +4776,7 @@ } void MTRThreadNetworkDiagnosticsSecurityPolicyStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & + const chip::app::DataModel::Nullable & value) { MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable objCValue; @@ -4805,7 +4807,7 @@ } void MTRThreadNetworkDiagnosticsOperationalDatasetComponentsStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable< + const chip::app::DataModel::Nullable< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::OperationalDatasetComponents::DecodableType> & value) { MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable objCValue; @@ -4851,7 +4853,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4891,7 +4893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4931,7 +4933,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4971,7 +4973,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5010,7 +5012,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5049,7 +5051,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5088,7 +5090,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5127,7 +5129,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5167,7 +5169,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5207,7 +5209,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5246,7 +5248,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5285,7 +5287,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5324,7 +5326,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5363,7 +5365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5402,7 +5404,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5441,7 +5443,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5480,7 +5482,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5520,7 +5522,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5560,7 +5562,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5596,11 +5598,11 @@ } void MTROperationalCredentialsNOCsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5643,11 +5645,11 @@ } void MTROperationalCredentialsFabricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5659,8 +5661,8 @@ newElement_0.fabricId = [NSNumber numberWithUnsignedLongLong:entry_0.fabricId]; newElement_0.nodeId = [NSNumber numberWithUnsignedLongLong:entry_0.nodeId]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricIndex = [NSNumber numberWithUnsignedChar:entry_0.fabricIndex]; [array_0 addObject:newElement_0]; } @@ -5694,7 +5696,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5734,7 +5736,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5773,7 +5775,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5812,7 +5814,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5848,11 +5850,11 @@ } void MTRGroupKeyManagementGroupKeyMapListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5891,11 +5893,11 @@ } void MTRGroupKeyManagementGroupTableListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5903,7 +5905,7 @@ MTRGroupKeyManagementClusterGroupInfoMapStruct * newElement_0; newElement_0 = [MTRGroupKeyManagementClusterGroupInfoMapStruct new]; newElement_0.groupId = [NSNumber numberWithUnsignedShort:entry_0.groupId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -5921,8 +5923,8 @@ } if (entry_0.groupName.HasValue()) { newElement_0.groupName = [[NSString alloc] initWithBytes:entry_0.groupName.Value().data() - length:entry_0.groupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.groupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.groupName = nil; } @@ -5959,7 +5961,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5998,7 +6000,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6037,7 +6039,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6073,10 +6075,10 @@ } void MTRFixedLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6084,11 +6086,11 @@ MTRFixedLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRFixedLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6121,7 +6123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6160,7 +6162,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6199,7 +6201,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6235,10 +6237,10 @@ } void MTRUserLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6246,11 +6248,11 @@ MTRUserLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRUserLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6283,7 +6285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6322,7 +6324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6361,7 +6363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6400,7 +6402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6439,7 +6441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6478,7 +6480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6514,10 +6516,10 @@ } void MTRModeSelectSupportedModesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6525,10 +6527,10 @@ MTRModeSelectClusterModeOptionStruct * newElement_0; newElement_0 = [MTRModeSelectClusterModeOptionStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.mode = [NSNumber numberWithUnsignedChar:entry_0.mode]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.semanticTags.begin(); while (iter_2.Next()) { @@ -6578,7 +6580,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6617,7 +6619,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6656,7 +6658,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6791,7 +6793,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6830,7 +6832,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6869,7 +6871,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7004,7 +7006,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7043,7 +7045,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7082,7 +7084,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7121,7 +7123,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7160,7 +7162,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7199,7 +7201,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7262,7 +7264,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7302,7 +7304,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7342,7 +7344,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7381,7 +7383,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7420,7 +7422,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7459,7 +7461,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7498,7 +7500,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7537,7 +7539,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7576,7 +7578,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7615,7 +7617,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7638,7 +7640,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -7656,7 +7658,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7697,7 +7699,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7738,7 +7740,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7777,7 +7779,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7816,7 +7818,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7855,7 +7857,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7894,7 +7896,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7933,7 +7935,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7972,7 +7974,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8011,7 +8013,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8050,7 +8052,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8089,7 +8091,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8128,7 +8130,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8167,7 +8169,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8206,7 +8208,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8245,7 +8247,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8284,7 +8286,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8323,7 +8325,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8363,7 +8365,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8403,7 +8405,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8442,7 +8444,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8481,7 +8483,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8520,7 +8522,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8559,7 +8561,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8598,7 +8600,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8637,7 +8639,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8673,10 +8675,10 @@ } void MTRChannelChannelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8687,22 +8689,22 @@ newElement_0.minorNumber = [NSNumber numberWithUnsignedShort:entry_0.minorNumber]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } if (entry_0.callSign.HasValue()) { newElement_0.callSign = [[NSString alloc] initWithBytes:entry_0.callSign.Value().data() - length:entry_0.callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.callSign = nil; } if (entry_0.affiliateCallSign.HasValue()) { newElement_0.affiliateCallSign = [[NSString alloc] initWithBytes:entry_0.affiliateCallSign.Value().data() - length:entry_0.affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.affiliateCallSign = nil; } @@ -8743,19 +8745,19 @@ } else { objCValue = [MTRChannelClusterLineupInfo new]; objCValue.operatorName = [[NSString alloc] initWithBytes:value.Value().operatorName.data() - length:value.Value().operatorName.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().operatorName.size() + encoding:NSUTF8StringEncoding]; if (value.Value().lineupName.HasValue()) { objCValue.lineupName = [[NSString alloc] initWithBytes:value.Value().lineupName.Value().data() - length:value.Value().lineupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().lineupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.lineupName = nil; } if (value.Value().postalCode.HasValue()) { objCValue.postalCode = [[NSString alloc] initWithBytes:value.Value().postalCode.Value().data() - length:value.Value().postalCode.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().postalCode.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.postalCode = nil; } @@ -8792,22 +8794,22 @@ objCValue.minorNumber = [NSNumber numberWithUnsignedShort:value.Value().minorNumber]; if (value.Value().name.HasValue()) { objCValue.name = [[NSString alloc] initWithBytes:value.Value().name.Value().data() - length:value.Value().name.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().name.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.name = nil; } if (value.Value().callSign.HasValue()) { objCValue.callSign = [[NSString alloc] initWithBytes:value.Value().callSign.Value().data() - length:value.Value().callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.callSign = nil; } if (value.Value().affiliateCallSign.HasValue()) { objCValue.affiliateCallSign = [[NSString alloc] initWithBytes:value.Value().affiliateCallSign.Value().data() - length:value.Value().affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.affiliateCallSign = nil; } @@ -8835,7 +8837,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8874,7 +8876,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8913,7 +8915,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8949,10 +8951,10 @@ } void MTRTargetNavigatorTargetListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8961,8 +8963,8 @@ newElement_0 = [MTRTargetNavigatorClusterTargetInfo new]; newElement_0.identifier = [NSNumber numberWithUnsignedChar:entry_0.identifier]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -8995,7 +8997,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9034,7 +9036,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9073,7 +9075,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9109,7 +9111,7 @@ } void MTRMediaPlaybackSampledPositionStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRMediaPlaybackClusterPlaybackPosition * _Nullable objCValue; if (value.IsNull()) { @@ -9146,7 +9148,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9185,7 +9187,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9224,7 +9226,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9260,10 +9262,10 @@ } void MTRMediaInputInputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9273,11 +9275,11 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.inputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.inputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.descriptionString = [[NSString alloc] initWithBytes:entry_0.description.data() - length:entry_0.description.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.description.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9310,7 +9312,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9349,7 +9351,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9388,7 +9390,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9427,7 +9429,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9466,7 +9468,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9505,7 +9507,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9544,7 +9546,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9583,7 +9585,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9622,7 +9624,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9661,7 +9663,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9700,7 +9702,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9739,7 +9741,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9778,7 +9780,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9814,10 +9816,10 @@ } void MTRAudioOutputOutputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9827,8 +9829,8 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.outputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.outputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9861,7 +9863,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9900,7 +9902,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9939,7 +9941,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9978,7 +9980,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10014,7 +10016,7 @@ } void MTRApplicationLauncherCurrentAppStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRApplicationLauncherClusterApplicationEP * _Nullable objCValue; if (value.IsNull()) { @@ -10024,8 +10026,8 @@ objCValue.application = [MTRApplicationLauncherClusterApplication new]; objCValue.application.catalogVendorId = [NSNumber numberWithUnsignedShort:value.Value().application.catalogVendorId]; objCValue.application.applicationId = [[NSString alloc] initWithBytes:value.Value().application.applicationId.data() - length:value.Value().application.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().application.applicationId.size() + encoding:NSUTF8StringEncoding]; if (value.Value().endpoint.HasValue()) { objCValue.endpoint = [NSNumber numberWithUnsignedShort:value.Value().endpoint.Value()]; } else { @@ -10055,7 +10057,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10094,7 +10096,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10133,7 +10135,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10175,8 +10177,8 @@ objCValue = [MTRApplicationBasicClusterApplicationBasicApplication new]; objCValue.catalogVendorId = [NSNumber numberWithUnsignedShort:value.catalogVendorId]; objCValue.applicationId = [[NSString alloc] initWithBytes:value.applicationId.data() - length:value.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.applicationId.size() + encoding:NSUTF8StringEncoding]; DispatchSuccess(context, objCValue); }; @@ -10200,7 +10202,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10239,7 +10241,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10278,7 +10280,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10317,7 +10319,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10356,7 +10358,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10395,7 +10397,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10434,7 +10436,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10473,7 +10475,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10512,7 +10514,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10551,7 +10553,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10686,7 +10688,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10725,7 +10727,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10761,11 +10763,11 @@ } void MTRTestClusterListStructOctetStringListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10803,11 +10805,11 @@ } void MTRTestClusterListNullablesAndOptionalsStructListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10838,13 +10840,13 @@ newElement_0.nullableString = nil; } else { newElement_0.nullableString = [[NSString alloc] initWithBytes:entry_0.nullableString.Value().data() - length:entry_0.nullableString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableString.Value().size() + encoding:NSUTF8StringEncoding]; } if (entry_0.optionalString.HasValue()) { newElement_0.optionalString = [[NSString alloc] initWithBytes:entry_0.optionalString.Value().data() - length:entry_0.optionalString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalString.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.optionalString = nil; } @@ -10854,8 +10856,8 @@ } else { newElement_0.nullableOptionalString = [[NSString alloc] initWithBytes:entry_0.nullableOptionalString.Value().Value().data() - length:entry_0.nullableOptionalString.Value().Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalString.Value().Value().size() + encoding:NSUTF8StringEncoding]; } } else { newElement_0.nullableOptionalString = nil; @@ -10869,10 +10871,10 @@ newElement_0.nullableStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableStruct.Value().c)]; newElement_0.nullableStruct.d = [NSData dataWithBytes:entry_0.nullableStruct.Value().d.data() - length:entry_0.nullableStruct.Value().d.size()]; + length:entry_0.nullableStruct.Value().d.size()]; newElement_0.nullableStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableStruct.Value().e.data() - length:entry_0.nullableStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableStruct.Value().f.Raw()]; newElement_0.nullableStruct.g = [NSNumber numberWithFloat:entry_0.nullableStruct.Value().g]; newElement_0.nullableStruct.h = [NSNumber numberWithDouble:entry_0.nullableStruct.Value().h]; @@ -10884,10 +10886,10 @@ newElement_0.optionalStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.optionalStruct.Value().c)]; newElement_0.optionalStruct.d = [NSData dataWithBytes:entry_0.optionalStruct.Value().d.data() - length:entry_0.optionalStruct.Value().d.size()]; + length:entry_0.optionalStruct.Value().d.size()]; newElement_0.optionalStruct.e = [[NSString alloc] initWithBytes:entry_0.optionalStruct.Value().e.data() - length:entry_0.optionalStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.optionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.optionalStruct.Value().f.Raw()]; newElement_0.optionalStruct.g = [NSNumber numberWithFloat:entry_0.optionalStruct.Value().g]; newElement_0.optionalStruct.h = [NSNumber numberWithDouble:entry_0.optionalStruct.Value().h]; @@ -10907,11 +10909,11 @@ [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableOptionalStruct.Value().Value().c)]; newElement_0.nullableOptionalStruct.d = [NSData dataWithBytes:entry_0.nullableOptionalStruct.Value().Value().d.data() - length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; + length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; newElement_0.nullableOptionalStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableOptionalStruct.Value().Value().e.data() - length:entry_0.nullableOptionalStruct.Value().Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalStruct.Value().Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableOptionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableOptionalStruct.Value().Value().f.Raw()]; newElement_0.nullableOptionalStruct.g = @@ -10925,7 +10927,7 @@ if (entry_0.nullableList.IsNull()) { newElement_0.nullableList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.nullableList.Value().begin(); while (iter_3.Next()) { @@ -10943,7 +10945,7 @@ } } if (entry_0.optionalList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.optionalList.Value().begin(); while (iter_3.Next()) { @@ -10966,7 +10968,7 @@ if (entry_0.nullableOptionalList.Value().IsNull()) { newElement_0.nullableOptionalList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_4 = [NSMutableArray new]; auto iter_4 = entry_0.nullableOptionalList.Value().Value().begin(); while (iter_4.Next()) { @@ -11050,7 +11052,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11086,10 +11088,10 @@ } void MTRTestClusterListFabricScopedListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11120,22 +11122,22 @@ newElement_0.nullableOptionalFabricSensitiveInt8u = nil; } newElement_0.fabricSensitiveCharString = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveCharString.data() - length:entry_0.fabricSensitiveCharString.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveCharString.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct = [MTRTestClusterClusterSimpleStruct new]; newElement_0.fabricSensitiveStruct.a = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.a]; newElement_0.fabricSensitiveStruct.b = [NSNumber numberWithBool:entry_0.fabricSensitiveStruct.b]; newElement_0.fabricSensitiveStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.fabricSensitiveStruct.c)]; newElement_0.fabricSensitiveStruct.d = [NSData dataWithBytes:entry_0.fabricSensitiveStruct.d.data() - length:entry_0.fabricSensitiveStruct.d.size()]; + length:entry_0.fabricSensitiveStruct.d.size()]; newElement_0.fabricSensitiveStruct.e = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveStruct.e.data() - length:entry_0.fabricSensitiveStruct.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveStruct.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct.f = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.f.Raw()]; newElement_0.fabricSensitiveStruct.g = [NSNumber numberWithFloat:entry_0.fabricSensitiveStruct.g]; newElement_0.fabricSensitiveStruct.h = [NSNumber numberWithDouble:entry_0.fabricSensitiveStruct.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.fabricSensitiveInt8uList.begin(); while (iter_2.Next()) { @@ -11293,7 +11295,7 @@ } void MTRTestClusterNullableStructStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRTestClusterClusterSimpleStruct * _Nullable objCValue; if (value.IsNull()) { @@ -11305,8 +11307,8 @@ objCValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value().c)]; objCValue.d = [NSData dataWithBytes:value.Value().d.data() length:value.Value().d.size()]; objCValue.e = [[NSString alloc] initWithBytes:value.Value().e.data() - length:value.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().e.size() + encoding:NSUTF8StringEncoding]; objCValue.f = [NSNumber numberWithUnsignedChar:value.Value().f.Raw()]; objCValue.g = [NSNumber numberWithFloat:value.Value().g]; objCValue.h = [NSNumber numberWithDouble:value.Value().h]; @@ -11334,7 +11336,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11373,7 +11375,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11412,7 +11414,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11472,8 +11474,8 @@ } { response.groupName = [[NSString alloc] initWithBytes:data.groupName.data() - length:data.groupName.size() - encoding:NSUTF8StringEncoding]; + length:data.groupName.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11490,7 +11492,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupList.begin(); while (iter_0.Next()) { @@ -11562,15 +11564,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11578,7 +11580,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11590,7 +11592,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11695,7 +11697,7 @@ } { if (data.sceneList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.sceneList.Value().begin(); while (iter_1.Next()) { @@ -11757,15 +11759,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11773,7 +11775,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11785,7 +11787,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11859,8 +11861,8 @@ { if (data.imageURI.HasValue()) { response.imageURI = [[NSString alloc] initWithBytes:data.imageURI.Value().data() - length:data.imageURI.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.imageURI.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.imageURI = nil; } @@ -11875,8 +11877,8 @@ { if (data.softwareVersionString.HasValue()) { response.softwareVersionString = [[NSString alloc] initWithBytes:data.softwareVersionString.Value().data() - length:data.softwareVersionString.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.softwareVersionString.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.softwareVersionString = nil; } @@ -11898,7 +11900,7 @@ { if (data.metadataForRequestor.HasValue()) { response.metadataForRequestor = [NSData dataWithBytes:data.metadataForRequestor.Value().data() - length:data.metadataForRequestor.Value().size()]; + length:data.metadataForRequestor.Value().size()]; } else { response.metadataForRequestor = nil; } @@ -11928,8 +11930,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11943,8 +11945,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11958,8 +11960,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11974,15 +11976,15 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } } { if (data.wiFiScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.wiFiScanResults.Value().begin(); while (iter_1.Next()) { @@ -12010,7 +12012,7 @@ } { if (data.threadScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.threadScanResults.Value().begin(); while (iter_1.Next()) { @@ -12020,12 +12022,12 @@ newElement_1.panId = [NSNumber numberWithUnsignedShort:entry_1.panId]; newElement_1.extendedPanId = [NSNumber numberWithUnsignedLongLong:entry_1.extendedPanId]; newElement_1.networkName = [[NSString alloc] initWithBytes:entry_1.networkName.data() - length:entry_1.networkName.size() - encoding:NSUTF8StringEncoding]; + length:entry_1.networkName.size() + encoding:NSUTF8StringEncoding]; newElement_1.channel = [NSNumber numberWithUnsignedShort:entry_1.channel]; newElement_1.version = [NSNumber numberWithUnsignedChar:entry_1.version]; newElement_1.extendedAddress = [NSData dataWithBytes:entry_1.extendedAddress.data() - length:entry_1.extendedAddress.size()]; + length:entry_1.extendedAddress.size()]; newElement_1.rssi = [NSNumber numberWithChar:entry_1.rssi]; newElement_1.lqi = [NSNumber numberWithUnsignedChar:entry_1.lqi]; [array_1 addObject:newElement_1]; @@ -12054,8 +12056,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12080,8 +12082,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12121,7 +12123,7 @@ auto * response = [MTROperationalCredentialsClusterAttestationResponseParams new]; { response.attestationElements = [NSData dataWithBytes:data.attestationElements.data() - length:data.attestationElements.size()]; + length:data.attestationElements.size()]; } { response.signature = [NSData dataWithBytes:data.signature.data() length:data.signature.size()]; @@ -12148,7 +12150,7 @@ } { response.attestationSignature = [NSData dataWithBytes:data.attestationSignature.data() - length:data.attestationSignature.size()]; + length:data.attestationSignature.size()]; } DispatchSuccess(context, response); }; @@ -12170,8 +12172,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12192,7 +12194,7 @@ response.groupKeySet.epochKey0 = nil; } else { response.groupKeySet.epochKey0 = [NSData dataWithBytes:data.groupKeySet.epochKey0.Value().data() - length:data.groupKeySet.epochKey0.Value().size()]; + length:data.groupKeySet.epochKey0.Value().size()]; } if (data.groupKeySet.epochStartTime0.IsNull()) { response.groupKeySet.epochStartTime0 = nil; @@ -12203,7 +12205,7 @@ response.groupKeySet.epochKey1 = nil; } else { response.groupKeySet.epochKey1 = [NSData dataWithBytes:data.groupKeySet.epochKey1.Value().data() - length:data.groupKeySet.epochKey1.Value().size()]; + length:data.groupKeySet.epochKey1.Value().size()]; } if (data.groupKeySet.epochStartTime1.IsNull()) { response.groupKeySet.epochStartTime1 = nil; @@ -12214,7 +12216,7 @@ response.groupKeySet.epochKey2 = nil; } else { response.groupKeySet.epochKey2 = [NSData dataWithBytes:data.groupKeySet.epochKey2.Value().data() - length:data.groupKeySet.epochKey2.Value().size()]; + length:data.groupKeySet.epochKey2.Value().size()]; } if (data.groupKeySet.epochStartTime2.IsNull()) { response.groupKeySet.epochStartTime2 = nil; @@ -12230,7 +12232,7 @@ { auto * response = [MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupKeySetIDs.begin(); while (iter_0.Next()) { @@ -12377,8 +12379,8 @@ response.userName = nil; } else { response.userName = [[NSString alloc] initWithBytes:data.userName.Value().data() - length:data.userName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.userName.Value().size() + encoding:NSUTF8StringEncoding]; } } { @@ -12413,7 +12415,7 @@ if (data.credentials.IsNull()) { response.credentials = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.credentials.Value().begin(); while (iter_1.Next()) { @@ -12533,7 +12535,7 @@ response.modeForSequence = [NSNumber numberWithUnsignedChar:data.modeForSequence.Raw()]; } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.transitions.begin(); while (iter_0.Next()) { @@ -12574,8 +12576,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12593,8 +12595,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12612,8 +12614,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12641,8 +12643,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12669,8 +12671,8 @@ auto * response = [MTRAccountLoginClusterGetSetupPINResponseParams new]; { response.setupPIN = [[NSString alloc] initWithBytes:data.setupPIN.data() - length:data.setupPIN.size() - encoding:NSUTF8StringEncoding]; + length:data.setupPIN.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -12710,7 +12712,7 @@ { auto * response = [MTRTestClusterClusterTestStructArrayArgumentResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -12725,12 +12727,12 @@ newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() - length:entry_0.c.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.c.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.d.begin(); while (iter_2.Next()) { @@ -12742,8 +12744,8 @@ newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() - length:entry_2.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_2.e.size() + encoding:NSUTF8StringEncoding]; newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; @@ -12756,7 +12758,7 @@ } newElement_0.d = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.e.begin(); while (iter_2.Next()) { @@ -12772,7 +12774,7 @@ } newElement_0.e = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.f.begin(); while (iter_2.Next()) { @@ -12788,7 +12790,7 @@ } newElement_0.f = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.g.begin(); while (iter_2.Next()) { @@ -12815,7 +12817,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg2.begin(); while (iter_0.Next()) { @@ -12827,8 +12829,8 @@ newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() - length:entry_0.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; @@ -12843,7 +12845,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg3.begin(); while (iter_0.Next()) { @@ -12861,7 +12863,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg4.begin(); while (iter_0.Next()) { @@ -12892,7 +12894,7 @@ { auto * response = [MTRTestClusterClusterTestListInt8UReverseResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -13007,8 +13009,8 @@ { if (data.nullableStringValue.HasValue()) { response.nullableStringValue = [[NSString alloc] initWithBytes:data.nullableStringValue.Value().data() - length:data.nullableStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableStringValue = nil; } @@ -13019,8 +13021,8 @@ { if (data.optionalStringValue.HasValue()) { response.optionalStringValue = [[NSString alloc] initWithBytes:data.optionalStringValue.Value().data() - length:data.optionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.optionalStringValue = nil; } @@ -13038,8 +13040,8 @@ { if (data.nullableOptionalStringValue.HasValue()) { response.nullableOptionalStringValue = [[NSString alloc] initWithBytes:data.nullableOptionalStringValue.Value().data() - length:data.nullableOptionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableOptionalStringValue = nil; } @@ -13055,10 +13057,10 @@ response.nullableStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableStructValue.Value().c)]; response.nullableStructValue.d = [NSData dataWithBytes:data.nullableStructValue.Value().d.data() - length:data.nullableStructValue.Value().d.size()]; + length:data.nullableStructValue.Value().d.size()]; response.nullableStructValue.e = [[NSString alloc] initWithBytes:data.nullableStructValue.Value().e.data() - length:data.nullableStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableStructValue.Value().f.Raw()]; response.nullableStructValue.g = [NSNumber numberWithFloat:data.nullableStructValue.Value().g]; response.nullableStructValue.h = [NSNumber numberWithDouble:data.nullableStructValue.Value().h]; @@ -13077,10 +13079,10 @@ response.optionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.optionalStructValue.Value().c)]; response.optionalStructValue.d = [NSData dataWithBytes:data.optionalStructValue.Value().d.data() - length:data.optionalStructValue.Value().d.size()]; + length:data.optionalStructValue.Value().d.size()]; response.optionalStructValue.e = [[NSString alloc] initWithBytes:data.optionalStructValue.Value().e.data() - length:data.optionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.optionalStructValue.f = [NSNumber numberWithUnsignedChar:data.optionalStructValue.Value().f.Raw()]; response.optionalStructValue.g = [NSNumber numberWithFloat:data.optionalStructValue.Value().g]; response.optionalStructValue.h = [NSNumber numberWithDouble:data.optionalStructValue.Value().h]; @@ -13106,11 +13108,11 @@ response.nullableOptionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableOptionalStructValue.Value().c)]; response.nullableOptionalStructValue.d = [NSData dataWithBytes:data.nullableOptionalStructValue.Value().d.data() - length:data.nullableOptionalStructValue.Value().d.size()]; + length:data.nullableOptionalStructValue.Value().d.size()]; response.nullableOptionalStructValue.e = [[NSString alloc] initWithBytes:data.nullableOptionalStructValue.Value().e.data() - length:data.nullableOptionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableOptionalStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableOptionalStructValue.Value().f.Raw()]; response.nullableOptionalStructValue.g = [NSNumber numberWithFloat:data.nullableOptionalStructValue.Value().g]; @@ -13124,7 +13126,7 @@ } { if (data.nullableListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableListValue.Value().begin(); while (iter_1.Next()) { @@ -13149,7 +13151,7 @@ } { if (data.optionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.optionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13181,7 +13183,7 @@ } { if (data.nullableOptionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableOptionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13225,8 +13227,8 @@ response.arg1.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg1.c)]; response.arg1.d = [NSData dataWithBytes:data.arg1.d.data() length:data.arg1.d.size()]; response.arg1.e = [[NSString alloc] initWithBytes:data.arg1.e.data() - length:data.arg1.e.size() - encoding:NSUTF8StringEncoding]; + length:data.arg1.e.size() + encoding:NSUTF8StringEncoding]; response.arg1.f = [NSNumber numberWithUnsignedChar:data.arg1.f.Raw()]; response.arg1.g = [NSNumber numberWithFloat:data.arg1.g]; response.arg1.h = [NSNumber numberWithDouble:data.arg1.h]; @@ -14275,7 +14277,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTAApplyUpdateActionAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14290,7 +14292,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14330,7 +14332,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTADownloadProtocolAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14440,7 +14442,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14452,11 +14454,11 @@ }; void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14497,7 +14499,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAChangeReasonEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14512,7 +14514,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14552,7 +14554,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAUpdateStateEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15291,7 +15293,7 @@ } void MTRNullableNetworkCommissioningClusterNetworkCommissioningStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15307,7 +15309,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15927,7 +15929,7 @@ } void MTRNullableThreadNetworkDiagnosticsClusterThreadConnectionStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15943,7 +15945,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15984,7 +15986,7 @@ } void MTRNullableWiFiNetworkDiagnosticsClusterAssociationFailureCauseAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15999,7 +16001,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16256,7 +16258,7 @@ } void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16268,11 +16270,11 @@ }; void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16365,7 +16367,7 @@ } void MTRNullableOperationalCredentialsClusterOperationalCertStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -17676,7 +17678,7 @@ } void MTRNullablePumpConfigurationAndControlClusterPumpOperationModeAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19146,7 +19148,7 @@ } void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19158,11 +19160,11 @@ }; void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackSubscriptionBridge:: - OnSubscriptionEstablished(void * context) +OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -19362,7 +19364,7 @@ } void MTRNullableMessagingClusterMessagingControlEnhancedConfirmationAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19377,7 +19379,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index da6fb7fcf7a1e4..4c920d9922d2d1 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } @@ -1704,7 +1704,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index 488fb3efd18d04..039cbf6592bb14 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -550,7 +550,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -576,7 +576,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -627,7 +627,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index 3d55fab073d3bb..e1b99f9487be29 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -111,7 +111,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -1506,7 +1506,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 09dcd4d0dc2491..6ee2652ef482fc 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -518,7 +518,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -544,7 +544,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -595,7 +595,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) 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 3364c8a743e3fd..bc9a52662bf14c 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index c25c1486217cb1..655528f5005bf2 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index 05fbff1c7e03d3..c2441cd59972c8 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -238,7 +238,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -264,7 +264,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -315,7 +315,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..fbfdb7b6b598eb 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 52dacae6648fc2..6d87853bfd394f 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index c8f10822dc4a20..e864a14537620d 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index 0c8c71ad640a6c..ee71891d449c8c 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -270,7 +270,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -296,7 +296,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -347,7 +347,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..fbfdb7b6b598eb 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index 78909a92774d5f..4671a3085c0f9a 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index c8f10822dc4a20..e864a14537620d 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index abd8a2e0790b32..d811cc1e79566e 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -278,7 +278,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -304,7 +304,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -355,7 +355,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..5c722a8b9ebee7 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 83772e1243c71e..5bac9de07149fa 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..fbfdb7b6b598eb 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index 5a89e1d8d9eb19..9d8774cfdad15a 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index 79785a5101328f..54df8350237b68 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index abf37f285b25bb..f6506f6434d0e0 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index 79785a5101328f..54df8350237b68 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index abf37f285b25bb..f6506f6434d0e0 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..fbfdb7b6b598eb 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index 7d29c3a5d9df11..fb2dd3958c2b88 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index f6b7e41892ec6d..1274a0a52c6015 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 98decb6cc951f1..039e6ea01fc242 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..fbfdb7b6b598eb 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 03c232ac1803d5..346fafea85979a 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index fa55c85f11d0ab..0a8c29fc32194b 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index 7bfcc36ffb3804..b2e22af270e77d 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -302,7 +302,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -328,7 +328,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -379,7 +379,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index e211c30d64b61d..db4c3f33a780b2 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index fb22277adb7ca5..36e4d58e0149d9 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 1bc45f589853d8..69c76ec1b16c56 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -31,7 +31,7 @@ class TestList : public Command { public: - TestList() : Command("list"){}; + TestList() : Command("list") {}; CHIP_ERROR Run() override { printf("TestAccessControlCluster\n"); @@ -234,7 +234,7 @@ class TestList : public Command class ManualTestList : public Command { public: - ManualTestList() : Command("list-manual"){}; + ManualTestList() : Command("list-manual") {}; CHIP_ERROR Run() override { printf("Test_TC_DD_1_5\n"); @@ -576,7 +576,9 @@ class TestAccessControlClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -599,7 +601,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -611,21 +613,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -644,39 +646,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -695,39 +697,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -750,7 +752,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -777,7 +779,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -798,7 +800,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -819,7 +821,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -840,7 +842,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -861,7 +863,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -882,7 +884,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -903,7 +905,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -915,21 +917,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -948,39 +950,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -999,39 +1001,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -1054,7 +1056,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -1150,7 +1152,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1191,7 +1193,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1232,12 +1234,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 3); + listHolder_0->mList, 3); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1274,7 +1276,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1306,7 +1308,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1338,7 +1340,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1377,7 +1379,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1417,12 +1419,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1480,7 +1482,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1616,12 +1618,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 20); + 20); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1667,7 +1669,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1708,7 +1710,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1749,7 +1751,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; @@ -1790,12 +1792,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[3].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[3].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1821,7 +1823,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1875,7 +1877,9 @@ class Test_TC_BOOL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2048,7 +2052,9 @@ class Test_TC_BOOL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2129,7 +2135,9 @@ class Test_TC_ACT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2274,7 +2282,9 @@ class Test_TC_CC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -2451,7 +2461,9 @@ class Test_TC_CC_2_1Suite : public TestCommand uint32_t FeatureMapValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -3432,7 +3444,9 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -3688,7 +3702,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -3713,7 +3727,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -3767,7 +3781,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 290ms"); @@ -3821,7 +3835,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 290ms"); @@ -3875,7 +3889,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 290ms"); @@ -3922,7 +3936,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -3957,7 +3971,9 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4213,7 +4229,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4237,7 +4253,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 140ms"); @@ -4290,7 +4306,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 140ms"); @@ -4343,7 +4359,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 140ms"); @@ -4396,7 +4412,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 140ms"); @@ -4443,7 +4459,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -4478,7 +4494,9 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4588,7 +4606,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4613,7 +4631,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 25ms"); @@ -4641,7 +4659,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 25ms"); @@ -4662,7 +4680,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -4697,7 +4715,9 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -4818,7 +4838,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4842,7 +4862,7 @@ class Test_TC_CC_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 6ms"); @@ -4889,7 +4909,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check on/off attribute value is false after off command"); @@ -4924,7 +4944,9 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5270,7 +5292,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5294,7 +5316,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -5347,7 +5369,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -5400,7 +5422,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 40ms"); @@ -5453,7 +5475,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 40ms"); @@ -5506,7 +5528,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Wait 40ms"); @@ -5559,7 +5581,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 40ms"); @@ -5606,7 +5628,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check on/off attribute value is false after off command"); @@ -5641,7 +5663,9 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5751,7 +5775,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5776,7 +5800,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -5804,7 +5828,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -5825,7 +5849,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -5860,7 +5884,9 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -5973,7 +5999,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6004,7 +6030,7 @@ class Test_TC_CC_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 10ms"); @@ -6031,7 +6057,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6066,7 +6092,9 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6179,7 +6207,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6210,7 +6238,7 @@ class Test_TC_CC_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 20ms"); @@ -6237,7 +6265,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6272,7 +6300,9 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6408,7 +6438,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6438,7 +6468,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 150ms"); @@ -6469,7 +6499,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check current x attribute value matched the value sent by the last command"); @@ -6489,7 +6519,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Check on/off attribute value is false after off command"); @@ -6524,7 +6554,9 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6637,7 +6669,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6668,7 +6700,7 @@ class Test_TC_CC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 50ms"); @@ -6695,7 +6727,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6730,7 +6762,9 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -6823,7 +6857,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6847,7 +6881,7 @@ class Test_TC_CC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -6868,7 +6902,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -6903,7 +6937,9 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -7165,7 +7201,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7191,7 +7227,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 90ms"); @@ -7246,7 +7282,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 190ms"); @@ -7301,7 +7337,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Stop Color Temperature command"); @@ -7317,7 +7353,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 90ms"); @@ -7372,7 +7408,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Stop Color Temperature command"); @@ -7388,7 +7424,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Wait 140ms"); @@ -7435,7 +7471,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Check on/off attribute value is false after off command"); @@ -7470,7 +7506,9 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -7636,7 +7674,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7663,7 +7701,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -7719,7 +7757,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -7766,7 +7804,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check on/off attribute value is false after off command"); @@ -7801,7 +7839,9 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8060,7 +8100,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8079,7 +8119,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8100,7 +8140,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 290ms"); @@ -8154,7 +8194,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Wait 290ms"); @@ -8208,7 +8248,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 290ms"); @@ -8262,7 +8302,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Wait 290ms"); @@ -8309,7 +8349,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Check on/off attribute value is false after off command"); @@ -8344,7 +8384,9 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8536,7 +8578,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8560,7 +8602,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -8613,7 +8655,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8633,7 +8675,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 40ms"); @@ -8686,7 +8728,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8700,7 +8742,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check on/off attribute value is false after off command"); @@ -8735,7 +8777,9 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -8845,7 +8889,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8870,7 +8914,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -8898,7 +8942,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -8919,7 +8963,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -8954,7 +8998,9 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -9047,7 +9093,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9072,7 +9118,7 @@ class Test_TC_CC_7_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -9093,7 +9139,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -9128,7 +9174,9 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -9424,7 +9472,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9442,7 +9490,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads CurrentHue attribute from DUT"); @@ -9460,7 +9508,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Reads CurrentHue attribute from DUT"); @@ -9493,7 +9541,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check Saturation attribute value matched the value sent by the last command"); @@ -9511,7 +9559,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Reads CurrentSaturation attribute from DUT."); @@ -9544,7 +9592,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Reads CurrentX attribute from DUT"); @@ -9568,7 +9616,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Reads CurrentX attribute from DUT"); @@ -9615,7 +9663,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Reads current color temprature from DUT"); @@ -9633,7 +9681,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reads current color temprature from DUT"); @@ -9666,7 +9714,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9684,7 +9732,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9711,7 +9759,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Check on/off attribute value is false after off command"); @@ -9746,7 +9794,9 @@ class Test_TC_BINFO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10085,7 +10135,9 @@ class Test_TC_DESC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10264,7 +10316,9 @@ class Test_TC_DGETH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10556,7 +10610,9 @@ class Test_TC_DGETH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10645,7 +10701,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the PacketRxCount attribute"); @@ -10706,7 +10762,9 @@ class Test_TC_FLW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -10908,7 +10966,9 @@ class Test_TC_FLW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11033,7 +11093,9 @@ class Test_TC_CGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11212,7 +11274,9 @@ class Test_TC_CGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11394,7 +11458,9 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11545,7 +11611,9 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -11565,8 +11633,8 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -11828,7 +11896,9 @@ class Test_TC_I_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12007,7 +12077,9 @@ class Test_TC_I_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12102,7 +12174,9 @@ class Test_TC_I_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12209,7 +12283,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH reads immediately IdentifyTime attribute from DUT1"); @@ -12251,7 +12325,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH reads immediately IdentifyTime attribute from DUT2"); @@ -12320,7 +12394,9 @@ class Test_TC_I_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12440,7 +12516,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "DUT executes a blink effect"); @@ -12464,7 +12540,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "DUT executes a breathe effect"); @@ -12488,7 +12564,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "DUT executes an okay effect"); @@ -12512,7 +12588,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "DUT executes a channel change effect"); @@ -12536,7 +12612,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "DUT executes a breathe effect"); @@ -12560,7 +12636,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "DUT stops the breathe effect after the current effect sequence"); @@ -12584,7 +12660,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "DUT executes a breathe effect"); @@ -12608,7 +12684,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "DUT stops the breathe effect as soon as possible."); @@ -12632,7 +12708,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Check DUT executes a blink effect."); @@ -12656,7 +12732,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "DUT stops any effect that may be still running as soon as possible"); @@ -12697,7 +12773,9 @@ class Test_TC_ILL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -12862,7 +12940,9 @@ class Test_TC_ILL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13005,7 +13085,9 @@ class Test_TC_LVL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13178,7 +13260,9 @@ class Test_TC_LVL_2_1Suite : public TestCommand uint16_t MinFrequencyValue; uint16_t MaxFrequencyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13425,7 +13509,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 100ms"); @@ -13576,7 +13660,9 @@ class Test_TC_LVL_2_2Suite : public TestCommand chip::app::DataModel::Nullable OffTransitionTimeValue; chip::app::DataModel::Nullable StartUpCurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -13903,7 +13989,9 @@ class Test_TC_LVL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14061,7 +14149,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait 100ms"); @@ -14086,7 +14174,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Wait 100 second"); @@ -14116,7 +14204,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 11000ms"); @@ -14146,7 +14234,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -14171,7 +14259,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 100ms"); @@ -14213,7 +14301,9 @@ class Test_TC_LVL_4_1Suite : public TestCommand uint8_t MaxlevelValue; chip::app::DataModel::Nullable DefaultMoveRateValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14355,7 +14445,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "reads max level attribute from DUT"); @@ -14373,7 +14463,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, @@ -14409,7 +14499,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveWithOnOff::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, @@ -14452,7 +14542,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 100ms"); @@ -14484,7 +14574,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Wait 100ms"); @@ -14525,7 +14615,9 @@ class Test_TC_LVL_5_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentlevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14636,7 +14728,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads current level attribute from DUT"); @@ -14655,7 +14747,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Step::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 4000ms"); @@ -14679,7 +14771,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::StepWithOnOff::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 4000ms"); @@ -14704,7 +14796,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 100ms"); @@ -14745,7 +14837,9 @@ class Test_TC_LVL_6_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -14874,7 +14968,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads CurrentLevel attribute from DUT"); @@ -14892,7 +14986,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 5000ms"); @@ -14910,7 +15004,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Physically verify that the device has stopped transitioning"); @@ -14938,7 +15032,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 5000ms"); @@ -14956,7 +15050,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Physically verify that the device has stopped transitioning"); @@ -14984,7 +15078,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 100ms"); @@ -15022,7 +15116,9 @@ class Test_TC_MC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15195,7 +15291,9 @@ class Test_TC_MC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15372,7 +15470,9 @@ class Test_TC_MC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15545,7 +15645,9 @@ class Test_TC_MC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15718,7 +15820,9 @@ class Test_TC_MC_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -15880,7 +15984,9 @@ class Test_TC_MC_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16047,7 +16153,9 @@ class Test_TC_MC_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16213,7 +16321,9 @@ class Test_TC_MC_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16385,7 +16495,9 @@ class Test_TC_MC_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16595,7 +16707,9 @@ class Test_TC_MC_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16764,7 +16878,9 @@ class Test_TC_MC_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -16930,7 +17046,9 @@ class Test_TC_MC_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17109,7 +17227,9 @@ class Test_TC_MC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17158,7 +17278,7 @@ class Test_TC_MC_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17189,7 +17309,9 @@ class Test_TC_MC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17250,7 +17372,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends CEC Home Keys(0x09) to DUT"); @@ -17261,7 +17383,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17292,7 +17414,9 @@ class Test_TC_MC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17402,7 +17526,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Numbers2"); @@ -17413,7 +17537,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Numbers3"); @@ -17424,7 +17548,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Numbers4"); @@ -17435,7 +17559,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send Numbers5"); @@ -17446,7 +17570,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Numbers6"); @@ -17457,7 +17581,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Numbers7"); @@ -17468,7 +17592,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Send Numbers8"); @@ -17479,7 +17603,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Send Numbers9"); @@ -17490,7 +17614,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17521,7 +17645,9 @@ class Test_TC_MC_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17604,7 +17730,9 @@ class Test_TC_MC_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17692,7 +17820,9 @@ class Test_TC_MC_3_7Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17761,7 +17891,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends a LaunchApp command to DUT to launch an app which is not available"); @@ -17777,7 +17907,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17812,7 +17942,9 @@ class Test_TC_MC_3_8Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17879,7 +18011,7 @@ class Test_TC_MC_3_8Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -17919,7 +18051,9 @@ class Test_TC_MC_3_9Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -17985,7 +18119,7 @@ class Test_TC_MC_3_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18021,7 +18155,9 @@ class Test_TC_MC_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18102,7 +18238,9 @@ class Test_TC_MC_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18174,7 +18312,7 @@ class Test_TC_MC_3_11Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Read current input list"); @@ -18211,7 +18349,9 @@ class Test_TC_MC_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18277,7 +18417,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Show Input Status Command"); @@ -18287,7 +18427,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -18318,7 +18458,9 @@ class Test_TC_MC_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18387,7 +18529,7 @@ class Test_TC_MC_3_13Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH reads the InputList attribute from the DUT to show list of Inputs available"); @@ -18428,7 +18570,9 @@ class Test_TC_MC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18515,7 +18659,9 @@ class Test_TC_MC_5_2Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18592,7 +18738,7 @@ class Test_TC_MC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the channel has changed on the device"); @@ -18600,7 +18746,7 @@ class Test_TC_MC_5_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18644,7 +18790,9 @@ class Test_TC_MC_5_3Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18735,7 +18883,7 @@ class Test_TC_MC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the channel has changed on the device"); @@ -18743,7 +18891,7 @@ class Test_TC_MC_5_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18783,7 +18931,9 @@ class Test_TC_MC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -18905,7 +19055,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute"); @@ -18921,7 +19071,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -18948,7 +19098,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is paused"); @@ -18974,7 +19124,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Verify that the media is stoped"); @@ -19022,7 +19172,9 @@ class Test_TC_MC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19180,7 +19332,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19196,7 +19348,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19223,7 +19375,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is started over"); @@ -19244,7 +19396,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that the next media item in the queue has been loaded"); @@ -19252,7 +19404,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); + "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19265,7 +19417,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that the previous media item in the queue has been loaded"); @@ -19273,7 +19425,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); + "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19287,7 +19439,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that the media has skipped forward 10 seconds"); @@ -19295,7 +19447,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); + "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19315,7 +19467,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Verify that the media has skipped backward 10 seconds"); @@ -19323,7 +19475,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); + "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19365,7 +19517,9 @@ class Test_TC_MC_6_3Suite : public TestCommand chip::Optional mSeekPosition; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19463,7 +19617,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Sends a Seek command"); @@ -19474,7 +19628,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the media has moved to 10 seconds from the starting point"); @@ -19482,7 +19636,7 @@ class Test_TC_MC_6_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); + "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19542,7 +19696,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -19573,7 +19727,9 @@ class Test_TC_MC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19739,7 +19895,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19761,7 +19917,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Reads the CurrentState attribute"); @@ -19783,7 +19939,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19799,7 +19955,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Reads the CurrentState attribute"); @@ -19826,7 +19982,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19847,7 +20003,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19904,7 +20060,9 @@ class Test_TC_MC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -19976,7 +20134,7 @@ class Test_TC_MC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads the CurrentOutput attribute"); @@ -20015,7 +20173,9 @@ class Test_TC_MC_7_2Suite : public TestCommand chip::app::DataModel::DecodableList audioOutputListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20085,7 +20245,7 @@ class Test_TC_MC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, @@ -20134,7 +20294,9 @@ class Test_TC_MC_8_1Suite : public TestCommand chip::app::DataModel::DecodableList TargetListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20225,7 +20387,7 @@ class Test_TC_MC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads the CurrentTarget attribute"); @@ -20262,7 +20424,9 @@ class Test_TC_MC_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20445,7 +20609,9 @@ class Test_TC_MC_10_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20540,7 +20706,9 @@ class Test_TC_MOD_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20712,7 +20880,9 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20756,8 +20926,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20772,8 +20942,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20840,11 +21010,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -20852,7 +21022,7 @@ class Test_TC_MF_1_3Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -20951,7 +21121,9 @@ class Test_TC_MF_1_4Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -20994,8 +21166,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21010,8 +21182,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21077,7 +21249,7 @@ class Test_TC_MF_1_4Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21189,7 +21361,9 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::Optional mDownloadImageFilePath; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21342,12 +21516,12 @@ class OTA_SuccessfulTransferSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -21364,7 +21538,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::Start::Type value; value.otaDownloadPath.Emplace(); value.otaDownloadPath.Value() = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return Start(kIdentityAlpha, value); } case 7: { @@ -21385,7 +21559,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OtaSoftwareUpdateRequestor::Id, OtaSoftwareUpdateRequestor::Commands::AnnounceOtaProvider::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Wait for transfer complete message"); @@ -21402,7 +21576,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::CompareFiles::Type value; value.file1 = mRawImageFilePath.HasValue() ? mRawImageFilePath.Value() : chip::Span("/tmp/rawImage", 13); value.file2 = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return CompareFiles(kIdentityAlpha, value); } } @@ -21434,7 +21608,9 @@ class Test_TC_OCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21598,7 +21774,9 @@ class Test_TC_OCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -21858,7 +22036,9 @@ class Test_TC_OO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22053,7 +22233,9 @@ class Test_TC_OO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22200,7 +22382,9 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22364,7 +22548,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is false after off command"); @@ -22376,7 +22560,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check on/off attribute value is true after on command"); @@ -22388,7 +22572,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check on/off attribute value is true after on command"); @@ -22400,7 +22584,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -22412,7 +22596,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -22424,7 +22608,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 1000ms"); @@ -22443,7 +22627,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -22492,7 +22676,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Check on/off attribute value is false after off command"); @@ -22527,7 +22711,9 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -22709,7 +22895,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH writes a value of 0 to StartUpOnOff attribute of DUT"); @@ -22897,7 +23083,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reboot target device"); @@ -22957,7 +23143,9 @@ class Test_TC_PS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23125,7 +23313,9 @@ class Test_TC_PS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23643,7 +23833,9 @@ class Test_TC_PRS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -23809,7 +24001,9 @@ class Test_TC_PRS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24020,7 +24214,9 @@ class Test_TC_PCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24188,7 +24384,9 @@ class Test_TC_PCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24687,7 +24885,9 @@ class Test_TC_PCC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -24835,7 +25035,9 @@ class Test_TC_PCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25091,7 +25293,9 @@ class Test_TC_PCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25332,7 +25536,9 @@ class Test_TC_PSCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25491,7 +25697,9 @@ class Test_TC_RH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25656,7 +25864,9 @@ class Test_TC_RH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -25805,7 +26015,9 @@ class Test_TC_SC_4_2Suite : public TestCommand char * deviceInstanceNameBeforeReboot1Buffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot1; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26312,7 +26524,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check Instance Name"); @@ -26476,7 +26688,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Instance Name"); @@ -26616,8 +26828,8 @@ class Test_TC_SC_4_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", - 76); + "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", + 76); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -26661,7 +26873,9 @@ class Test_TC_SWTCH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26774,7 +26988,9 @@ class Test_TC_TM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -26936,7 +27152,9 @@ class Test_TC_TM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -27065,7 +27283,9 @@ class Test_TC_TSTAT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -27226,7 +27446,9 @@ class Test_TC_TSTAT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -28086,7 +28308,9 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29217,7 +29441,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29237,7 +29461,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29267,7 +29491,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29297,7 +29521,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29327,7 +29551,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29363,7 +29587,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29408,7 +29632,9 @@ class Test_TC_TSUIC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29575,7 +29801,9 @@ class Test_TC_TSUIC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -29692,7 +29920,9 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -30256,7 +30486,9 @@ class Test_TC_DIAG_TH_NW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31222,7 +31454,9 @@ class Test_TC_DIAG_TH_NW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31511,7 +31745,9 @@ class Test_TC_DIAG_TH_NW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31801,7 +32037,9 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -31857,7 +32095,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the Overruncount attribute"); @@ -31893,7 +32131,9 @@ class Test_TC_ULABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32066,7 +32306,9 @@ class Test_TC_ULABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32197,7 +32439,9 @@ class Test_TC_ULABEL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32310,7 +32554,9 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32457,7 +32703,9 @@ class Test_TC_ULABEL_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32537,7 +32785,9 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32557,8 +32807,8 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -32786,7 +33036,9 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -32883,7 +33135,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads BeaconLostCount attribute from DUT"); @@ -32950,7 +33202,9 @@ class Test_TC_WNCV_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33123,7 +33377,9 @@ class Test_TC_WNCV_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33554,7 +33810,9 @@ class Test_TC_WNCV_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33656,7 +33914,9 @@ class Test_TC_WNCV_2_3Suite : public TestCommand chip::BitMask configStatusValA; chip::BitMask configStatusValB; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -33842,7 +34102,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "2d: TH clear the Mode Attribute bit1 of the DUT"); @@ -33873,7 +34133,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "3a: TH set the Mode Attribute bit2 of the DUT"); @@ -33892,7 +34152,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "3c: TH reads ConfigStatus attribute from DUT"); @@ -33917,7 +34177,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "3f: TH reads ConfigStatus attribute from DUT"); @@ -33954,7 +34214,9 @@ class Test_TC_WNCV_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34035,7 +34297,9 @@ class Test_TC_WNCV_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34118,7 +34382,9 @@ class Test_TC_WNCV_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34342,7 +34608,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34389,7 +34655,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34461,7 +34727,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34524,7 +34790,9 @@ class Test_TC_WNCV_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -34748,7 +35016,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34795,7 +35063,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34867,7 +35135,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34933,7 +35201,9 @@ class Test_TC_WNCV_3_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLift; chip::app::DataModel::Nullable attrCurrentPositionTilt; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35083,7 +35353,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 6-8 seconds movement(s) on the device"); @@ -35100,7 +35370,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "1d: TH Waits for 2 seconds movement(s) on the device"); @@ -35123,7 +35393,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35213,7 +35483,9 @@ class Test_TC_WNCV_3_4Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35317,7 +35589,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35334,7 +35606,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35406,7 +35678,9 @@ class Test_TC_WNCV_3_5Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35510,7 +35784,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35527,7 +35801,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35597,7 +35871,9 @@ class Test_TC_WNCV_4_1Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -35750,7 +36026,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -35774,7 +36050,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -35823,7 +36099,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -35894,7 +36170,9 @@ class Test_TC_WNCV_4_2Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36047,7 +36325,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36071,7 +36349,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36120,7 +36398,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36191,7 +36469,9 @@ class Test_TC_WNCV_4_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36285,7 +36565,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToLiftPercentage command with 10001 to DUT"); @@ -36297,7 +36577,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToLiftPercentage command with 0xFFFF to DUT"); @@ -36309,7 +36589,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36342,7 +36622,9 @@ class Test_TC_WNCV_4_4Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36436,7 +36718,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToTiltPercentage command with 10001 to DUT"); @@ -36448,7 +36730,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToTiltPercentage command with 0xFFFF to DUT"); @@ -36460,7 +36742,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36494,7 +36776,9 @@ class Test_TC_WNCV_4_5Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36636,7 +36920,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1a: If (PA_LF & LF) TH sends GoToLiftPercentage command with 90%% to DUT"); @@ -36647,7 +36931,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "1b: TH Waits for 100ms-1s"); @@ -36664,7 +36948,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "1d: TH Waits for 100ms-1s"); @@ -36682,7 +36966,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH Waits for 100ms-1s"); @@ -36699,7 +36983,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2d: TH Waits for 100ms-1s"); @@ -36787,7 +37071,9 @@ class TV_TargetNavigatorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -36883,7 +37169,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36915,7 +37201,9 @@ class TV_AudioOutputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37032,7 +37320,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Rename Output Command"); @@ -37043,7 +37331,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read attribute Audio Output list"); @@ -37080,7 +37368,9 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37115,7 +37405,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueNull("currentApp", value)); } @@ -37195,7 +37485,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Stop App Command"); @@ -37208,7 +37498,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Hide App Command"); @@ -37221,7 +37511,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37253,7 +37543,9 @@ class TV_KeypadInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37307,7 +37599,7 @@ class TV_KeypadInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37339,7 +37631,9 @@ class TV_AccountLoginClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37399,7 +37693,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::GetSetupPIN::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Login Command"); @@ -37410,7 +37704,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Login::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Logout Command"); @@ -37419,7 +37713,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Logout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37451,7 +37745,9 @@ class TV_WakeOnLanClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37532,7 +37828,9 @@ class TV_ApplicationBasicClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -37713,7 +38011,9 @@ class TV_MediaPlaybackClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38010,7 +38310,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Media Playback Pause Command"); @@ -38019,7 +38319,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Media Playback Stop Command"); @@ -38028,7 +38328,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Media Playback Start Over Command"); @@ -38037,7 +38337,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Media Playback Previous Command"); @@ -38046,7 +38346,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Media Playback Next Command"); @@ -38055,7 +38355,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Media Playback Rewind Command"); @@ -38064,7 +38364,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Media Playback Fast Forward Command"); @@ -38073,7 +38373,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Media Playback Skip Forward Command"); @@ -38083,7 +38383,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read attribute position after skip forward"); @@ -38098,7 +38398,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read attribute position after skip backward"); @@ -38113,7 +38413,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read attribute position after seek"); @@ -38149,7 +38449,9 @@ class TV_ChannelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38322,7 +38624,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannel::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Change Channel By Number Command"); @@ -38333,7 +38635,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Skip Channel Command"); @@ -38343,7 +38645,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38374,7 +38676,9 @@ class TV_LowPowerClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38422,7 +38726,7 @@ class TV_LowPowerClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38454,7 +38758,9 @@ class TV_ContentLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38574,7 +38880,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand value.search.parameterList = chip::app::DataModel::List(listHolder_1->mList, - 1); + 1); } value.autoPlay = true; @@ -38583,7 +38889,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchContent::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Launch URL Command"); @@ -38674,7 +38980,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchURL::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38706,7 +39012,9 @@ class TV_MediaInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -38828,7 +39136,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Hide Input Status Command"); @@ -38837,7 +39145,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Show Input Status Command"); @@ -38846,7 +39154,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Rename Input Command"); @@ -38857,7 +39165,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read attribute media input list"); @@ -38913,7 +39221,9 @@ class TestClusterSuite : public TestCommand char * nullableCharStringSaveBuffer = nullptr; chip::app::DataModel::Nullable nullableCharStringSave; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -39640,13 +39950,13 @@ class TestClusterSuite : public TestCommand chip::ByteSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longOctetString", value, - chip::ByteSpan( - chip::Uint8::from_const_char( - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), - 300))); + "longOctetString", value, + chip::ByteSpan( + chip::Uint8::from_const_char( + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), + 300))); } break; case 122: @@ -39702,12 +40012,12 @@ class TestClusterSuite : public TestCommand chip::CharSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longCharString", value, - chip::CharSpan( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", - 900))); + "longCharString", value, + chip::CharSpan( + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", + 900))); } break; case 132: @@ -39722,48 +40032,48 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 4)); } } @@ -39780,59 +40090,59 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 4)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[4]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[4]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 5)); } } @@ -40161,7 +40471,7 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40215,8 +40525,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40239,8 +40549,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40255,15 +40565,15 @@ class TestClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().nullableList.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[0]", iter_3.GetValue(), 1U)); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[1]", iter_3.GetValue(), 2U)); VerifyOrReturn(CheckNoMoreListItems( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); } VerifyOrReturn(CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); } @@ -42247,7 +42557,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Not Handled Command"); @@ -42256,7 +42566,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNotHandled::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Specific Command"); @@ -42265,7 +42575,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSpecific::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Test Add Arguments Command"); @@ -42276,7 +42586,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send failing Test Add Arguments Command"); @@ -42287,7 +42597,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read attribute BOOLEAN Default Value"); @@ -43008,11 +43318,11 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::ByteSpan value; value = chip::ByteSpan( - chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111garbage: not in length on purpose"), - 300); + chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111garbage: not in length on purpose"), + 300); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongOctetString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43078,10 +43388,10 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::CharSpan value; value = chip::Span( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", - 900); + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", + 900); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongCharString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43112,50 +43422,50 @@ class TestClusterSuite : public TestCommand auto * listHolder_0 = new ListHolder(5); listFreer.add(listHolder_0); listHolder_0->mList[0] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[1] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[2] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[3] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[4] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); value = chip::app::DataModel::List(listHolder_0->mList, 5); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListLongOctetString::Id, @@ -43248,7 +43558,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(200), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 149: { LogStep(149, "Send Test Command to unsupported cluster"); @@ -43257,7 +43567,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 150: { LogStep(150, "Read attribute vendor_id Default Value"); @@ -43294,7 +43604,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEnumsRequest::Id, value, chip::NullOptional - ); + ); } case 155: { LogStep(155, "Send Test Command With Struct Argument and arg1.b is true"); @@ -43313,7 +43623,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 156: { LogStep(156, "Send Test Command With Struct Argument and arg1.b is false"); @@ -43332,7 +43642,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 157: { LogStep(157, "Send Test Command With Nested Struct Argument and arg1.c.b is true"); @@ -43354,7 +43664,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 158: { LogStep(158, "Send Test Command With Nested Struct Argument arg1.c.b is false"); @@ -43376,7 +43686,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 159: { LogStep(159, "Send Test Command With Nested Struct List Argument and all fields b of arg1.d are true"); @@ -43420,7 +43730,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43455,7 +43765,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 160: { LogStep(160, "Send Test Command With Nested Struct List Argument and some fields b of arg1.d are false"); @@ -43499,7 +43809,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43534,7 +43844,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 161: { LogStep(161, "Send Test Command With Struct Argument and see what we get back"); @@ -43553,7 +43863,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::SimpleStructEchoRequest::Id, value, chip::NullOptional - ); + ); } case 162: { LogStep(162, "Send Test Command With List of INT8U and none of them is set to 0"); @@ -43577,7 +43887,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 163: { LogStep(163, "Send Test Command With List of INT8U and one of them is set to 0"); @@ -43602,7 +43912,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 164: { LogStep(164, "Send Test Command With List of INT8U and get it reversed"); @@ -43626,7 +43936,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 165: { LogStep(165, "Send Test Command With empty List of INT8U and get an empty list back"); @@ -43637,7 +43947,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 166: { LogStep(166, "Send Test Command With List of Struct Argument and arg1.b of first item is true"); @@ -43669,12 +43979,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 167: { LogStep(167, "Send Test Command With List of Struct Argument and arg1.b of first item is false"); @@ -43706,12 +44016,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 168: { LogStep(168, @@ -43795,12 +44105,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 169: { LogStep(169, "Send Test Command With Nested Struct List Argument and some fields b of elements of arg1.d are false"); @@ -43883,12 +44193,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 170: { LogStep(170, "Write attribute LIST With List of INT8U and none of them is set to 0"); @@ -43960,7 +44270,7 @@ class TestClusterSuite : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListStructOctetString::Id, value, chip::NullOptional, @@ -43981,7 +44291,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 177: { LogStep(177, "Send Test Command without its optional arg."); @@ -43990,7 +44300,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 178: { LogStep(178, "Read list of structs containing nullables and optionals"); @@ -44022,7 +44332,7 @@ class TestClusterSuite : public TestCommand } value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListNullablesAndOptionalsStruct::Id, value, chip::NullOptional, @@ -45287,7 +45597,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 373: { LogStep(373, "Send a command that takes an optional parameter but do not set it."); @@ -45298,7 +45608,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 374: { LogStep(374, "Subscribe to list attribute"); @@ -46188,7 +46498,9 @@ class TestClusterComplexTypesSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46341,7 +46653,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send command that needs timed invoke without a timeout value"); @@ -46350,7 +46662,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::NullOptional, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send command that needs timed invoke with a long timeout value"); @@ -46359,7 +46671,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send command that needs timed invoke with a too-short timeout value"); @@ -46369,7 +46681,7 @@ class TestClusterComplexTypesSuite : public TestCommand TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46381,7 +46693,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send command that does not need timed invoke with a too-short timeout value"); @@ -46390,7 +46702,7 @@ class TestClusterComplexTypesSuite : public TestCommand ReturnErrorOnFailure(SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46523,7 +46835,9 @@ class TestConstraintsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46909,7 +47223,9 @@ class TestDelayCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -46989,7 +47305,9 @@ class TestEventsSuite : public TestCommand uint64_t eventNumber; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47216,7 +47534,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read the event back"); @@ -47246,7 +47564,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read the event back"); @@ -47270,7 +47588,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check for event report"); @@ -47322,7 +47640,9 @@ class TestDiscoverySuite : public TestCommand char * deviceInstanceNameBeforeRebootBuffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47607,7 +47927,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Open Commissioning Window with too-long timeout"); @@ -47618,7 +47938,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Open Commissioning Window"); @@ -47629,7 +47949,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check Instance Name"); @@ -47769,7 +48089,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Check Instance Name"); @@ -47806,7 +48126,9 @@ class TestLogCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -47945,7 +48267,9 @@ class TestSaveAsSuite : public TestCommand uint8_t * readAttributeOctetStringNotDefaultValueBuffer = nullptr; chip::ByteSpan readAttributeOctetStringNotDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -48731,7 +49055,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -48742,7 +49066,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Add Arguments Command"); @@ -48753,7 +49077,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read attribute BOOLEAN Default Value"); @@ -49447,7 +49771,9 @@ class TestConfigVariablesSuite : public TestCommand uint8_t TestAddArgumentDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -49513,7 +49839,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49524,7 +49850,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -49556,7 +49882,9 @@ class TestDescriptorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -49749,7 +50077,9 @@ class TestBasicInformationSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50078,7 +50408,9 @@ class TestGeneralCommissioningSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50379,7 +50711,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check Breadcrumb was not touched by invalid CommissioningComplete"); @@ -50395,7 +50727,7 @@ class TestGeneralCommissioningSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Try to arm fail-safe"); @@ -50406,7 +50738,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Check Breadcrumb was not touched by ArmFailSafe with commissioning window open"); @@ -50445,7 +50777,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check Breadcrumb was properly set by ArmFailSafe"); @@ -50461,7 +50793,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check Breadcrumb was not touched by ArmFailSafe with existing fail-safe armed"); @@ -50475,7 +50807,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check Breadcrumb was not touched by CommissioningComplete from wrong fabric"); @@ -50489,7 +50821,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Check Breadcrumb was reset to 0 by CommissioningComplete"); @@ -50505,7 +50837,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Breadcrumb was set by arming fail-safe again"); @@ -50521,7 +50853,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check Breadcrumb was reset by expiring the fail-safe"); @@ -50563,7 +50895,9 @@ class TestIdentifyClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50612,7 +50946,7 @@ class TestIdentifyClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -50646,7 +50980,9 @@ class TestOperationalCredentialsClusterSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50702,8 +51038,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50729,8 +51065,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50786,7 +51122,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read fabric list before setting label"); @@ -50801,7 +51137,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateFabricLabel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read fabric list after setting label"); @@ -50841,7 +51177,9 @@ class TestModeSelectClusterSuite : public TestCommand uint8_t currentModeBeforeToggle; chip::app::DataModel::Nullable OnModeValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -50878,7 +51216,7 @@ class TestModeSelectClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -50889,9 +51227,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[0].semanticTags", iter_2, 0)); + "supportedModes[0].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[0].semanticTags", iter_2, 1)); + "supportedModes[0].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 1)); VerifyOrReturn( @@ -50900,9 +51238,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[1].semanticTags", iter_2, 0)); + "supportedModes[1].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[1].semanticTags", iter_2, 1)); + "supportedModes[1].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 2)); VerifyOrReturn( @@ -50911,9 +51249,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[2].semanticTags", iter_2, 0)); + "supportedModes[2].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[2].semanticTags", iter_2, 1)); + "supportedModes[2].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter_0, 3)); } @@ -51124,7 +51462,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Verify Current Mode Change"); @@ -51139,7 +51477,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Toggle OnOff"); @@ -51147,7 +51485,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Toggle OnOff"); @@ -51155,7 +51493,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Verify Current Mode does not change when OnMode is null"); @@ -51191,7 +51529,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Toggle OnOff"); @@ -51199,7 +51537,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Verify Current Mode Changes if OnMode is not null"); @@ -51237,7 +51575,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Change On Mode"); @@ -51333,7 +51671,9 @@ class TestSelfFabricRemovalSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -51415,7 +51755,7 @@ class TestSelfFabricRemovalSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -51448,7 +51788,9 @@ class TestSystemCommandsSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -51774,7 +52116,9 @@ class TestBindingSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52050,7 +52394,9 @@ class TestUserLabelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52225,7 +52571,9 @@ class TestArmFailSafeSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52249,8 +52597,8 @@ class TestArmFailSafeSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52331,7 +52679,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads NodeLabel mandatory attribute of target device"); @@ -52346,7 +52694,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddTrustedRootCertificate::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Invoke AddNOC without fail-safe"); @@ -52354,15 +52702,15 @@ class TestArmFailSafeSuite : public TestCommand chip::app::Clusters::OperationalCredentials::Commands::AddNOC::Type value; value.NOCValue = chip::ByteSpan(chip::Uint8::from_const_char("00112233garbage: not in length on purpose"), 8); value.IPKValue = chip::ByteSpan( - chip::Uint8::from_const_char( - "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 16); value.caseAdminSubject = 1234ULL; value.adminVendorId = static_cast(65521); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddNOC::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Invoke UpdateNOC without fail-safe"); @@ -52372,20 +52720,20 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateNOC::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Invoke CSRRequest without fail-safe"); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::Type value; value.CSRNonce = chip::ByteSpan( - chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" - "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 32); + chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" + "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 32); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::CSRRequest::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -52416,7 +52764,9 @@ class TestFanControlSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52807,7 +53157,9 @@ class TestMultiAdminSuite : public TestCommand char * readFromAlphaBuffer = nullptr; chip::CharSpan readFromAlpha; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -52848,8 +53200,8 @@ class TestMultiAdminSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52966,7 +53318,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from alpha again"); @@ -52989,7 +53341,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Open Commissioning Window from alpha again"); @@ -53000,7 +53352,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Commission from beta"); @@ -53026,7 +53378,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "Commission from gamma"); @@ -53098,7 +53450,9 @@ class Test_TC_DGSW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53118,7 +53472,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53222,7 +53576,9 @@ class Test_TC_DGSW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53294,7 +53650,9 @@ class Test_TC_DGSW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53317,7 +53675,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53368,7 +53726,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Commands::ResetWatermarks::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads a list of ThreadMetrics struct attribute from DUT."); @@ -53418,7 +53776,9 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -53497,7 +53857,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Subscribe OnOff Attribute"); @@ -53510,7 +53870,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check for attribute report"); @@ -53522,7 +53882,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check for attribute report"); @@ -53562,7 +53922,9 @@ class DL_UsersAndCredentialsSuite : public TestCommand uint16_t NumberOfPINUsersSupported; uint16_t NumberOfRFIDUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -55327,7 +55689,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users and verify default value"); @@ -55342,7 +55704,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read fails for user with index greater than Number Of Users Supported"); @@ -55352,7 +55714,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Create new user with default parameters"); @@ -55368,7 +55730,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read the user back and verify its fields"); @@ -55378,7 +55740,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Set user at the occupied index fails with appropriate response"); @@ -55394,7 +55756,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Modify userName for existing user"); @@ -55411,7 +55773,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Read the modified user back and verify its fields"); @@ -55421,7 +55783,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Modify userUniqueId for existing user"); @@ -55438,7 +55800,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read the modified user back and verify its fields"); @@ -55448,7 +55810,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Modify userStatus for existing user"); @@ -55465,7 +55827,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Read the modified user back and verify its fields"); @@ -55475,7 +55837,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Modify userType for existing user"); @@ -55492,7 +55854,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Read the modified user back and verify its fields"); @@ -55502,7 +55864,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Modify credentialRule for existing user"); @@ -55519,7 +55881,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read the modified user back and verify its fields"); @@ -55529,7 +55891,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Modify all fields for existing user"); @@ -55550,7 +55912,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read the modified user back and verify its fields"); @@ -55560,7 +55922,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Add another user with non-default fields"); @@ -55581,7 +55943,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read the new user back and verify its fields"); @@ -55591,7 +55953,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Create user in the last slot"); @@ -55608,7 +55970,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 23: { LogStep(23, "Read the last user back and verify its fields"); @@ -55618,7 +55980,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "User creation in the 0 slot fails"); @@ -55634,7 +55996,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 25: { LogStep(25, "User creation in the out-of-bounds slot fails"); @@ -55650,7 +56012,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Clear first user"); @@ -55660,7 +56022,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Read cleared user and verify it is available"); @@ -55670,7 +56032,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create new user in the cleared slot"); @@ -55686,7 +56048,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 29: { LogStep(29, "Read the user in the previously cleared slot and verify its fields"); @@ -55696,7 +56058,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Clear user with index 0 fails"); @@ -55706,7 +56068,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 31: { LogStep(31, "Clear user with out-of-bounds index fails"); @@ -55716,7 +56078,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 32: { LogStep(32, "Clear all users"); @@ -55726,7 +56088,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 33: { LogStep(33, "Read first cleared user and verify it is available"); @@ -55736,7 +56098,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Read last cleared user and verify it is available"); @@ -55746,7 +56108,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get number of supported PIN credentials and verify default value"); @@ -55764,7 +56126,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Reading PIN credential with index 0 fails"); @@ -55777,7 +56139,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Reading PIN credential with out-of-bounds index fails"); @@ -55790,7 +56152,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create new PIN credential and user"); @@ -55808,7 +56170,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 40: { LogStep(40, "Verify created user"); @@ -55818,7 +56180,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Verify created PIN credential"); @@ -55831,7 +56193,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Create new PIN credential and user with index 0 fails"); @@ -55849,7 +56211,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 43: { LogStep(43, "Create new PIN credential and user with out-of-bounds index fails"); @@ -55867,7 +56229,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get number of supported RFID credentials and verify default value"); @@ -55885,7 +56247,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Reading RFID credential with out-of-bounds index fails"); @@ -55898,7 +56260,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check that RFID credential does not exist"); @@ -55911,7 +56273,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Create new RFID credential and add it to existing user"); @@ -55931,7 +56293,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 49: { LogStep(49, "Verify modified user"); @@ -55941,7 +56303,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created credential"); @@ -55954,7 +56316,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Create new RFID credential and user with index 0 fails"); @@ -55973,7 +56335,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 52: { LogStep(52, "Create new RFID credential and user with out-of-bounds index fails"); @@ -55992,7 +56354,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 53: { LogStep(53, "Create new credential and try to add it to 0 user"); @@ -56011,7 +56373,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 54: { LogStep(54, "Create new credential and try to add it to out-of-bounds user"); @@ -56030,7 +56392,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 55: { LogStep(55, "Create new PIN with too short data"); @@ -56049,7 +56411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 56: { LogStep(56, "Create new PIN with too long data"); @@ -56068,7 +56430,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 57: { LogStep(57, "Create new RFID with too short data"); @@ -56087,7 +56449,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 58: { LogStep(58, "Create new PIN with Programming user type fails"); @@ -56107,7 +56469,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 59: { LogStep(59, "Create new RFID with too short data"); @@ -56119,7 +56481,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand value.credential.credentialIndex = 3U; value.credentialData = chip::ByteSpan( - chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); + chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); value.userIndex.SetNonNull(); value.userIndex.Value() = 0U; value.userStatus.SetNull(); @@ -56127,7 +56489,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 60: { LogStep(60, "Create new PIN credential with data the would cause duplicate"); @@ -56145,7 +56507,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 61: { LogStep(61, "Create new RFID credential with data the would cause duplicate"); @@ -56164,7 +56526,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 62: { LogStep(62, "Modify credentialData of existing PIN credential"); @@ -56183,7 +56545,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 63: { LogStep(63, "Verify that credential was changed by creating new credential with old data"); @@ -56201,7 +56563,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 64: { LogStep(64, "Verify that credential was changed by creating new credential with new data"); @@ -56219,7 +56581,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 65: { LogStep(65, "Create new RFID credential and add it to existing user"); @@ -56239,7 +56601,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 66: { LogStep(66, "Verify modified user"); @@ -56249,7 +56611,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Create new RFID credential and add it to existing user"); @@ -56268,7 +56630,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 68: { LogStep(68, "Verify modified user"); @@ -56278,7 +56640,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Clear first PIN credential"); @@ -56292,7 +56654,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 70: { LogStep(70, "Read back the credential and make sure it is deleted"); @@ -56305,7 +56667,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Read the user back and make sure PIN credential is deleted"); @@ -56315,7 +56677,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Clear the second PIN credential"); @@ -56329,7 +56691,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 73: { LogStep(73, "Read back the credential and make sure it is deleted"); @@ -56342,7 +56704,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Read the user back and make sure related user is deleted"); @@ -56352,7 +56714,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Create new RFID credential with user"); @@ -56371,7 +56733,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 76: { LogStep(76, "Clear all the RFID credentials"); @@ -56385,7 +56747,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 77: { LogStep(77, "Read back the fist RFID credential and make sure it is deleted"); @@ -56398,7 +56760,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Read back the second RFID credential and make sure it is deleted"); @@ -56411,7 +56773,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Read back the third RFID credential and make sure it is deleted"); @@ -56424,7 +56786,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Read the user related with first RFID back and make sure it has only PIN credential"); @@ -56434,7 +56796,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Read the user related with second RFID back and make sure it is deleted"); @@ -56444,7 +56806,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Create new PIN credential with user"); @@ -56462,7 +56824,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 83: { LogStep(83, "Create new RFID credential with user"); @@ -56481,7 +56843,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 84: { LogStep(84, "Create another RFID credential with user"); @@ -56500,7 +56862,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 85: { LogStep(85, "Clear all the credentials"); @@ -56510,7 +56872,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 86: { LogStep(86, "Read back the first PIN credential and make sure it is deleted"); @@ -56523,7 +56885,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Read back the first RFID credential and make sure it is deleted"); @@ -56536,7 +56898,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Read back the second PIN credential and make sure it is deleted"); @@ -56549,7 +56911,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Read the user related with first PIN back and make sure it is deleted"); @@ -56559,7 +56921,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Read the user related with first RFID back and make sure it is deleted"); @@ -56569,7 +56931,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Read the user related with second PIN back and make sure it is deleted"); @@ -56579,7 +56941,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Read the user related with last RFID back and make sure it is deleted"); @@ -56589,7 +56951,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new Programming PIN credential with invalid index"); @@ -56607,7 +56969,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create new Programming PIN credential with valid index"); @@ -56625,7 +56987,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created user"); @@ -56635,7 +56997,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Verify created programming PIN credential"); @@ -56648,7 +57010,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Modify the Programming PIN credential"); @@ -56666,7 +57028,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 98: { LogStep(98, "Clearing Programming PIN fails"); @@ -56680,7 +57042,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 99: { LogStep(99, "Clearing Programming PIN with invalid index fails"); @@ -56694,7 +57056,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 100: { LogStep(100, "Clearing PIN credential with zero index fails"); @@ -56708,7 +57070,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 101: { LogStep(101, "Clearing PIN credential with out-of-bound index fails"); @@ -56722,7 +57084,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 102: { LogStep(102, "Clearing RFID credential with zero index fails"); @@ -56736,7 +57098,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Clearing RFID credential with out-of-bound index fails"); @@ -56750,7 +57112,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 104: { LogStep(104, "Clear the Programming PIN user"); @@ -56760,7 +57122,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure Programming PIN user is deleted"); @@ -56770,7 +57132,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure programming PIN credential is deleted"); @@ -56783,7 +57145,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Create new PIN credential and user"); @@ -56801,7 +57163,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 108: { LogStep(108, "Create second PIN credential and add it to existing user"); @@ -56820,7 +57182,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create third PIN credential and add it to existing user"); @@ -56839,7 +57201,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 110: { LogStep(110, "Create fourth PIN credential and add it to existing user"); @@ -56858,7 +57220,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create fifth PIN credential and add it to existing user"); @@ -56877,7 +57239,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Try to create sixth PIN credential and make sure it fails"); @@ -56896,7 +57258,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 113: { LogStep(113, "Final clean-up"); @@ -56906,7 +57268,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -56937,7 +57299,9 @@ class DL_LockUnlockSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -57080,7 +57444,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Verify that lock state attribute value is set to Unlocked"); @@ -57094,7 +57458,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that lock state attribute value is set to Locked"); @@ -57117,7 +57481,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Try to unlock the door with invalid PIN"); @@ -57128,7 +57492,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that lock state attribute value is set to Locked"); @@ -57144,7 +57508,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that lock state attribute value is set to Unlocked"); @@ -57160,7 +57524,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that lock state attribute value is set to Unlocked"); @@ -57176,7 +57540,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that lock state attribute value is set to Locked"); @@ -57198,7 +57562,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "Set OperatingMode to Normal"); @@ -57220,7 +57584,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57256,7 +57620,9 @@ class DL_SchedulesSuite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint8_t NumberOfHolidaySchedulesSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -58567,7 +58933,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users"); @@ -58603,7 +58969,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Create Week Day schedule with out-of-bounds index"); @@ -58619,7 +58985,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Create Week Day schedule with 0 user index"); @@ -58635,7 +59001,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Create Week Day schedule with out-of-bounds user index"); @@ -58651,7 +59017,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Create Week Day schedule for non-existing user"); @@ -58667,7 +59033,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Create Week Day schedule with 0 days mask"); @@ -58683,7 +59049,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Create Week Day schedule for Sunday and Monday"); @@ -58699,7 +59065,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Create Week Day schedule for Sunday Wednesday and Saturday"); @@ -58715,7 +59081,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Create Week Day schedule with invalid start hour"); @@ -58731,7 +59097,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Create Week Day schedule with invalid start minute"); @@ -58747,7 +59113,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Create Week Day schedule with invalid end hour"); @@ -58763,7 +59129,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Create Week Day schedule with invalid end minute"); @@ -58779,7 +59145,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Create Week Day schedule with start hour later that end hour"); @@ -58795,7 +59161,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Create Week Day schedule with start minute later that end minute when hours are equal"); @@ -58811,7 +59177,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Make sure that previous operations did not create a schedule"); @@ -58822,7 +59188,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Get Week Day schedule with 0 index"); @@ -58833,7 +59199,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Get Week Day schedule with out-of-bounds index"); @@ -58844,7 +59210,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Get Week Day schedule with 0 user index"); @@ -58855,7 +59221,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Get Week Day schedule with out-of-bounds user index"); @@ -58866,7 +59232,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Get Week Day schedule with non-existing user index"); @@ -58877,7 +59243,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Create Year Day schedule with 0 index"); @@ -58890,7 +59256,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Create Year Day schedule with out-of-bounds index"); @@ -58903,7 +59269,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create Year Day schedule with 0 user index"); @@ -58916,7 +59282,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Create Year Day schedule with out-of-bounds user index"); @@ -58929,7 +59295,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Create Year Day schedule for non-existing user"); @@ -58942,7 +59308,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Create Year Day schedule with start hour later that end hour"); @@ -58955,7 +59321,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 32: { LogStep(32, "Make sure that previous operations did not create a schedule"); @@ -58966,7 +59332,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Get Year Day schedule with 0 index"); @@ -58977,7 +59343,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Get Year Day schedule with out-of-bounds index"); @@ -58988,7 +59354,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get Year Day schedule with 0 user index"); @@ -58999,7 +59365,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Get Year Day schedule with out-of-bounds user index"); @@ -59010,7 +59376,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Get Year Day schedule with non-existing user index"); @@ -59021,7 +59387,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Create Holiday schedule with 0 index"); @@ -59034,7 +59400,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create Holiday schedule with out-of-bounds index"); @@ -59047,7 +59413,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Create Holiday schedule with start hour later that end hour"); @@ -59060,7 +59426,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Create Holiday schedule with invalid operating mode"); @@ -59073,7 +59439,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Make sure that previous operations did not create a schedule"); @@ -59083,7 +59449,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Get Holiday schedule with 0 index"); @@ -59093,7 +59459,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get Holiday schedule with out-of-bounds index"); @@ -59103,7 +59469,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Create Holiday schedule with valid parameters"); @@ -59116,7 +59482,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Verify created schedule"); @@ -59126,7 +59492,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Create Week Day schedule with valid parameters"); @@ -59142,7 +59508,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Verify created schedule"); @@ -59153,7 +59519,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 49: { LogStep(49, "Create Year Day schedule with valid parameters"); @@ -59166,7 +59532,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created schedule"); @@ -59177,7 +59543,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Clear Week Day schedule with 0 index"); @@ -59188,7 +59554,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 52: { LogStep(52, "Clear Week Day schedule with out-of-bounds index"); @@ -59199,7 +59565,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Clear Week Day schedule with 0 user index"); @@ -59210,7 +59576,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 54: { LogStep(54, "Clear Week Day schedule with out-of-bounds user index"); @@ -59221,7 +59587,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "Clear Week Day schedule with non-existing user"); @@ -59232,7 +59598,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 56: { LogStep(56, "Make sure that week day schedule was not deleted"); @@ -59243,7 +59609,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Make sure that year day schedule was not deleted"); @@ -59254,7 +59620,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 58: { LogStep(58, "Make sure that holiday schedule was not deleted"); @@ -59264,7 +59630,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Clear Year Day schedule with 0 index"); @@ -59275,7 +59641,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "Clear Year Day schedule with out-of-bounds index"); @@ -59286,7 +59652,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Clear Year Day schedule with 0 user index"); @@ -59297,7 +59663,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 62: { LogStep(62, "Clear Year Day schedule with out-of-bounds user index"); @@ -59308,7 +59674,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Clear Year Day schedule with non-existing user"); @@ -59319,7 +59685,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 64: { LogStep(64, "Make sure that week day schedule was not deleted"); @@ -59330,7 +59696,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Make sure that year day schedule was not deleted"); @@ -59341,7 +59707,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Make sure that holiday schedule was not deleted"); @@ -59351,7 +59717,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Clear Holiday schedule with 0 index"); @@ -59361,7 +59727,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 68: { LogStep(68, "Clear Holiday schedule with out-of-bounds index"); @@ -59371,7 +59737,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Make sure that week day schedule was not deleted"); @@ -59382,7 +59748,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 70: { LogStep(70, "Make sure that year day schedule was not deleted"); @@ -59393,7 +59759,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Make sure that holiday schedule was not deleted"); @@ -59403,7 +59769,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Create another Week Day schedule with valid parameters"); @@ -59419,7 +59785,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 73: { LogStep(73, "Verify created week day schedule"); @@ -59430,7 +59796,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Create another Year Day schedule with valid parameters"); @@ -59443,7 +59809,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Verify created year day schedule"); @@ -59454,7 +59820,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Create another Holiday schedule with valid parameters"); @@ -59467,7 +59833,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 77: { LogStep(77, "Verify created holiday schedule"); @@ -59477,7 +59843,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Clear a single week day schedule for the first user"); @@ -59488,7 +59854,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Verify cleared week day schedule"); @@ -59499,7 +59865,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Clear all remaining week day schedules for the first user"); @@ -59510,7 +59876,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Verify cleared week schedule"); @@ -59521,7 +59887,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Make sure that first year day schedule was not deleted"); @@ -59532,7 +59898,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 83: { LogStep(83, "Make sure that second year day schedule was not deleted"); @@ -59543,7 +59909,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 84: { LogStep(84, "Make sure that first holiday schedule was not deleted"); @@ -59553,7 +59919,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 85: { LogStep(85, "Make sure that second holiday schedule was not deleted"); @@ -59563,7 +59929,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 86: { LogStep(86, "Create another Week Day schedule with valid parameters"); @@ -59579,7 +59945,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Clear a single year day schedule for the first user"); @@ -59590,7 +59956,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Verify cleared year day schedule"); @@ -59601,7 +59967,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Clear all remaining year schedules for the first user"); @@ -59612,7 +59978,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Verify that second year day schedule was cleared"); @@ -59623,7 +59989,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Verify created week day schedule"); @@ -59634,7 +60000,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Clear all remaining week day schedules for the first user"); @@ -59645,7 +60011,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new user without credential so we can add more schedules to it"); @@ -59661,7 +60027,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create Week Day schedule with valid parameters for first user"); @@ -59677,7 +60043,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created week day schedule for first user"); @@ -59688,7 +60054,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Create Year Day schedule for first user"); @@ -59701,7 +60067,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Verify created year day schedule for first"); @@ -59712,7 +60078,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 98: { LogStep(98, "Create Week Day schedule with valid parameters for second user"); @@ -59728,7 +60094,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 99: { LogStep(99, "Verify created week day schedule for first user"); @@ -59739,7 +60105,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 100: { LogStep(100, "Create Year Day schedule for second user"); @@ -59752,7 +60118,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 101: { LogStep(101, "Verify created year day schedule for first"); @@ -59763,7 +60129,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "Cleanup the user"); @@ -59773,7 +60139,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Make sure clearing first user also cleared week day schedules"); @@ -59784,7 +60150,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 104: { LogStep(104, "Make sure clearing first user also cleared year day schedules"); @@ -59795,7 +60161,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure clearing second user also cleared week day schedules"); @@ -59806,7 +60172,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure clearing second user also cleared year day schedules"); @@ -59817,7 +60183,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Make sure that first holiday schedule was not deleted"); @@ -59827,7 +60193,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 108: { LogStep(108, "Make sure that second holiday schedule was not deleted"); @@ -59837,7 +60203,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create another Holiday schedule at the last slot"); @@ -59850,7 +60216,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "Verify Created Holiday Schedule"); @@ -59860,7 +60226,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create new PIN credential and schedule user"); @@ -59878,7 +60244,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Create Week Day schedule for first user"); @@ -59894,7 +60260,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 113: { LogStep(113, "Create Year Day schedule for first user"); @@ -59907,7 +60273,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 114: { LogStep(114, "Clear a single holiday schedule"); @@ -59917,7 +60283,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "Make sure that first holiday schedule was not deleted"); @@ -59927,7 +60293,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "Make sure that second holiday schedule was deleted"); @@ -59937,7 +60303,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 117: { LogStep(117, "Make sure that third holiday schedule was not deleted"); @@ -59947,7 +60313,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 118: { LogStep(118, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -59958,7 +60324,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 119: { LogStep(119, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -59969,7 +60335,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 120: { LogStep(120, "Clear all remaining holiday schedules"); @@ -59979,7 +60345,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 121: { LogStep(121, "Make sure that first holiday is still deleted"); @@ -59989,7 +60355,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 122: { LogStep(122, "Make sure that second holiday schedule was deleted"); @@ -59999,7 +60365,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 123: { LogStep(123, "Make sure that third holiday schedule was not deleted"); @@ -60009,7 +60375,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60020,7 +60386,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 125: { LogStep(125, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60031,7 +60397,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 126: { LogStep(126, "Final Cleanup"); @@ -60041,7 +60407,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60072,7 +60438,9 @@ class Test_TC_DLRK_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60189,7 +60557,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes the RequirePINforRemoteOperation attribute value as True on the DUT"); @@ -60216,7 +60584,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Lock Door Command to the DUT with valid PINCode"); @@ -60227,7 +60595,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Lock Door Command to the DUT without any argument PINCode"); @@ -60238,7 +60606,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH writes WrongCodeEntryLimit attribute value as 3 on the DUT"); @@ -60266,7 +60634,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60277,7 +60645,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60288,7 +60656,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60299,7 +60667,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH reads UserCodeTemporaryDisableTime attribute from DUT"); @@ -60315,7 +60683,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Clean the created credential"); @@ -60329,7 +60697,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60360,7 +60728,9 @@ class Test_TC_DLRK_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60461,7 +60831,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60472,7 +60842,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60491,7 +60861,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60522,7 +60892,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60553,7 +60923,9 @@ class Test_TC_DLRK_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60651,7 +61023,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60662,7 +61034,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60682,7 +61054,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockWithTimeout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60733,7 +61105,9 @@ class Test_TC_DLRK_2_5Suite : public TestCommand uint8_t NumberOfWeekDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -60900,7 +61274,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get Max number of Week Day schedules for user"); @@ -60926,7 +61300,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "send GetWeekDay Schedule Command "); @@ -60937,7 +61311,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Set Week Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -60953,7 +61327,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "send GetWeekDay Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -60964,7 +61338,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Clear all week day schedules for the first user"); @@ -60975,7 +61349,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send GetWeekDay Schedule Command "); @@ -60986,7 +61360,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61020,7 +61394,9 @@ class Test_TC_DLRK_2_7Suite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -61212,7 +61588,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Create new PIN credential and lock/unlock for second user"); @@ -61230,7 +61606,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Get Max number of year Day schedules for user"); @@ -61253,7 +61629,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "send Get Year Day Schedule Command"); @@ -61264,7 +61640,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Set Year Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61277,7 +61653,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "send Get Year Day Schedule Command to DUT and Verify INVALID_FIELD response"); @@ -61288,7 +61664,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response"); @@ -61299,7 +61675,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response "); @@ -61310,7 +61686,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Send Set Year Day Schedule Command to DUT"); @@ -61323,7 +61699,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "send Get Year Day Schedule Command "); @@ -61334,7 +61710,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61367,7 +61743,9 @@ class Test_TC_DLRK_2_9Suite : public TestCommand uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -61532,7 +61910,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH sends Get Credential Status Command"); @@ -61545,7 +61923,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "TH sends Set Credential Command to DUT"); @@ -61566,7 +61944,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Set Credential Command to DUT"); @@ -61587,7 +61965,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Set Credential Command to DUT"); @@ -61608,7 +61986,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH sends Set Credential Command to DUT"); @@ -61629,7 +62007,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH sends Set Credential Command to DUT"); @@ -61650,7 +62028,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH sends Clear Credential Command to DUT"); @@ -61664,7 +62042,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Set Credential Command to DUT"); @@ -61685,7 +62063,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Clear Credential Command to DUT"); @@ -61699,7 +62077,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Set Credential Command to DUT"); @@ -61720,7 +62098,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH sends Clear Credential Command to DUT"); @@ -61734,7 +62112,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 14: { LogStep(14, "TH sends Get Credential Status Command"); @@ -61747,7 +62125,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "TH sends Set Credential Command to DUT"); @@ -61768,7 +62146,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH sends Clear Credential Command to DUT"); @@ -61782,7 +62160,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61819,7 +62197,9 @@ class TestGroupMessagingSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -62071,7 +62451,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Add Group 2 (endpoint 0)"); @@ -62081,7 +62461,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "KeySet Write 1"); @@ -62093,30 +62473,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "KeySet Write 2"); @@ -62128,30 +62508,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Write Group Keys"); @@ -62171,7 +62551,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62198,7 +62578,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62273,7 +62653,7 @@ class TestGroupMessagingSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Cleanup ACLs"); @@ -62291,7 +62671,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62305,7 +62685,7 @@ class TestGroupMessagingSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Commission from gamma"); @@ -62330,7 +62710,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Add Group 2 (endpoint 0) for gamma"); @@ -62340,7 +62720,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "KeySet Write 1 for gamma"); @@ -62352,30 +62732,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "KeySet Write 2 for gamma"); @@ -62387,30 +62767,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Write Group Keys for gamma"); @@ -62430,7 +62810,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62457,7 +62837,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62542,7 +62922,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62576,7 +62956,9 @@ class TestGroupsClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -62814,7 +63196,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "View First Group (not found)"); @@ -62824,7 +63206,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Add First Group (new)"); @@ -62834,7 +63216,7 @@ class TestGroupsClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "View First Group (new)"); @@ -62844,7 +63226,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "View Second Group (not found)"); @@ -62854,7 +63236,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Get Group Membership 1 (all)"); @@ -62865,7 +63247,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "View Group 3 (not found)"); @@ -62875,7 +63257,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "View First Group (existing)"); @@ -62885,7 +63267,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Remove Group 0 (invalid)"); @@ -62895,7 +63277,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Remove Group 4 (not found)"); @@ -62905,7 +63287,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "View First Group (not removed)"); @@ -62915,7 +63297,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "View Second Group (removed)"); @@ -62925,7 +63307,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Get Group Membership 3"); @@ -62944,7 +63326,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Remove All"); @@ -62953,7 +63335,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "View First Group (removed)"); @@ -62963,7 +63345,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "View Second Group (still removed)"); @@ -62973,7 +63355,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "View Group 3 (removed)"); @@ -62983,7 +63365,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Get Group Membership 4"); @@ -63003,7 +63385,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63035,7 +63417,9 @@ class TestGroupKeyManagementClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63124,8 +63508,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63145,8 +63529,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63207,8 +63591,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63229,8 +63613,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63284,7 +63668,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Add Group 2"); @@ -63294,7 +63678,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "KeySet Write 1"); @@ -63306,30 +63690,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "KeySet Write 2"); @@ -63341,30 +63725,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(1); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "KeySet Read"); @@ -63374,7 +63758,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Write Group Keys (invalid)"); @@ -63390,7 +63774,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63413,7 +63797,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63436,7 +63820,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "KeySet Read (removed)"); @@ -63446,7 +63830,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "KeySet Read (not removed)"); @@ -63456,7 +63840,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Remove Group 1"); @@ -63466,7 +63850,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Read GroupTable 2"); @@ -63480,7 +63864,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Read GroupTable 3"); @@ -63495,7 +63879,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "KeySet Read (also removed)"); @@ -63505,7 +63889,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63536,7 +63920,9 @@ class Test_TC_DD_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63592,7 +63978,9 @@ class Test_TC_DD_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63648,7 +64036,9 @@ class Test_TC_DD_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63704,7 +64094,9 @@ class Test_TC_DD_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63760,7 +64152,9 @@ class Test_TC_DD_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63816,7 +64210,9 @@ class Test_TC_DD_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63872,7 +64268,9 @@ class Test_TC_DD_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63928,7 +64326,9 @@ class Test_TC_DD_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -63984,7 +64384,9 @@ class Test_TC_DD_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64040,7 +64442,9 @@ class Test_TC_DD_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64096,7 +64500,9 @@ class Test_TC_DD_1_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64152,7 +64558,9 @@ class Test_TC_DD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64208,7 +64616,9 @@ class Test_TC_DD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64264,7 +64674,9 @@ class Test_TC_DD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64320,7 +64732,9 @@ class Test_TC_DD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64376,7 +64790,9 @@ class Test_TC_DD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64432,7 +64848,9 @@ class Test_TC_DD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64488,7 +64906,9 @@ class Test_TC_DD_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64544,7 +64964,9 @@ class Test_TC_DD_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64600,7 +65022,9 @@ class Test_TC_DD_3_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64656,7 +65080,9 @@ class Test_TC_DD_3_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64712,7 +65138,9 @@ class Test_TC_DD_3_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64768,7 +65196,9 @@ class Test_TC_DD_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64824,7 +65254,9 @@ class Test_TC_DD_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64880,7 +65312,9 @@ class Test_TC_DD_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64936,7 +65370,9 @@ class Test_TC_DD_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -64992,7 +65428,9 @@ class Test_TC_DD_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65048,7 +65486,9 @@ class Test_TC_DD_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65104,7 +65544,9 @@ class Test_TC_DD_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65160,7 +65602,9 @@ class Test_TC_DD_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65216,7 +65660,9 @@ class Test_TC_DD_3_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65272,7 +65718,9 @@ class Test_TC_DD_3_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65328,7 +65776,9 @@ class Test_TC_DD_3_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65385,7 +65835,9 @@ class TestGroupDemoCommandSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65653,7 +66105,9 @@ class TestGroupDemoConfigSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65718,7 +66172,7 @@ class TestGroupDemoConfigSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "KeySet Write 1"); @@ -65730,30 +66184,30 @@ class TestGroupDemoConfigSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Map Group Key Set to group ID on a given fabric"); @@ -65769,7 +66223,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -65803,7 +66257,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -65837,7 +66291,9 @@ class Test_TC_G_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65893,7 +66349,9 @@ class Test_TC_G_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -65949,7 +66407,9 @@ class Test_TC_G_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66005,7 +66465,9 @@ class Test_TC_G_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66061,7 +66523,9 @@ class Test_TC_G_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66117,7 +66581,9 @@ class Test_TC_G_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66173,7 +66639,9 @@ class Test_TC_BDX_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66229,7 +66697,9 @@ class Test_TC_BDX_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66285,7 +66755,9 @@ class Test_TC_BDX_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66341,7 +66813,9 @@ class Test_TC_BDX_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66397,7 +66871,9 @@ class Test_TC_BDX_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66453,7 +66929,9 @@ class Test_TC_BDX_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66509,7 +66987,9 @@ class Test_TC_BDX_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66565,7 +67045,9 @@ class Test_TC_BDX_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66621,7 +67103,9 @@ class Test_TC_BDX_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66677,7 +67161,9 @@ class Test_TC_BDX_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66733,7 +67219,9 @@ class Test_TC_BDX_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66789,7 +67277,9 @@ class Test_TC_BR_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66845,7 +67335,9 @@ class Test_TC_BR_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66901,7 +67393,9 @@ class Test_TC_BR_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -66957,7 +67451,9 @@ class Test_TC_DA_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67013,7 +67509,9 @@ class Test_TC_DA_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67069,7 +67567,9 @@ class Test_TC_DA_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67125,7 +67625,9 @@ class Test_TC_DA_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67181,7 +67683,9 @@ class Test_TC_DA_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67237,7 +67741,9 @@ class Test_TC_DA_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67293,7 +67799,9 @@ class Test_TC_BINFO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67350,7 +67858,9 @@ class Test_TC_OPCREDS_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67406,7 +67916,9 @@ class Test_TC_CNET_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67464,7 +67976,9 @@ class Test_TC_BINFO_2_2Suite : public TestCommand uint32_t SoftwareVersionValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67716,7 +68230,9 @@ class Test_TC_BINFO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67773,7 +68289,9 @@ class Test_TC_OPCREDS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67830,7 +68348,9 @@ class Test_TC_OPCREDS_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67887,7 +68407,9 @@ class Test_TC_OPCREDS_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -67944,7 +68466,9 @@ class Test_TC_OPCREDS_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68000,7 +68524,9 @@ class Test_TC_CNET_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68056,7 +68582,9 @@ class Test_TC_CNET_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68112,7 +68640,9 @@ class Test_TC_CNET_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68168,7 +68698,9 @@ class Test_TC_CNET_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68224,7 +68756,9 @@ class Test_TC_CNET_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68280,7 +68814,9 @@ class Test_TC_CNET_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68336,7 +68872,9 @@ class Test_TC_CNET_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68392,7 +68930,9 @@ class Test_TC_CNET_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68448,7 +68988,9 @@ class Test_TC_CNET_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68504,7 +69046,9 @@ class Test_TC_CNET_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68560,7 +69104,9 @@ class Test_TC_CNET_4_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68616,7 +69162,9 @@ class Test_TC_CNET_4_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68672,7 +69220,9 @@ class Test_TC_CNET_4_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68728,7 +69278,9 @@ class Test_TC_CNET_4_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68784,7 +69336,9 @@ class Test_TC_CNET_4_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68840,7 +69394,9 @@ class Test_TC_CNET_4_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68896,7 +69452,9 @@ class Test_TC_CNET_4_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -68952,7 +69510,9 @@ class Test_TC_CNET_4_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69008,7 +69568,9 @@ class Test_TC_CNET_4_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69064,7 +69626,9 @@ class Test_TC_CNET_4_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69120,7 +69684,9 @@ class Test_TC_CNET_4_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69176,7 +69742,9 @@ class Test_TC_DLOG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69232,7 +69800,9 @@ class Test_TC_DLOG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69288,7 +69858,9 @@ class Test_TC_DLOG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69344,7 +69916,9 @@ class Test_TC_DLOG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69400,7 +69974,9 @@ class Test_TC_DESC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69456,7 +70032,9 @@ class Test_TC_DESC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69512,7 +70090,9 @@ class Test_TC_DGETH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69568,7 +70148,9 @@ class Test_TC_DGETH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69624,7 +70206,9 @@ class Test_TC_DGETH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69680,7 +70264,9 @@ class Test_TC_CGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69736,7 +70322,9 @@ class Test_TC_CGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69792,7 +70380,9 @@ class Test_TC_CGEN_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69848,7 +70438,9 @@ class Test_TC_DGGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69904,7 +70496,9 @@ class Test_TC_DGGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -69960,7 +70554,9 @@ class Test_TC_DGGEN_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70016,7 +70612,9 @@ class Test_TC_DGGEN_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70072,7 +70670,9 @@ class Test_TC_I_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70128,7 +70728,9 @@ class Test_TC_I_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70184,7 +70786,9 @@ class Test_TC_ILL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70240,7 +70844,9 @@ class Test_TC_ILL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70296,7 +70902,9 @@ class Test_TC_IDM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70352,7 +70960,9 @@ class Test_TC_IDM_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70408,7 +71018,9 @@ class Test_TC_IDM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70464,7 +71076,9 @@ class Test_TC_IDM_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70520,7 +71134,9 @@ class Test_TC_IDM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70576,7 +71192,9 @@ class Test_TC_IDM_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70632,7 +71250,9 @@ class Test_TC_IDM_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70688,7 +71308,9 @@ class Test_TC_IDM_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70744,7 +71366,9 @@ class Test_TC_IDM_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70800,7 +71424,9 @@ class Test_TC_IDM_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70856,7 +71482,9 @@ class Test_TC_IDM_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70912,7 +71540,9 @@ class Test_TC_IDM_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -70968,7 +71598,9 @@ class Test_TC_IDM_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71024,7 +71656,9 @@ class Test_TC_IDM_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71080,7 +71714,9 @@ class Test_TC_IDM_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71136,7 +71772,9 @@ class Test_TC_IDM_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71192,7 +71830,9 @@ class Test_TC_IDM_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71248,7 +71888,9 @@ class Test_TC_MC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71304,7 +71946,9 @@ class Test_TC_MC_3_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71360,7 +72004,9 @@ class Test_TC_MC_3_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71416,7 +72062,9 @@ class Test_TC_MC_3_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71472,7 +72120,9 @@ class Test_TC_MC_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71528,7 +72178,9 @@ class Test_TC_MC_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71584,7 +72236,9 @@ class Test_TC_MC_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71640,7 +72294,9 @@ class Test_TC_MC_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71696,7 +72352,9 @@ class Test_TC_MC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71752,7 +72410,9 @@ class Test_TC_MC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71808,7 +72468,9 @@ class Test_TC_MC_5_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71864,7 +72526,9 @@ class Test_TC_MC_5_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71920,7 +72584,9 @@ class Test_TC_MC_6_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -71976,7 +72642,9 @@ class Test_TC_MC_6_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72032,7 +72700,9 @@ class Test_TC_MC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72088,7 +72758,9 @@ class Test_TC_MC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72144,7 +72816,9 @@ class Test_TC_MC_10_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72200,7 +72874,9 @@ class Test_TC_MC_10_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72256,7 +72932,9 @@ class Test_TC_MC_10_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72312,7 +72990,9 @@ class Test_TC_MC_11_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72368,7 +73048,9 @@ class Test_TC_MC_11_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72424,7 +73106,9 @@ class Test_TC_MC_12_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72480,7 +73164,9 @@ class Test_TC_MC_12_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72536,7 +73222,9 @@ class Test_TC_MF_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72592,7 +73280,9 @@ class Test_TC_MF_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72648,7 +73338,9 @@ class Test_TC_MF_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72704,7 +73396,9 @@ class Test_TC_MF_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72760,7 +73454,9 @@ class Test_TC_MF_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72816,7 +73512,9 @@ class Test_TC_MF_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72872,7 +73570,9 @@ class Test_TC_MF_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72928,7 +73628,9 @@ class Test_TC_MF_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -72984,7 +73686,9 @@ class Test_TC_MF_1_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73040,7 +73744,9 @@ class Test_TC_MF_1_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73096,7 +73802,9 @@ class Test_TC_MF_1_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73152,7 +73860,9 @@ class Test_TC_MF_1_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73208,7 +73918,9 @@ class Test_TC_MF_1_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73264,7 +73976,9 @@ class Test_TC_MF_1_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73320,7 +74034,9 @@ class Test_TC_MF_1_22Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73376,7 +74092,9 @@ class Test_TC_MF_1_23Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73432,7 +74150,9 @@ class Test_TC_MF_1_24Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73488,7 +74208,9 @@ class Test_TC_MF_1_25Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73544,7 +74266,9 @@ class Test_TC_MF_1_26Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73588,14 +74312,18 @@ class Test_TC_MF_1_27Suite : public TestCommand ~Test_TC_MF_1_27Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); + } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73678,7 +74406,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -73701,7 +74429,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -73725,14 +74453,18 @@ class Test_TC_MF_1_28Suite : public TestCommand ~Test_TC_MF_1_28Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); + } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73812,11 +74544,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73824,7 +74556,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -73844,11 +74576,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73856,7 +74588,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -73885,7 +74617,9 @@ class Test_TC_MF_1_5Suite : public TestCommand ~Test_TC_MF_1_5Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); + } private: chip::Optional mNodeId; @@ -73897,7 +74631,9 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -73987,11 +74723,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73999,7 +74735,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10 seconds"); @@ -74022,11 +74758,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74034,7 +74770,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74044,7 +74780,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74062,7 +74798,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74083,11 +74819,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74095,7 +74831,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74136,7 +74872,9 @@ class Test_TC_MF_1_6Suite : public TestCommand ~Test_TC_MF_1_6Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); + } private: chip::Optional mNodeId; @@ -74148,7 +74886,9 @@ class Test_TC_MF_1_6Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74245,7 +74985,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10"); @@ -74271,7 +75011,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74281,7 +75021,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Commission from beta"); @@ -74299,7 +75039,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74323,7 +75063,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Commission from beta"); @@ -74371,7 +75111,9 @@ class Test_TC_MF_1_9Suite : public TestCommand ~Test_TC_MF_1_9Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); + } private: chip::Optional mNodeId; @@ -74384,7 +75126,9 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74519,11 +75263,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74531,7 +75275,7 @@ class Test_TC_MF_1_9Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -74732,7 +75476,9 @@ class Test_TC_MF_1_10Suite : public TestCommand ~Test_TC_MF_1_10Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); + } private: chip::Optional mNodeId; @@ -74745,7 +75491,9 @@ class Test_TC_MF_1_10Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -74883,7 +75631,7 @@ class Test_TC_MF_1_10Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75083,7 +75831,9 @@ class Test_TC_MF_1_15Suite : public TestCommand ~Test_TC_MF_1_15Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); + } private: chip::Optional mNodeId; @@ -75095,7 +75845,9 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75143,8 +75895,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75173,8 +75925,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75230,7 +75982,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Commission from gamma"); @@ -75256,7 +76008,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from beta"); @@ -75282,7 +76034,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 opens a new commissioning window on DUT_CE"); @@ -75290,11 +76042,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75302,7 +76054,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -75322,11 +76074,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75334,7 +76086,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH_CR3 opens a new commissioning window on DUT_CE"); @@ -75342,11 +76094,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75354,7 +76106,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -75374,11 +76126,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75386,7 +76138,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH_CR2 opens a new commissioning window on DUT_CE"); @@ -75394,11 +76146,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75406,7 +76158,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -75437,7 +76189,9 @@ class Test_TC_MOD_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75493,7 +76247,9 @@ class Test_TC_MOD_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75549,7 +76305,9 @@ class Test_TC_MOD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75605,7 +76363,9 @@ class Test_TC_MOD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75661,7 +76421,9 @@ class Test_TC_MOD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75717,7 +76479,9 @@ class Test_TC_MOD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75773,7 +76537,9 @@ class Test_TC_MOD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75829,7 +76595,9 @@ class Test_TC_MOD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75885,7 +76653,9 @@ class Test_TC_SU_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75941,7 +76711,9 @@ class Test_TC_SU_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -75997,7 +76769,9 @@ class Test_TC_SU_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76053,7 +76827,9 @@ class Test_TC_SU_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76109,7 +76885,9 @@ class Test_TC_SU_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76165,7 +76943,9 @@ class Test_TC_SU_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76221,7 +77001,9 @@ class Test_TC_SU_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76277,7 +77059,9 @@ class Test_TC_SU_2_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76333,7 +77117,9 @@ class Test_TC_SU_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76389,7 +77175,9 @@ class Test_TC_SU_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76445,7 +77233,9 @@ class Test_TC_SU_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76501,7 +77291,9 @@ class Test_TC_SU_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76557,7 +77349,9 @@ class Test_TC_SU_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76613,7 +77407,9 @@ class Test_TC_SU_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76669,7 +77465,9 @@ class Test_TC_SU_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76725,7 +77523,9 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76781,7 +77581,9 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76837,7 +77639,9 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76893,7 +77697,9 @@ class Test_TC_SC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -76949,7 +77755,9 @@ class Test_TC_SC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77005,7 +77813,9 @@ class Test_TC_SC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77061,7 +77871,9 @@ class Test_TC_SC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77117,7 +77929,9 @@ class Test_TC_SC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77173,7 +77987,9 @@ class Test_TC_SC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77229,7 +78045,9 @@ class Test_TC_SC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77285,7 +78103,9 @@ class Test_TC_SC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77341,7 +78161,9 @@ class Test_TC_SC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77397,7 +78219,9 @@ class Test_TC_SC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77453,7 +78277,9 @@ class Test_TC_SC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77509,7 +78335,9 @@ class Test_TC_SC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77565,7 +78393,9 @@ class Test_TC_SC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77621,7 +78451,9 @@ class Test_TC_SC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77677,7 +78509,9 @@ class Test_TC_SC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77733,7 +78567,9 @@ class Test_TC_SC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77789,7 +78625,9 @@ class Test_TC_SC_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77845,7 +78683,9 @@ class Test_TC_SC_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77901,7 +78741,9 @@ class Test_TC_SC_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -77957,7 +78799,9 @@ class Test_TC_SC_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78013,7 +78857,9 @@ class Test_TC_SC_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78069,7 +78915,9 @@ class Test_TC_DGSW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78125,7 +78973,9 @@ class Test_TC_DGSW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78181,7 +79031,9 @@ class Test_TC_DGSW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78237,7 +79089,9 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78293,7 +79147,9 @@ class Test_TC_DGWIFI_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78349,7 +79205,9 @@ class Test_TC_DGWIFI_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78405,7 +79263,9 @@ class Test_TC_DGWIFI_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78461,7 +79321,9 @@ class Test_TC_WNCV_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78517,7 +79379,9 @@ class Test_TC_WNCV_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78575,7 +79439,9 @@ class Test_TC_FLW_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78686,7 +79552,9 @@ class Test_TC_FLW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78744,7 +79612,9 @@ class Test_TC_OCC_2_2Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78854,7 +79724,9 @@ class Test_TC_OCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78910,7 +79782,9 @@ class Test_TC_OCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -78968,7 +79842,9 @@ class Test_TC_OCC_3_1Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79077,7 +79953,9 @@ class Test_TC_OCC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79133,7 +80011,9 @@ class Test_TC_PRS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79189,7 +80069,9 @@ class Test_TC_PRS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79245,7 +80127,9 @@ class Test_TC_PS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79301,7 +80185,9 @@ class Test_TC_PS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79357,7 +80243,9 @@ class Test_TC_BOOL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79413,7 +80301,9 @@ class Test_TC_BOOL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79469,7 +80359,9 @@ class Test_TC_CC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79525,7 +80417,9 @@ class Test_TC_CC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79581,7 +80475,9 @@ class Test_TC_CC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79637,7 +80533,9 @@ class Test_TC_CC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79693,7 +80591,9 @@ class Test_TC_CC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79749,7 +80649,9 @@ class Test_TC_CC_7_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79805,7 +80707,9 @@ class Test_TC_CC_9_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -79850,7 +80754,9 @@ class Test_TC_CC_9_1Suite : public TestCommand ~Test_TC_CC_9_1Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -79867,7 +80773,9 @@ class Test_TC_CC_9_1Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue4; uint16_t ColorLoopStoredEnhancedHue4; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -80368,7 +81276,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition : Check on/off attribute value is true after on command"); @@ -80387,7 +81295,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -80411,7 +81319,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -80434,7 +81342,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read ColorLoopDirection attribute from DUT"); @@ -80457,7 +81365,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Read ColorLoopTime attribute from DUT"); @@ -80480,7 +81388,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Read ColorLoopStartEnhancedHue attribute from DUT"); @@ -80503,7 +81411,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Read ColorLoopActive attribute from DUT"); @@ -80564,7 +81472,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Read ColorLoopActive attribute from DUT"); @@ -80599,7 +81507,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopDirection attribute from DUT"); @@ -80622,7 +81530,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Read ColorLoopActive attribute from DUT"); @@ -80683,7 +81591,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Read ColorLoopActive attribute from DUT"); @@ -80716,7 +81624,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 1000ms"); @@ -80746,7 +81654,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Read ColorLoopDirection attribute from DUT"); @@ -80769,7 +81677,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Read ColorLoopActive attribute from DUT"); @@ -80830,7 +81738,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Read ColorLoopActive attribute from DUT"); @@ -80865,7 +81773,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Read ColorLoopDirection attribute from DUT"); @@ -80888,7 +81796,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Read ColorLoopActive attribute from DUT"); @@ -80949,7 +81857,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Read ColorLoopActive attribute from DUT"); @@ -80975,7 +81883,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Check on/off attribute value is false after off command"); @@ -80999,7 +81907,9 @@ class Test_TC_CC_9_2Suite : public TestCommand ~Test_TC_CC_9_2Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -81011,7 +81921,9 @@ class Test_TC_CC_9_2Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue1; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -81251,7 +82163,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -81270,7 +82182,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81294,7 +82206,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81335,7 +82247,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -81396,7 +82308,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopDirection attribute from DUT."); @@ -81451,7 +82363,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopActive attribute from DUT"); @@ -81477,7 +82389,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Check on/off attribute value is false after off command"); @@ -81501,7 +82413,9 @@ class Test_TC_CC_9_3Suite : public TestCommand ~Test_TC_CC_9_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); + } private: chip::Optional mNodeId; @@ -81512,7 +82426,9 @@ class Test_TC_CC_9_3Suite : public TestCommand uint16_t ColorLoopStartEnhancedHueValue; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -81743,7 +82659,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -81762,7 +82678,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81786,7 +82702,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81827,7 +82743,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -81888,7 +82804,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopTime attribute from DUT."); @@ -81937,7 +82853,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Read ColorLoopActive attribute from DUT"); @@ -81963,7 +82879,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check on/off attribute value is false after off command"); @@ -81998,7 +82914,9 @@ class Test_TC_DLRK_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82054,7 +82972,9 @@ class Test_TC_DLRK_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82110,7 +83030,9 @@ class Test_TC_DLRK_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82166,7 +83088,9 @@ class Test_TC_DLRK_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82222,7 +83146,9 @@ class Test_TC_DLRK_2_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82278,7 +83204,9 @@ class Test_TC_LCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82334,7 +83262,9 @@ class Test_TC_LCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82390,7 +83320,9 @@ class Test_TC_LCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82446,7 +83378,9 @@ class Test_TC_LVL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82502,7 +83436,9 @@ class Test_TC_LVL_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -82547,7 +83483,9 @@ class Test_TC_OO_2_3Suite : public TestCommand ~Test_TC_OO_2_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); } + chip::System::Clock::Timeout GetWaitDuration() const override { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); + } private: chip::Optional mNodeId; @@ -82555,7 +83493,9 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -83404,7 +84344,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 1000ms"); @@ -83434,7 +84374,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 1000ms"); @@ -83462,7 +84402,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 1000ms"); @@ -83492,7 +84432,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 1000ms"); @@ -83519,7 +84459,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 1000ms"); @@ -83549,7 +84489,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Wait 1000ms"); @@ -83576,7 +84516,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 1000ms"); @@ -83604,7 +84544,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Wait 1000ms"); @@ -83646,7 +84586,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "9b:Reads OnTime attribute from DUT"); @@ -83671,7 +84611,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Wait 10000ms"); @@ -83691,7 +84631,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Wait 10000ms"); @@ -83711,7 +84651,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Wait 10000ms"); @@ -83731,7 +84671,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "10e:Reads OnOff attribute from DUT"); @@ -83767,7 +84707,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "11b:Reads OnOff attribute from DUT"); @@ -83804,7 +84744,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "12b:Reads OnOff attribute from DUT"); @@ -83837,7 +84777,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "13b:Reads OnOff attribute from DUT"); @@ -83874,7 +84814,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Wait 10000ms"); @@ -83890,7 +84830,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "14c:Reads OnOff attribute from DUT"); @@ -83951,7 +84891,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "16b:Reads OnOff attribute from DUT"); @@ -83977,7 +84917,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Wait 10000ms"); @@ -83997,7 +84937,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "17c:Reads OnOff attribute from DUT"); @@ -84058,7 +84998,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "18b:Reads OnOff attribute from DUT"); @@ -84088,7 +85028,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Wait 10000ms"); @@ -84108,7 +85048,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Wait 10000ms"); @@ -84141,7 +85081,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "20b:Reads OnOff attribute from DUT"); @@ -84171,7 +85111,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "21b:Reads OnOff attribute from DUT"); @@ -84197,7 +85137,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "22b:Reads OnOff attribute from DUT"); @@ -84234,7 +85174,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "23b:Send Off Command"); @@ -84243,7 +85183,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "23c:Reads OnOff attribute from DUT"); @@ -84297,7 +85237,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "24b:Reads OnOff attribute from DUT"); @@ -84347,7 +85287,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -84378,7 +85318,9 @@ class Test_TC_OO_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84434,7 +85376,9 @@ class Test_TC_OO_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84492,7 +85436,9 @@ class Test_TC_RH_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84636,7 +85582,9 @@ class Test_TC_RH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84692,7 +85640,9 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84748,7 +85698,9 @@ class Test_TC_SWTCH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84804,7 +85756,9 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84860,7 +85814,9 @@ class Test_TC_SWTCH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -84918,7 +85874,9 @@ class Test_TC_TM_2_2Suite : public TestCommand chip::app::DataModel::Nullable valueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85059,7 +86017,9 @@ class Test_TC_TM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85115,7 +86075,9 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85171,7 +86133,9 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85227,7 +86191,9 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85284,7 +86250,9 @@ class Test_TC_DIAG_TH_NW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85341,7 +86309,9 @@ class Test_TC_DIAG_TH_NW_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85398,7 +86368,9 @@ class Test_TC_DIAG_TH_NW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85455,7 +86427,9 @@ class Test_TC_DIAG_TH_NW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85512,7 +86486,9 @@ class Test_TC_DIAG_TH_NW_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85569,7 +86545,9 @@ class Test_TC_DIAG_TH_NW_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85626,7 +86604,9 @@ class Test_TC_DIAG_TH_NW_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85682,7 +86662,9 @@ class Test_TC_ACT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85738,7 +86720,9 @@ class Test_TC_ACT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85794,7 +86778,9 @@ class Test_TC_ACT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85850,7 +86836,9 @@ class Test_TC_TFL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85906,7 +86894,9 @@ class Test_TC_TFL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -85962,7 +86952,9 @@ class Test_TC_TFL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86018,7 +87010,9 @@ class Test_TC_TFL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86074,7 +87068,9 @@ class Test_TC_UL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86130,7 +87126,9 @@ class Test_TC_UL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86186,7 +87184,9 @@ class Test_TC_UL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86242,7 +87242,9 @@ class Test_TC_UL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86298,7 +87300,9 @@ class Test_TC_FLABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86354,7 +87358,9 @@ class Test_TC_FLABEL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86410,7 +87416,9 @@ class Test_TC_FLABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86466,7 +87474,9 @@ class Test_TC_BIND_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86522,7 +87532,9 @@ class Test_TC_BIND_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86578,7 +87590,9 @@ class Test_TC_S_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86634,7 +87648,9 @@ class Test_TC_S_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86690,7 +87706,9 @@ class Test_TC_S_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86746,7 +87764,9 @@ class Test_TC_S_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86802,7 +87822,9 @@ class Test_TC_S_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods @@ -86858,7 +87880,9 @@ class Test_TC_PCC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { + return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; + } // // Tests methods diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index e3c975ce657b71..7e384dd3be0cb6 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -558,7 +558,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -584,7 +584,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -635,7 +635,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index 78b3cadb3fcd5a..9ca46ce02fdb95 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 9226fa764a8c26..30d8dfb6c42ba0 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index b4f1b5e861f23d..1a82e4f6476bcd 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 22deb0dc7ab73c..9df040782130ed 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index 286d6cdea46144..7627894b4d994b 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index c9ac4cc5d26d48..3405cdb9e2c48c 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index f063f5b2f40c56..84b39f361f1e43 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -86,7 +86,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -112,7 +112,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -163,7 +163,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index 913d95c58e01c4..816547444d48fb 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index 644941f2439ed4..712f145dbe19f2 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -150,7 +150,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -176,7 +176,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -227,7 +227,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index 63bf89de19d0d8..06f890655ea818 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index b7a47b8b4772eb..a0ccb0154aec22 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -158,7 +158,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -184,7 +184,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -235,7 +235,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index a0872ecb9fcae9..5bf8533a5f664e 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index 2b85ab33c5f844..a776571005c1ee 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index a0872ecb9fcae9..5bf8533a5f664e 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index 2b85ab33c5f844..a776571005c1ee 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 563a81ce02f9c0..f83c358f4c18ed 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index f85e4992801af6..7fa6d236bc7e05 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -214,7 +214,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -240,7 +240,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -291,7 +291,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 84feffcd20b221..729ae3579bac37 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index 215febb6fc627d..a875af5a8c8dd1 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index da013966f443ef..52a2e16846880e 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index edd96cd31c3e03..a644d3b0760d75 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index 6b2d981d04833c..4d46824c04be17 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index 77e88d263ca748..c488eaf069cab6 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index 2fd824f91dd19b..86cb7fa27123b2 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -111,7 +111,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -121,7 +121,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 41b6f28b0d995f..292363f8e0d60d 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -334,7 +334,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -360,7 +360,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -411,7 +411,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index f473d90e5f4723..1a91c94cfdfdfa 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 3a0c8c19b53d37..2c13248afddfce 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -366,7 +366,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -392,7 +392,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -443,7 +443,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index 1f4ea57f5b868b..b022750ab1c96c 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index 14f002d4a19228..f6ed24bd7cf242 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) From 330cd1b9ce8aa0d1a004a449193943a999858f9f Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 7 Jul 2022 12:56:27 +0000 Subject: [PATCH 10/15] Restyled by clang-format --- .../zap-generated/IMClusterCommandHandler.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../app-common/zap-generated/callback.h | 1226 ++--- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../chip-tool/zap-generated/test/Commands.h | 4408 +++++++---------- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../lock-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app1/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../app2/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../pump-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../tv-app/zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- .../zap-generated/IMClusterCommandHandler.cpp | 4 +- .../zap-generated/callback-stub.cpp | 6 +- 64 files changed, 2462 insertions(+), 3486 deletions(-) diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index 4c920d9922d2d1..da6fb7fcf7a1e4 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } @@ -1704,7 +1704,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index 039cbf6592bb14..488fb3efd18d04 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -550,7 +550,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -576,7 +576,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -627,7 +627,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index e1b99f9487be29..3d55fab073d3bb 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -111,7 +111,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -1506,7 +1506,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfTestClusterClusterTestListNestedStructListArgumentRequestCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 6ee2652ef482fc..09dcd4d0dc2491 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -518,7 +518,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -544,7 +544,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -595,7 +595,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) 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 bc9a52662bf14c..3364c8a743e3fd 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -998,8 +998,8 @@ void MatterPowerConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Client Message Sent * @@ -1012,8 +1012,8 @@ void emberAfPowerConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfPowerConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Configuration Cluster Server Pre Attribute Changed * @@ -1095,8 +1095,8 @@ void MatterDeviceTemperatureConfigurationClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Client Message Sent * @@ -1109,8 +1109,8 @@ void emberAfDeviceTemperatureConfigurationClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfDeviceTemperatureConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Device Temperature Configuration Cluster Server Pre Attribute Changed * @@ -1191,7 +1191,7 @@ void MatterIdentifyClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Client Message Sent * @@ -1204,7 +1204,7 @@ void emberAfIdentifyClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Identify Cluster Server Pre Attribute Changed * @@ -1217,7 +1217,7 @@ void emberAfIdentifyClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Client Pre Attribute Changed * @@ -1230,7 +1230,7 @@ MatterIdentifyClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterIdentifyClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Identify Cluster Server Tick * @@ -1287,7 +1287,7 @@ void MatterGroupsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Client Message Sent * @@ -1300,7 +1300,7 @@ void emberAfGroupsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Groups Cluster Server Pre Attribute Changed * @@ -1313,7 +1313,7 @@ void emberAfGroupsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Client Pre Attribute Changed * @@ -1326,7 +1326,7 @@ MatterGroupsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterGroupsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Groups Cluster Server Tick * @@ -1383,7 +1383,7 @@ void MatterScenesClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Client Message Sent * @@ -1396,7 +1396,7 @@ void emberAfScenesClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Scenes Cluster Server Pre Attribute Changed * @@ -1409,7 +1409,7 @@ void emberAfScenesClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Client Pre Attribute Changed * @@ -1422,7 +1422,7 @@ MatterScenesClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterScenesClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Scenes Cluster Server Tick * @@ -1479,7 +1479,7 @@ void MatterOnOffClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Client Message Sent * @@ -1492,7 +1492,7 @@ void emberAfOnOffClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief On/Off Cluster Server Pre Attribute Changed * @@ -1505,7 +1505,7 @@ void emberAfOnOffClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Client Pre Attribute Changed * @@ -1518,7 +1518,7 @@ MatterOnOffClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterOnOffClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief On/Off Cluster Server Tick * @@ -1575,8 +1575,8 @@ void MatterOnOffSwitchConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Client Message Sent * @@ -1589,8 +1589,8 @@ void emberAfOnOffSwitchConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfOnOffSwitchConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief On/off Switch Configuration Cluster Server Pre Attribute Changed * @@ -1671,7 +1671,7 @@ void MatterLevelControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Client Message Sent * @@ -1684,7 +1684,7 @@ void emberAfLevelControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Level Control Cluster Server Pre Attribute Changed * @@ -1697,7 +1697,7 @@ void emberAfLevelControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Client Pre Attribute Changed * @@ -1710,7 +1710,7 @@ MatterLevelControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterLevelControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Level Control Cluster Server Tick * @@ -1767,7 +1767,7 @@ void MatterAlarmsClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Client Message Sent * @@ -1780,7 +1780,7 @@ void emberAfAlarmsClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Alarms Cluster Server Pre Attribute Changed * @@ -1793,7 +1793,7 @@ void emberAfAlarmsClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Client Pre Attribute Changed * @@ -1806,7 +1806,7 @@ MatterAlarmsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterAlarmsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Alarms Cluster Server Tick * @@ -1863,7 +1863,7 @@ void MatterTimeClusterServerAttributeChangedCallback(const chip::app::ConcreteAt * @param status The status of the sent message */ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Client Message Sent * @@ -1876,7 +1876,7 @@ void emberAfTimeClusterServerMessageSentCallback(const chip::MessageSendDestinat * @param status The status of the sent message */ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Time Cluster Server Pre Attribute Changed * @@ -1889,7 +1889,7 @@ void emberAfTimeClusterClientMessageSentCallback(const chip::MessageSendDestinat */ chip::Protocols::InteractionModel::Status MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Client Pre Attribute Changed * @@ -1902,7 +1902,7 @@ MatterTimeClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttr */ chip::Protocols::InteractionModel::Status MatterTimeClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Time Cluster Server Tick * @@ -1959,8 +1959,8 @@ void MatterBinaryInputBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Client Message Sent * @@ -1973,8 +1973,8 @@ void emberAfBinaryInputBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Binary Input (Basic) Cluster Server Pre Attribute Changed * @@ -1987,7 +1987,7 @@ void emberAfBinaryInputBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Client Pre Attribute Changed * @@ -2000,7 +2000,7 @@ MatterBinaryInputBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterBinaryInputBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binary Input (Basic) Cluster Server Tick * @@ -2057,7 +2057,7 @@ void MatterPowerProfileClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Client Message Sent * @@ -2070,7 +2070,7 @@ void emberAfPowerProfileClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Profile Cluster Server Pre Attribute Changed * @@ -2083,7 +2083,7 @@ void emberAfPowerProfileClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Client Pre Attribute Changed * @@ -2096,7 +2096,7 @@ MatterPowerProfileClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterPowerProfileClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Profile Cluster Server Tick * @@ -2153,8 +2153,8 @@ void MatterApplianceControlClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Client Message Sent * @@ -2167,8 +2167,8 @@ void emberAfApplianceControlClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Control Cluster Server Pre Attribute Changed * @@ -2181,7 +2181,7 @@ void emberAfApplianceControlClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Client Pre Attribute Changed * @@ -2194,7 +2194,7 @@ MatterApplianceControlClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplianceControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Appliance Control Cluster Server Tick * @@ -2251,8 +2251,8 @@ void MatterPulseWidthModulationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Client Message Sent * @@ -2265,8 +2265,8 @@ void emberAfPulseWidthModulationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfPulseWidthModulationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pulse Width Modulation Cluster Server Pre Attribute Changed * @@ -2347,7 +2347,7 @@ void MatterDescriptorClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Client Message Sent * @@ -2360,7 +2360,7 @@ void emberAfDescriptorClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Descriptor Cluster Server Pre Attribute Changed * @@ -2373,7 +2373,7 @@ void emberAfDescriptorClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Client Pre Attribute Changed * @@ -2386,7 +2386,7 @@ MatterDescriptorClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterDescriptorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Descriptor Cluster Server Tick * @@ -2443,7 +2443,7 @@ void MatterBindingClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Client Message Sent * @@ -2456,7 +2456,7 @@ void emberAfBindingClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Binding Cluster Server Pre Attribute Changed * @@ -2469,7 +2469,7 @@ void emberAfBindingClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Client Pre Attribute Changed * @@ -2482,7 +2482,7 @@ MatterBindingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterBindingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Binding Cluster Server Tick * @@ -2539,8 +2539,8 @@ void MatterAccessControlClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Client Message Sent * @@ -2553,8 +2553,8 @@ void emberAfAccessControlClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Access Control Cluster Server Pre Attribute Changed * @@ -2567,7 +2567,7 @@ void emberAfAccessControlClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Client Pre Attribute Changed * @@ -2580,7 +2580,7 @@ MatterAccessControlClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterAccessControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Access Control Cluster Server Tick * @@ -2637,7 +2637,7 @@ void MatterPollControlClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Client Message Sent * @@ -2650,7 +2650,7 @@ void emberAfPollControlClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Poll Control Cluster Server Pre Attribute Changed * @@ -2663,7 +2663,7 @@ void emberAfPollControlClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Client Pre Attribute Changed * @@ -2676,7 +2676,7 @@ MatterPollControlClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPollControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Poll Control Cluster Server Tick * @@ -2733,8 +2733,8 @@ void MatterBridgedActionsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Client Message Sent * @@ -2747,8 +2747,8 @@ void emberAfBridgedActionsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Actions Cluster Server Pre Attribute Changed * @@ -2761,7 +2761,7 @@ void emberAfBridgedActionsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Client Pre Attribute Changed * @@ -2774,7 +2774,7 @@ MatterBridgedActionsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBridgedActionsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Bridged Actions Cluster Server Tick * @@ -2831,7 +2831,7 @@ void MatterBasicClusterServerAttributeChangedCallback(const chip::app::ConcreteA * @param status The status of the sent message */ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Client Message Sent * @@ -2844,7 +2844,7 @@ void emberAfBasicClusterServerMessageSentCallback(const chip::MessageSendDestina * @param status The status of the sent message */ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Basic Cluster Server Pre Attribute Changed * @@ -2857,7 +2857,7 @@ void emberAfBasicClusterClientMessageSentCallback(const chip::MessageSendDestina */ chip::Protocols::InteractionModel::Status MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Client Pre Attribute Changed * @@ -2870,7 +2870,7 @@ MatterBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAtt */ chip::Protocols::InteractionModel::Status MatterBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Basic Cluster Server Tick * @@ -2927,8 +2927,8 @@ void MatterOtaSoftwareUpdateProviderClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Client Message Sent * @@ -2941,8 +2941,8 @@ void emberAfOtaSoftwareUpdateProviderClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateProviderClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Provider Cluster Server Pre Attribute Changed * @@ -3023,8 +3023,8 @@ void MatterOtaSoftwareUpdateRequestorClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Client Message Sent * @@ -3037,8 +3037,8 @@ void emberAfOtaSoftwareUpdateRequestorClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfOtaSoftwareUpdateRequestorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief OTA Software Update Requestor Cluster Server Pre Attribute Changed * @@ -3119,8 +3119,8 @@ void MatterLocalizationConfigurationClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Client Message Sent * @@ -3133,8 +3133,8 @@ void emberAfLocalizationConfigurationClusterServerMessageSentCallback(const chip * @param status The status of the sent message */ void emberAfLocalizationConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Localization Configuration Cluster Server Pre Attribute Changed * @@ -3215,8 +3215,8 @@ void MatterTimeFormatLocalizationClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Client Message Sent * @@ -3229,8 +3229,8 @@ void emberAfTimeFormatLocalizationClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTimeFormatLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Format Localization Cluster Server Pre Attribute Changed * @@ -3311,8 +3311,8 @@ void MatterUnitLocalizationClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Client Message Sent * @@ -3325,8 +3325,8 @@ void emberAfUnitLocalizationClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Unit Localization Cluster Server Pre Attribute Changed * @@ -3339,7 +3339,7 @@ void emberAfUnitLocalizationClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Client Pre Attribute Changed * @@ -3352,7 +3352,7 @@ MatterUnitLocalizationClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterUnitLocalizationClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Unit Localization Cluster Server Tick * @@ -3409,8 +3409,8 @@ void MatterPowerSourceConfigurationClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Client Message Sent * @@ -3423,8 +3423,8 @@ void emberAfPowerSourceConfigurationClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfPowerSourceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Power Source Configuration Cluster Server Pre Attribute Changed * @@ -3505,7 +3505,7 @@ void MatterPowerSourceClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Client Message Sent * @@ -3518,7 +3518,7 @@ void emberAfPowerSourceClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Power Source Cluster Server Pre Attribute Changed * @@ -3531,7 +3531,7 @@ void emberAfPowerSourceClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Client Pre Attribute Changed * @@ -3544,7 +3544,7 @@ MatterPowerSourceClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterPowerSourceClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Power Source Cluster Server Tick * @@ -3601,8 +3601,8 @@ void MatterGeneralCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Client Message Sent * @@ -3615,8 +3615,8 @@ void emberAfGeneralCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfGeneralCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Commissioning Cluster Server Pre Attribute Changed * @@ -3697,8 +3697,8 @@ void MatterNetworkCommissioningClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Client Message Sent * @@ -3711,8 +3711,8 @@ void emberAfNetworkCommissioningClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfNetworkCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Network Commissioning Cluster Server Pre Attribute Changed * @@ -3793,8 +3793,8 @@ void MatterDiagnosticLogsClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Client Message Sent * @@ -3807,8 +3807,8 @@ void emberAfDiagnosticLogsClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Diagnostic Logs Cluster Server Pre Attribute Changed * @@ -3821,7 +3821,7 @@ void emberAfDiagnosticLogsClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Client Pre Attribute Changed * @@ -3834,7 +3834,7 @@ MatterDiagnosticLogsClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterDiagnosticLogsClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Diagnostic Logs Cluster Server Tick * @@ -3891,8 +3891,8 @@ void MatterGeneralDiagnosticsClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Client Message Sent * @@ -3905,8 +3905,8 @@ void emberAfGeneralDiagnosticsClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGeneralDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief General Diagnostics Cluster Server Pre Attribute Changed * @@ -3987,8 +3987,8 @@ void MatterSoftwareDiagnosticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Client Message Sent * @@ -4001,8 +4001,8 @@ void emberAfSoftwareDiagnosticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfSoftwareDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Software Diagnostics Cluster Server Pre Attribute Changed * @@ -4083,8 +4083,8 @@ void MatterThreadNetworkDiagnosticsClusterServerAttributeChangedCallback(const c * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Client Message Sent * @@ -4097,8 +4097,8 @@ void emberAfThreadNetworkDiagnosticsClusterServerMessageSentCallback(const chip: * @param status The status of the sent message */ void emberAfThreadNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Thread Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4179,8 +4179,8 @@ void MatterWiFiNetworkDiagnosticsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Client Message Sent * @@ -4193,8 +4193,8 @@ void emberAfWiFiNetworkDiagnosticsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfWiFiNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief WiFi Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4275,8 +4275,8 @@ void MatterEthernetNetworkDiagnosticsClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Client Message Sent * @@ -4289,8 +4289,8 @@ void emberAfEthernetNetworkDiagnosticsClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfEthernetNetworkDiagnosticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ethernet Network Diagnostics Cluster Server Pre Attribute Changed * @@ -4371,8 +4371,8 @@ void MatterTimeSynchronizationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Client Message Sent * @@ -4385,8 +4385,8 @@ void emberAfTimeSynchronizationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfTimeSynchronizationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Time Synchronization Cluster Server Pre Attribute Changed * @@ -4467,8 +4467,8 @@ void MatterBridgedDeviceBasicClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Client Message Sent * @@ -4481,8 +4481,8 @@ void emberAfBridgedDeviceBasicClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfBridgedDeviceBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Bridged Device Basic Cluster Server Pre Attribute Changed * @@ -4563,7 +4563,7 @@ void MatterSwitchClusterServerAttributeChangedCallback(const chip::app::Concrete * @param status The status of the sent message */ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Client Message Sent * @@ -4576,7 +4576,7 @@ void emberAfSwitchClusterServerMessageSentCallback(const chip::MessageSendDestin * @param status The status of the sent message */ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Switch Cluster Server Pre Attribute Changed * @@ -4589,7 +4589,7 @@ void emberAfSwitchClusterClientMessageSentCallback(const chip::MessageSendDestin */ chip::Protocols::InteractionModel::Status MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Client Pre Attribute Changed * @@ -4602,7 +4602,7 @@ MatterSwitchClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAt */ chip::Protocols::InteractionModel::Status MatterSwitchClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Switch Cluster Server Tick * @@ -4659,8 +4659,8 @@ void MatterAdministratorCommissioningClusterServerAttributeChangedCallback(const * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Client Message Sent * @@ -4673,8 +4673,8 @@ void emberAfAdministratorCommissioningClusterServerMessageSentCallback(const chi * @param status The status of the sent message */ void emberAfAdministratorCommissioningClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief AdministratorCommissioning Cluster Server Pre Attribute Changed * @@ -4755,8 +4755,8 @@ void MatterOperationalCredentialsClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Client Message Sent * @@ -4769,8 +4769,8 @@ void emberAfOperationalCredentialsClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfOperationalCredentialsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Operational Credentials Cluster Server Pre Attribute Changed * @@ -4851,8 +4851,8 @@ void MatterGroupKeyManagementClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Client Message Sent * @@ -4865,8 +4865,8 @@ void emberAfGroupKeyManagementClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfGroupKeyManagementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Group Key Management Cluster Server Pre Attribute Changed * @@ -4947,7 +4947,7 @@ void MatterFixedLabelClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Client Message Sent * @@ -4960,7 +4960,7 @@ void emberAfFixedLabelClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fixed Label Cluster Server Pre Attribute Changed * @@ -4973,7 +4973,7 @@ void emberAfFixedLabelClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Client Pre Attribute Changed * @@ -4986,7 +4986,7 @@ MatterFixedLabelClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFixedLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fixed Label Cluster Server Tick * @@ -5043,7 +5043,7 @@ void MatterUserLabelClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Client Message Sent * @@ -5056,7 +5056,7 @@ void emberAfUserLabelClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief User Label Cluster Server Pre Attribute Changed * @@ -5069,7 +5069,7 @@ void emberAfUserLabelClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Client Pre Attribute Changed * @@ -5082,7 +5082,7 @@ MatterUserLabelClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterUserLabelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief User Label Cluster Server Tick * @@ -5139,8 +5139,8 @@ void MatterProxyConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Client Message Sent * @@ -5153,8 +5153,8 @@ void emberAfProxyConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfProxyConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Configuration Cluster Server Pre Attribute Changed * @@ -5235,8 +5235,8 @@ void MatterProxyDiscoveryClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Client Message Sent * @@ -5249,8 +5249,8 @@ void emberAfProxyDiscoveryClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Proxy Discovery Cluster Server Pre Attribute Changed * @@ -5263,7 +5263,7 @@ void emberAfProxyDiscoveryClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Client Pre Attribute Changed * @@ -5276,7 +5276,7 @@ MatterProxyDiscoveryClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterProxyDiscoveryClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Discovery Cluster Server Tick * @@ -5333,7 +5333,7 @@ void MatterProxyValidClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Client Message Sent * @@ -5346,7 +5346,7 @@ void emberAfProxyValidClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Proxy Valid Cluster Server Pre Attribute Changed * @@ -5359,7 +5359,7 @@ void emberAfProxyValidClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Client Pre Attribute Changed * @@ -5372,7 +5372,7 @@ MatterProxyValidClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterProxyValidClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Proxy Valid Cluster Server Tick * @@ -5429,7 +5429,7 @@ void MatterBooleanStateClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Client Message Sent * @@ -5442,7 +5442,7 @@ void emberAfBooleanStateClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Boolean State Cluster Server Pre Attribute Changed * @@ -5455,7 +5455,7 @@ void emberAfBooleanStateClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Client Pre Attribute Changed * @@ -5468,7 +5468,7 @@ MatterBooleanStateClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterBooleanStateClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Boolean State Cluster Server Tick * @@ -5525,7 +5525,7 @@ void MatterModeSelectClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Client Message Sent * @@ -5538,7 +5538,7 @@ void emberAfModeSelectClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Mode Select Cluster Server Pre Attribute Changed * @@ -5551,7 +5551,7 @@ void emberAfModeSelectClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Client Pre Attribute Changed * @@ -5564,7 +5564,7 @@ MatterModeSelectClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterModeSelectClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Mode Select Cluster Server Tick * @@ -5621,8 +5621,8 @@ void MatterShadeConfigurationClusterServerAttributeChangedCallback(const chip::a * @param status The status of the sent message */ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Client Message Sent * @@ -5635,8 +5635,8 @@ void emberAfShadeConfigurationClusterServerMessageSentCallback(const chip::Messa * @param status The status of the sent message */ void emberAfShadeConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Shade Configuration Cluster Server Pre Attribute Changed * @@ -5717,7 +5717,7 @@ void MatterDoorLockClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Client Message Sent * @@ -5730,7 +5730,7 @@ void emberAfDoorLockClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Door Lock Cluster Server Pre Attribute Changed * @@ -5743,7 +5743,7 @@ void emberAfDoorLockClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Client Pre Attribute Changed * @@ -5756,7 +5756,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterDoorLockClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Door Lock Cluster Server Tick * @@ -5813,8 +5813,8 @@ void MatterWindowCoveringClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Client Message Sent * @@ -5827,8 +5827,8 @@ void emberAfWindowCoveringClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Window Covering Cluster Server Pre Attribute Changed * @@ -5841,7 +5841,7 @@ void emberAfWindowCoveringClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Client Pre Attribute Changed * @@ -5854,7 +5854,7 @@ MatterWindowCoveringClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterWindowCoveringClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Window Covering Cluster Server Tick * @@ -5911,8 +5911,8 @@ void MatterBarrierControlClusterServerAttributeChangedCallback(const chip::app:: * @param status The status of the sent message */ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Client Message Sent * @@ -5925,8 +5925,8 @@ void emberAfBarrierControlClusterServerMessageSentCallback(const chip::MessageSe * @param status The status of the sent message */ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Barrier Control Cluster Server Pre Attribute Changed * @@ -5939,7 +5939,7 @@ void emberAfBarrierControlClusterClientMessageSentCallback(const chip::MessageSe */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Client Pre Attribute Changed * @@ -5952,7 +5952,7 @@ MatterBarrierControlClusterServerPreAttributeChangedCallback(const chip::app::Co */ chip::Protocols::InteractionModel::Status MatterBarrierControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Barrier Control Cluster Server Tick * @@ -6009,8 +6009,8 @@ void MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Client Message Sent * @@ -6023,8 +6023,8 @@ void emberAfPumpConfigurationAndControlClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfPumpConfigurationAndControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Pump Configuration and Control Cluster Server Pre Attribute Changed * @@ -6105,7 +6105,7 @@ void MatterThermostatClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Client Message Sent * @@ -6118,7 +6118,7 @@ void emberAfThermostatClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Thermostat Cluster Server Pre Attribute Changed * @@ -6131,7 +6131,7 @@ void emberAfThermostatClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Client Pre Attribute Changed * @@ -6144,7 +6144,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterThermostatClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Thermostat Cluster Server Tick * @@ -6201,7 +6201,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Client Message Sent * @@ -6214,7 +6214,7 @@ void emberAfFanControlClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Fan Control Cluster Server Pre Attribute Changed * @@ -6227,7 +6227,7 @@ void emberAfFanControlClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Client Pre Attribute Changed * @@ -6240,7 +6240,7 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterFanControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Fan Control Cluster Server Tick * @@ -6297,8 +6297,8 @@ void MatterDehumidificationControlClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Client Message Sent * @@ -6311,8 +6311,8 @@ void emberAfDehumidificationControlClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfDehumidificationControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Dehumidification Control Cluster Server Pre Attribute Changed * @@ -6394,8 +6394,8 @@ void MatterThermostatUserInterfaceConfigurationClusterServerAttributeChangedCall * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Client Message Sent * @@ -6408,8 +6408,8 @@ void emberAfThermostatUserInterfaceConfigurationClusterServerMessageSentCallback * @param status The status of the sent message */ void emberAfThermostatUserInterfaceConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Thermostat User Interface Configuration Cluster Server Pre Attribute Changed * @@ -6490,7 +6490,7 @@ void MatterColorControlClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Client Message Sent * @@ -6503,7 +6503,7 @@ void emberAfColorControlClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Color Control Cluster Server Pre Attribute Changed * @@ -6516,7 +6516,7 @@ void emberAfColorControlClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Client Pre Attribute Changed * @@ -6529,7 +6529,7 @@ MatterColorControlClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterColorControlClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Color Control Cluster Server Tick * @@ -6586,8 +6586,8 @@ void MatterBallastConfigurationClusterServerAttributeChangedCallback(const chip: * @param status The status of the sent message */ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Client Message Sent * @@ -6600,8 +6600,8 @@ void emberAfBallastConfigurationClusterServerMessageSentCallback(const chip::Mes * @param status The status of the sent message */ void emberAfBallastConfigurationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Ballast Configuration Cluster Server Pre Attribute Changed * @@ -6682,8 +6682,8 @@ void MatterIlluminanceMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Client Message Sent * @@ -6696,8 +6696,8 @@ void emberAfIlluminanceMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfIlluminanceMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Illuminance Measurement Cluster Server Pre Attribute Changed * @@ -6778,8 +6778,8 @@ void MatterTemperatureMeasurementClusterServerAttributeChangedCallback(const chi * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Client Message Sent * @@ -6792,8 +6792,8 @@ void emberAfTemperatureMeasurementClusterServerMessageSentCallback(const chip::M * @param status The status of the sent message */ void emberAfTemperatureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Temperature Measurement Cluster Server Pre Attribute Changed * @@ -6874,8 +6874,8 @@ void MatterPressureMeasurementClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Client Message Sent * @@ -6888,8 +6888,8 @@ void emberAfPressureMeasurementClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfPressureMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Pressure Measurement Cluster Server Pre Attribute Changed * @@ -6970,8 +6970,8 @@ void MatterFlowMeasurementClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Client Message Sent * @@ -6984,8 +6984,8 @@ void emberAfFlowMeasurementClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Flow Measurement Cluster Server Pre Attribute Changed * @@ -6998,7 +6998,7 @@ void emberAfFlowMeasurementClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Client Pre Attribute Changed * @@ -7011,7 +7011,7 @@ MatterFlowMeasurementClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterFlowMeasurementClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Flow Measurement Cluster Server Tick * @@ -7068,8 +7068,8 @@ void MatterRelativeHumidityMeasurementClusterServerAttributeChangedCallback(cons * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Client Message Sent * @@ -7082,8 +7082,8 @@ void emberAfRelativeHumidityMeasurementClusterServerMessageSentCallback(const ch * @param status The status of the sent message */ void emberAfRelativeHumidityMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Relative Humidity Measurement Cluster Server Pre Attribute Changed * @@ -7164,8 +7164,8 @@ void MatterOccupancySensingClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Client Message Sent * @@ -7178,8 +7178,8 @@ void emberAfOccupancySensingClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Occupancy Sensing Cluster Server Pre Attribute Changed * @@ -7192,7 +7192,7 @@ void emberAfOccupancySensingClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Client Pre Attribute Changed * @@ -7205,7 +7205,7 @@ MatterOccupancySensingClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterOccupancySensingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Occupancy Sensing Cluster Server Tick * @@ -7263,8 +7263,8 @@ void MatterCarbonMonoxideConcentrationMeasurementClusterServerAttributeChangedCa * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Client Message Sent * @@ -7277,8 +7277,8 @@ void emberAfCarbonMonoxideConcentrationMeasurementClusterServerMessageSentCallba * @param status The status of the sent message */ void emberAfCarbonMonoxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Monoxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7360,8 +7360,8 @@ void MatterCarbonDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Client Message Sent * @@ -7374,8 +7374,8 @@ void emberAfCarbonDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfCarbonDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Carbon Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7457,8 +7457,8 @@ void MatterEthyleneConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Client Message Sent * @@ -7471,8 +7471,8 @@ void emberAfEthyleneConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfEthyleneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7554,8 +7554,8 @@ void MatterEthyleneOxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Client Message Sent * @@ -7568,8 +7568,8 @@ void emberAfEthyleneOxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfEthyleneOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ethylene Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7651,8 +7651,8 @@ void MatterHydrogenConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Client Message Sent * @@ -7665,8 +7665,8 @@ void emberAfHydrogenConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfHydrogenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Hydrogen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -7845,8 +7845,8 @@ void MatterNitricOxideConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Client Message Sent * @@ -7859,8 +7859,8 @@ void emberAfNitricOxideConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfNitricOxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Nitric Oxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8039,8 +8039,8 @@ void MatterOxygenConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Client Message Sent * @@ -8053,8 +8053,8 @@ void emberAfOxygenConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOxygenConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Oxygen Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8136,8 +8136,8 @@ void MatterOzoneConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Client Message Sent * @@ -8150,8 +8150,8 @@ void emberAfOzoneConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfOzoneConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Ozone Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8233,8 +8233,8 @@ void MatterSulfurDioxideConcentrationMeasurementClusterServerAttributeChangedCal * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Client Message Sent * @@ -8247,8 +8247,8 @@ void emberAfSulfurDioxideConcentrationMeasurementClusterServerMessageSentCallbac * @param status The status of the sent message */ void emberAfSulfurDioxideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfur Dioxide Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8427,8 +8427,8 @@ void MatterBromateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Client Message Sent * @@ -8441,8 +8441,8 @@ void emberAfBromateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfBromateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8524,8 +8524,8 @@ void MatterChloraminesConcentrationMeasurementClusterServerAttributeChangedCallb * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Client Message Sent * @@ -8538,8 +8538,8 @@ void emberAfChloraminesConcentrationMeasurementClusterServerMessageSentCallback( * @param status The status of the sent message */ void emberAfChloraminesConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloramines Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8621,8 +8621,8 @@ void MatterChlorineConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Client Message Sent * @@ -8635,8 +8635,8 @@ void emberAfChlorineConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfChlorineConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chlorine Concentration Measurement Cluster Server Pre Attribute Changed * @@ -8817,8 +8817,8 @@ void MatterFluorideConcentrationMeasurementClusterServerAttributeChangedCallback * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Client Message Sent * @@ -8831,8 +8831,8 @@ void emberAfFluorideConcentrationMeasurementClusterServerMessageSentCallback(con * @param status The status of the sent message */ void emberAfFluorideConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Fluoride Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9209,8 +9209,8 @@ void MatterTurbidityConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Client Message Sent * @@ -9223,8 +9223,8 @@ void emberAfTurbidityConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfTurbidityConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Turbidity Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9306,8 +9306,8 @@ void MatterCopperConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Client Message Sent * @@ -9320,8 +9320,8 @@ void emberAfCopperConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfCopperConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Copper Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9403,8 +9403,8 @@ void MatterLeadConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Client Message Sent * @@ -9417,8 +9417,8 @@ void emberAfLeadConcentrationMeasurementClusterServerMessageSentCallback(const c * @param status The status of the sent message */ void emberAfLeadConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Lead Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9500,8 +9500,8 @@ void MatterManganeseConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Client Message Sent * @@ -9514,8 +9514,8 @@ void emberAfManganeseConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfManganeseConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Manganese Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9597,8 +9597,8 @@ void MatterSulfateConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Client Message Sent * @@ -9611,8 +9611,8 @@ void emberAfSulfateConcentrationMeasurementClusterServerMessageSentCallback(cons * @param status The status of the sent message */ void emberAfSulfateConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sulfate Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9793,8 +9793,8 @@ void MatterBromoformConcentrationMeasurementClusterServerAttributeChangedCallbac * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Client Message Sent * @@ -9807,8 +9807,8 @@ void emberAfBromoformConcentrationMeasurementClusterServerMessageSentCallback(co * @param status The status of the sent message */ void emberAfBromoformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Bromoform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -9989,8 +9989,8 @@ void MatterChloroformConcentrationMeasurementClusterServerAttributeChangedCallba * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Client Message Sent * @@ -10003,8 +10003,8 @@ void emberAfChloroformConcentrationMeasurementClusterServerMessageSentCallback(c * @param status The status of the sent message */ void emberAfChloroformConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Chloroform Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10086,8 +10086,8 @@ void MatterSodiumConcentrationMeasurementClusterServerAttributeChangedCallback( * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Client Message Sent * @@ -10100,8 +10100,8 @@ void emberAfSodiumConcentrationMeasurementClusterServerMessageSentCallback(const * @param status The status of the sent message */ void emberAfSodiumConcentrationMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, - uint8_t * message, EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, + uint8_t * message, EmberStatus status); /** @brief Sodium Concentration Measurement Cluster Server Pre Attribute Changed * @@ -10182,7 +10182,7 @@ void MatterWakeOnLanClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Client Message Sent * @@ -10195,7 +10195,7 @@ void emberAfWakeOnLanClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Wake on LAN Cluster Server Pre Attribute Changed * @@ -10208,7 +10208,7 @@ void emberAfWakeOnLanClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Client Pre Attribute Changed * @@ -10221,7 +10221,7 @@ MatterWakeOnLanClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterWakeOnLanClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Wake on LAN Cluster Server Tick * @@ -10278,7 +10278,7 @@ void MatterChannelClusterServerAttributeChangedCallback(const chip::app::Concret * @param status The status of the sent message */ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Client Message Sent * @@ -10291,7 +10291,7 @@ void emberAfChannelClusterServerMessageSentCallback(const chip::MessageSendDesti * @param status The status of the sent message */ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Channel Cluster Server Pre Attribute Changed * @@ -10304,7 +10304,7 @@ void emberAfChannelClusterClientMessageSentCallback(const chip::MessageSendDesti */ chip::Protocols::InteractionModel::Status MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Client Pre Attribute Changed * @@ -10317,7 +10317,7 @@ MatterChannelClusterServerPreAttributeChangedCallback(const chip::app::ConcreteA */ chip::Protocols::InteractionModel::Status MatterChannelClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Channel Cluster Server Tick * @@ -10374,8 +10374,8 @@ void MatterTargetNavigatorClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Client Message Sent * @@ -10388,8 +10388,8 @@ void emberAfTargetNavigatorClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Target Navigator Cluster Server Pre Attribute Changed * @@ -10402,7 +10402,7 @@ void emberAfTargetNavigatorClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Client Pre Attribute Changed * @@ -10415,7 +10415,7 @@ MatterTargetNavigatorClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterTargetNavigatorClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Target Navigator Cluster Server Tick * @@ -10472,8 +10472,8 @@ void MatterMediaPlaybackClusterServerAttributeChangedCallback(const chip::app::C * @param status The status of the sent message */ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Client Message Sent * @@ -10486,8 +10486,8 @@ void emberAfMediaPlaybackClusterServerMessageSentCallback(const chip::MessageSen * @param status The status of the sent message */ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Media Playback Cluster Server Pre Attribute Changed * @@ -10500,7 +10500,7 @@ void emberAfMediaPlaybackClusterClientMessageSentCallback(const chip::MessageSen */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Client Pre Attribute Changed * @@ -10513,7 +10513,7 @@ MatterMediaPlaybackClusterServerPreAttributeChangedCallback(const chip::app::Con */ chip::Protocols::InteractionModel::Status MatterMediaPlaybackClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Playback Cluster Server Tick * @@ -10570,7 +10570,7 @@ void MatterMediaInputClusterServerAttributeChangedCallback(const chip::app::Conc * @param status The status of the sent message */ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Client Message Sent * @@ -10583,7 +10583,7 @@ void emberAfMediaInputClusterServerMessageSentCallback(const chip::MessageSendDe * @param status The status of the sent message */ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Media Input Cluster Server Pre Attribute Changed * @@ -10596,7 +10596,7 @@ void emberAfMediaInputClusterClientMessageSentCallback(const chip::MessageSendDe */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Client Pre Attribute Changed * @@ -10609,7 +10609,7 @@ MatterMediaInputClusterServerPreAttributeChangedCallback(const chip::app::Concre */ chip::Protocols::InteractionModel::Status MatterMediaInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Media Input Cluster Server Tick * @@ -10666,7 +10666,7 @@ void MatterLowPowerClusterServerAttributeChangedCallback(const chip::app::Concre * @param status The status of the sent message */ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Client Message Sent * @@ -10679,7 +10679,7 @@ void emberAfLowPowerClusterServerMessageSentCallback(const chip::MessageSendDest * @param status The status of the sent message */ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Low Power Cluster Server Pre Attribute Changed * @@ -10692,7 +10692,7 @@ void emberAfLowPowerClusterClientMessageSentCallback(const chip::MessageSendDest */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Client Pre Attribute Changed * @@ -10705,7 +10705,7 @@ MatterLowPowerClusterServerPreAttributeChangedCallback(const chip::app::Concrete */ chip::Protocols::InteractionModel::Status MatterLowPowerClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Low Power Cluster Server Tick * @@ -10762,7 +10762,7 @@ void MatterKeypadInputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Client Message Sent * @@ -10775,7 +10775,7 @@ void emberAfKeypadInputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Keypad Input Cluster Server Pre Attribute Changed * @@ -10788,7 +10788,7 @@ void emberAfKeypadInputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Client Pre Attribute Changed * @@ -10801,7 +10801,7 @@ MatterKeypadInputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterKeypadInputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Keypad Input Cluster Server Tick * @@ -10858,8 +10858,8 @@ void MatterContentLauncherClusterServerAttributeChangedCallback(const chip::app: * @param status The status of the sent message */ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Client Message Sent * @@ -10872,8 +10872,8 @@ void emberAfContentLauncherClusterServerMessageSentCallback(const chip::MessageS * @param status The status of the sent message */ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Content Launcher Cluster Server Pre Attribute Changed * @@ -10886,7 +10886,7 @@ void emberAfContentLauncherClusterClientMessageSentCallback(const chip::MessageS */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Client Pre Attribute Changed * @@ -10899,7 +10899,7 @@ MatterContentLauncherClusterServerPreAttributeChangedCallback(const chip::app::C */ chip::Protocols::InteractionModel::Status MatterContentLauncherClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Content Launcher Cluster Server Tick * @@ -10956,7 +10956,7 @@ void MatterAudioOutputClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Client Message Sent * @@ -10969,7 +10969,7 @@ void emberAfAudioOutputClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Audio Output Cluster Server Pre Attribute Changed * @@ -10982,7 +10982,7 @@ void emberAfAudioOutputClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Client Pre Attribute Changed * @@ -10995,7 +10995,7 @@ MatterAudioOutputClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterAudioOutputClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Audio Output Cluster Server Tick * @@ -11052,8 +11052,8 @@ void MatterApplicationLauncherClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Client Message Sent * @@ -11066,8 +11066,8 @@ void emberAfApplicationLauncherClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplicationLauncherClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Launcher Cluster Server Pre Attribute Changed * @@ -11148,8 +11148,8 @@ void MatterApplicationBasicClusterServerAttributeChangedCallback(const chip::app * @param status The status of the sent message */ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Client Message Sent * @@ -11162,8 +11162,8 @@ void emberAfApplicationBasicClusterServerMessageSentCallback(const chip::Message * @param status The status of the sent message */ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Application Basic Cluster Server Pre Attribute Changed * @@ -11176,7 +11176,7 @@ void emberAfApplicationBasicClusterClientMessageSentCallback(const chip::Message */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Client Pre Attribute Changed * @@ -11189,7 +11189,7 @@ MatterApplicationBasicClusterServerPreAttributeChangedCallback(const chip::app:: */ chip::Protocols::InteractionModel::Status MatterApplicationBasicClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Application Basic Cluster Server Tick * @@ -11246,7 +11246,7 @@ void MatterAccountLoginClusterServerAttributeChangedCallback(const chip::app::Co * @param status The status of the sent message */ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Client Message Sent * @@ -11259,7 +11259,7 @@ void emberAfAccountLoginClusterServerMessageSentCallback(const chip::MessageSend * @param status The status of the sent message */ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Account Login Cluster Server Pre Attribute Changed * @@ -11272,7 +11272,7 @@ void emberAfAccountLoginClusterClientMessageSentCallback(const chip::MessageSend */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Client Pre Attribute Changed * @@ -11285,7 +11285,7 @@ MatterAccountLoginClusterServerPreAttributeChangedCallback(const chip::app::Conc */ chip::Protocols::InteractionModel::Status MatterAccountLoginClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Account Login Cluster Server Tick * @@ -11342,7 +11342,7 @@ void MatterMessagingClusterServerAttributeChangedCallback(const chip::app::Concr * @param status The status of the sent message */ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Client Message Sent * @@ -11355,7 +11355,7 @@ void emberAfMessagingClusterServerMessageSentCallback(const chip::MessageSendDes * @param status The status of the sent message */ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Messaging Cluster Server Pre Attribute Changed * @@ -11368,7 +11368,7 @@ void emberAfMessagingClusterClientMessageSentCallback(const chip::MessageSendDes */ chip::Protocols::InteractionModel::Status MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Client Pre Attribute Changed * @@ -11381,7 +11381,7 @@ MatterMessagingClusterServerPreAttributeChangedCallback(const chip::app::Concret */ chip::Protocols::InteractionModel::Status MatterMessagingClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Messaging Cluster Server Tick * @@ -11438,8 +11438,8 @@ void MatterApplianceIdentificationClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Client Message Sent * @@ -11452,8 +11452,8 @@ void emberAfApplianceIdentificationClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Identification Cluster Server Pre Attribute Changed * @@ -11534,8 +11534,8 @@ void MatterMeterIdentificationClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Client Message Sent * @@ -11548,8 +11548,8 @@ void emberAfMeterIdentificationClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfMeterIdentificationClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Meter Identification Cluster Server Pre Attribute Changed * @@ -11630,8 +11630,8 @@ void MatterApplianceEventsAndAlertClusterServerAttributeChangedCallback(const ch * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Client Message Sent * @@ -11644,8 +11644,8 @@ void emberAfApplianceEventsAndAlertClusterServerMessageSentCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceEventsAndAlertClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Events and Alert Cluster Server Pre Attribute Changed * @@ -11726,8 +11726,8 @@ void MatterApplianceStatisticsClusterServerAttributeChangedCallback(const chip:: * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Client Message Sent * @@ -11740,8 +11740,8 @@ void emberAfApplianceStatisticsClusterServerMessageSentCallback(const chip::Mess * @param status The status of the sent message */ void emberAfApplianceStatisticsClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Appliance Statistics Cluster Server Pre Attribute Changed * @@ -11822,8 +11822,8 @@ void MatterElectricalMeasurementClusterServerAttributeChangedCallback(const chip * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Client Message Sent * @@ -11836,8 +11836,8 @@ void emberAfElectricalMeasurementClusterServerMessageSentCallback(const chip::Me * @param status The status of the sent message */ void emberAfElectricalMeasurementClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, - EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, - EmberStatus status); + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); /** @brief Electrical Measurement Cluster Server Pre Attribute Changed * @@ -11918,7 +11918,7 @@ void MatterTestClusterClusterServerAttributeChangedCallback(const chip::app::Con * @param status The status of the sent message */ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Client Message Sent * @@ -11931,7 +11931,7 @@ void emberAfTestClusterClusterServerMessageSentCallback(const chip::MessageSendD * @param status The status of the sent message */ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status); + uint16_t msgLen, uint8_t * message, EmberStatus status); /** @brief Test Cluster Cluster Server Pre Attribute Changed * @@ -11944,7 +11944,7 @@ void emberAfTestClusterClusterClientMessageSentCallback(const chip::MessageSendD */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Client Pre Attribute Changed * @@ -11957,7 +11957,7 @@ MatterTestClusterClusterServerPreAttributeChangedCallback(const chip::app::Concr */ chip::Protocols::InteractionModel::Status MatterTestClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, - EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); /** @brief Test Cluster Cluster Server Tick * @@ -11981,8 +11981,8 @@ void emberAfTestClusterClusterClientTickCallback(chip::EndpointId endpoint); * @brief Identify Cluster Identify Command callback (from client) */ bool emberAfIdentifyClusterIdentifyCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Identify::Commands::Identify::DecodableType & commandData); /** * @brief Identify Cluster TriggerEffect Command callback (from client) */ @@ -11993,24 +11993,24 @@ bool emberAfIdentifyClusterTriggerEffectCallback( * @brief Groups Cluster AddGroup Command callback (from client) */ bool emberAfGroupsClusterAddGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::AddGroup::DecodableType & commandData); /** * @brief Groups Cluster AddGroupResponse Command callback (from server) */ bool emberAfGroupsClusterAddGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId); + chip::GroupId groupId); /** * @brief Groups Cluster ViewGroup Command callback (from client) */ bool emberAfGroupsClusterViewGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::ViewGroup::DecodableType & commandData); /** * @brief Groups Cluster ViewGroupResponse Command callback (from server) */ bool emberAfGroupsClusterViewGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - chip::GroupId groupId, chip::CharSpan groupName); + chip::GroupId groupId, chip::CharSpan groupName); /** * @brief Groups Cluster GetGroupMembership Command callback (from client) */ @@ -12021,19 +12021,19 @@ bool emberAfGroupsClusterGetGroupMembershipCallback( * @brief Groups Cluster GetGroupMembershipResponse Command callback (from server) */ bool emberAfGroupsClusterGetGroupMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t capacity, - /* TYPE WARNING: array array defaults to */ uint8_t * groupList); + uint8_t capacity, + /* TYPE WARNING: array array defaults to */ uint8_t * groupList); /** * @brief Groups Cluster RemoveGroup Command callback (from client) */ bool emberAfGroupsClusterRemoveGroupCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Groups::Commands::RemoveGroup::DecodableType & commandData); /** * @brief Groups Cluster RemoveGroupResponse Command callback (from server) */ bool emberAfGroupsClusterRemoveGroupResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::GroupId groupId); + uint8_t status, chip::GroupId groupId); /** * @brief Groups Cluster RemoveAllGroups Command callback (from client) */ @@ -12050,37 +12050,37 @@ bool emberAfGroupsClusterAddGroupIfIdentifyingCallback( * @brief Scenes Cluster AddScene Command callback (from client) */ bool emberAfScenesClusterAddSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::AddScene::DecodableType & commandData); /** * @brief Scenes Cluster AddSceneResponse Command callback (from server) */ bool emberAfScenesClusterAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId); + chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster ViewScene Command callback (from client) */ bool emberAfScenesClusterViewSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::ViewScene::DecodableType & commandData); /** * @brief Scenes Cluster ViewSceneResponse Command callback (from server) */ bool emberAfScenesClusterViewSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, - chip::CharSpan SceneName, - /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); + chip::GroupId GroupId, uint8_t SceneId, uint16_t TransitionTime, + chip::CharSpan SceneName, + /* TYPE WARNING: array array defaults to */ uint8_t * ExtensionFieldSets); /** * @brief Scenes Cluster RemoveScene Command callback (from client) */ bool emberAfScenesClusterRemoveSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RemoveScene::DecodableType & commandData); /** * @brief Scenes Cluster RemoveSceneResponse Command callback (from server) */ bool emberAfScenesClusterRemoveSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RemoveAllScenes Command callback (from client) */ @@ -12091,24 +12091,24 @@ bool emberAfScenesClusterRemoveAllScenesCallback( * @brief Scenes Cluster RemoveAllScenesResponse Command callback (from server) */ bool emberAfScenesClusterRemoveAllScenesResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId); + uint8_t Status, chip::GroupId GroupId); /** * @brief Scenes Cluster StoreScene Command callback (from client) */ bool emberAfScenesClusterStoreSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::StoreScene::DecodableType & commandData); /** * @brief Scenes Cluster StoreSceneResponse Command callback (from server) */ bool emberAfScenesClusterStoreSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster RecallScene Command callback (from client) */ bool emberAfScenesClusterRecallSceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::RecallScene::DecodableType & commandData); /** * @brief Scenes Cluster GetSceneMembership Command callback (from client) */ @@ -12119,8 +12119,8 @@ bool emberAfScenesClusterGetSceneMembershipCallback( * @brief Scenes Cluster GetSceneMembershipResponse Command callback (from server) */ bool emberAfScenesClusterGetSceneMembershipResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, - /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); + uint8_t Status, uint8_t Capacity, chip::GroupId GroupId, + /* TYPE WARNING: array array defaults to */ uint8_t * SceneList); /** * @brief Scenes Cluster EnhancedAddScene Command callback (from client) */ @@ -12131,7 +12131,7 @@ bool emberAfScenesClusterEnhancedAddSceneCallback( * @brief Scenes Cluster EnhancedAddSceneResponse Command callback (from server) */ bool emberAfScenesClusterEnhancedAddSceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); + uint8_t Status, chip::GroupId GroupId, uint8_t SceneId); /** * @brief Scenes Cluster EnhancedViewScene Command callback (from client) */ @@ -12148,13 +12148,13 @@ bool emberAfScenesClusterEnhancedViewSceneResponseCallback( * @brief Scenes Cluster CopyScene Command callback (from client) */ bool emberAfScenesClusterCopySceneCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Scenes::Commands::CopyScene::DecodableType & commandData); /** * @brief Scenes Cluster CopySceneResponse Command callback (from server) */ bool emberAfScenesClusterCopySceneResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t Status, - chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); + chip::GroupId GroupIdFrom, uint8_t SceneIdFrom); /** * @brief On/Off Cluster Off Command callback (from client) */ @@ -12198,20 +12198,20 @@ bool emberAfLevelControlClusterMoveToLevelCallback( * @brief Level Control Cluster Move Command callback (from client) */ bool emberAfLevelControlClusterMoveCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Move::DecodableType & commandData); /** * @brief Level Control Cluster Step Command callback (from client) */ bool emberAfLevelControlClusterStepCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Step::DecodableType & commandData); /** * @brief Level Control Cluster Stop Command callback (from client) */ bool emberAfLevelControlClusterStopCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::LevelControl::Commands::Stop::DecodableType & commandData); /** * @brief Level Control Cluster MoveToLevelWithOnOff Command callback (from client) */ @@ -12246,8 +12246,8 @@ bool emberAfLevelControlClusterMoveToClosestFrequencyCallback( * @brief Alarms Cluster ResetAlarm Command callback (from client) */ bool emberAfAlarmsClusterResetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::ResetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster Alarm Command callback (from server) */ @@ -12263,13 +12263,13 @@ bool emberAfAlarmsClusterResetAllAlarmsCallback( * @brief Alarms Cluster GetAlarmResponse Command callback (from server) */ bool emberAfAlarmsClusterGetAlarmResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, uint8_t status, - uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); + uint8_t alarmCode, chip::ClusterId clusterId, uint32_t timeStamp); /** * @brief Alarms Cluster GetAlarm Command callback (from client) */ bool emberAfAlarmsClusterGetAlarmCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::Alarms::Commands::GetAlarm::DecodableType & commandData); /** * @brief Alarms Cluster ResetAlarmLog Command callback (from client) */ @@ -12322,7 +12322,7 @@ bool emberAfPowerProfileClusterGetOverallSchedulePriceResponseCallback( * @brief Power Profile Cluster GetPowerProfilePrice Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleNotification Command callback (from client) */ @@ -12355,7 +12355,7 @@ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsRequestCallback( * @brief Power Profile Cluster EnergyPhasesScheduleRequest Command callback (from server) */ bool emberAfPowerProfileClusterEnergyPhasesScheduleRequestCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t powerProfileId); + uint8_t powerProfileId); /** * @brief Power Profile Cluster EnergyPhasesScheduleStateRequest Command callback (from client) */ @@ -12384,22 +12384,22 @@ bool emberAfPowerProfileClusterEnergyPhasesScheduleStateNotificationCallback( * @brief Power Profile Cluster PowerProfileScheduleConstraintsNotification Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster PowerProfileScheduleConstraintsResponse Command callback (from server) */ bool emberAfPowerProfileClusterPowerProfileScheduleConstraintsResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t powerProfileId, uint16_t startAfter, - uint16_t stopBefore); + chip::app::CommandSender * commandObj, + uint8_t powerProfileId, uint16_t startAfter, + uint16_t stopBefore); /** * @brief Power Profile Cluster GetPowerProfilePriceExtended Command callback (from server) */ bool emberAfPowerProfileClusterGetPowerProfilePriceExtendedCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t options, - uint8_t powerProfileId, uint16_t powerProfileStartTime); + chip::app::CommandSender * commandObj, uint8_t options, + uint8_t powerProfileId, uint16_t powerProfileStartTime); /** * @brief Appliance Control Cluster ExecutionOfACommand Command callback (from client) */ @@ -12410,8 +12410,8 @@ bool emberAfApplianceControlClusterExecutionOfACommandCallback( * @brief Appliance Control Cluster SignalStateResponse Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster SignalState Command callback (from client) */ @@ -12422,9 +12422,9 @@ bool emberAfApplianceControlClusterSignalStateCallback( * @brief Appliance Control Cluster SignalStateNotification Command callback (from server) */ bool emberAfApplianceControlClusterSignalStateNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t applianceStatus, - uint8_t remoteEnableFlagsAndDeviceStatus2, - uint8_t applianceStatus2); + uint8_t applianceStatus, + uint8_t remoteEnableFlagsAndDeviceStatus2, + uint8_t applianceStatus2); /** * @brief Appliance Control Cluster WriteFunctions Command callback (from client) */ @@ -12578,8 +12578,8 @@ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateRequestCallback( * @brief OTA Software Update Provider Cluster ApplyUpdateResponse Command callback (from server) */ bool emberAfOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t action, - uint32_t delayedActionTime); + chip::app::CommandSender * commandObj, uint8_t action, + uint32_t delayedActionTime); /** * @brief OTA Software Update Provider Cluster NotifyUpdateApplied Command callback (from client) */ @@ -12602,7 +12602,7 @@ bool emberAfGeneralCommissioningClusterArmFailSafeCallback( * @brief General Commissioning Cluster ArmFailSafeResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterArmFailSafeResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + uint8_t errorCode, chip::CharSpan debugText); /** * @brief General Commissioning Cluster SetRegulatoryConfig Command callback (from client) */ @@ -12613,8 +12613,8 @@ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback( * @brief General Commissioning Cluster SetRegulatoryConfigResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t errorCode, - chip::CharSpan debugText); + chip::app::CommandSender * commandObj, uint8_t errorCode, + chip::CharSpan debugText); /** * @brief General Commissioning Cluster CommissioningComplete Command callback (from client) */ @@ -12625,8 +12625,8 @@ bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback( * @brief General Commissioning Cluster CommissioningCompleteResponse Command callback (from server) */ bool emberAfGeneralCommissioningClusterCommissioningCompleteResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t errorCode, chip::CharSpan debugText); + chip::app::CommandSender * commandObj, + uint8_t errorCode, chip::CharSpan debugText); /** * @brief Network Commissioning Cluster ScanNetworks Command callback (from client) */ @@ -12662,9 +12662,9 @@ bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( * @brief Network Commissioning Cluster NetworkConfigResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterNetworkConfigResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - uint8_t NetworkIndex); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + uint8_t NetworkIndex); /** * @brief Network Commissioning Cluster ConnectNetwork Command callback (from client) */ @@ -12675,9 +12675,9 @@ bool emberAfNetworkCommissioningClusterConnectNetworkCallback( * @brief Network Commissioning Cluster ConnectNetworkResponse Command callback (from server) */ bool emberAfNetworkCommissioningClusterConnectNetworkResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - uint8_t NetworkingStatus, chip::CharSpan DebugText, - int32_t ErrorValue); + chip::app::CommandSender * commandObj, + uint8_t NetworkingStatus, chip::CharSpan DebugText, + int32_t ErrorValue); /** * @brief Network Commissioning Cluster ReorderNetwork Command callback (from client) */ @@ -12694,8 +12694,8 @@ bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback( * @brief Diagnostic Logs Cluster RetrieveLogsResponse Command callback (from server) */ bool emberAfDiagnosticLogsClusterRetrieveLogsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan content, uint32_t timeStamp, - uint32_t timeSinceBoot); + uint8_t status, chip::ByteSpan content, uint32_t timeStamp, + uint32_t timeSinceBoot); /** * @brief General Diagnostics Cluster TestEventTrigger Command callback (from client) */ @@ -12754,8 +12754,8 @@ bool emberAfOperationalCredentialsClusterAttestationRequestCallback( * @brief Operational Credentials Cluster AttestationResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterAttestationResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan AttestationElements, chip::ByteSpan Signature); + chip::app::CommandSender * commandObj, + chip::ByteSpan AttestationElements, chip::ByteSpan Signature); /** * @brief Operational Credentials Cluster CertificateChainRequest Command callback (from client) */ @@ -12766,8 +12766,8 @@ bool emberAfOperationalCredentialsClusterCertificateChainRequestCallback( * @brief Operational Credentials Cluster CertificateChainResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCertificateChainResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, - chip::ByteSpan Certificate); + chip::app::CommandSender * commandObj, + chip::ByteSpan Certificate); /** * @brief Operational Credentials Cluster CSRRequest Command callback (from client) */ @@ -12778,7 +12778,7 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback( * @brief Operational Credentials Cluster CSRResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterCSRResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); + chip::ByteSpan NOCSRElements, chip::ByteSpan AttestationSignature); /** * @brief Operational Credentials Cluster AddNOC Command callback (from client) */ @@ -12795,8 +12795,8 @@ bool emberAfOperationalCredentialsClusterUpdateNOCCallback( * @brief Operational Credentials Cluster NOCResponse Command callback (from server) */ bool emberAfOperationalCredentialsClusterNOCResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t StatusCode, chip::FabricIndex FabricIndex, - chip::CharSpan DebugText); + uint8_t StatusCode, chip::FabricIndex FabricIndex, + chip::CharSpan DebugText); /** * @brief Operational Credentials Cluster UpdateFabricLabel Command callback (from client) */ @@ -12861,8 +12861,8 @@ bool emberAfModeSelectClusterChangeToModeCallback( * @brief Door Lock Cluster LockDoor Command callback (from client) */ bool emberAfDoorLockClusterLockDoorCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::LockDoor::DecodableType & commandData); /** * @brief Door Lock Cluster UnlockDoor Command callback (from client) */ @@ -12891,9 +12891,9 @@ bool emberAfDoorLockClusterGetWeekDayScheduleCallback( * @brief Door Lock Cluster GetWeekDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetWeekDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, - uint8_t daysMask, uint8_t startHour, uint8_t startMinute, - uint8_t endHour, uint8_t endMinute); + uint8_t weekDayIndex, uint16_t userIndex, uint8_t status, + uint8_t daysMask, uint8_t startHour, uint8_t startMinute, + uint8_t endHour, uint8_t endMinute); /** * @brief Door Lock Cluster ClearWeekDaySchedule Command callback (from client) */ @@ -12916,8 +12916,8 @@ bool emberAfDoorLockClusterGetYearDayScheduleCallback( * @brief Door Lock Cluster GetYearDayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetYearDayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, - uint32_t localStartTime, uint32_t localEndTime); + uint8_t yearDayIndex, uint16_t userIndex, uint8_t status, + uint32_t localStartTime, uint32_t localEndTime); /** * @brief Door Lock Cluster ClearYearDaySchedule Command callback (from client) */ @@ -12940,8 +12940,8 @@ bool emberAfDoorLockClusterGetHolidayScheduleCallback( * @brief Door Lock Cluster GetHolidayScheduleResponse Command callback (from server) */ bool emberAfDoorLockClusterGetHolidayScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, - uint32_t localEndTime, uint8_t operatingMode); + uint8_t holidayIndex, uint8_t status, uint32_t localStartTime, + uint32_t localEndTime, uint8_t operatingMode); /** * @brief Door Lock Cluster ClearHolidaySchedule Command callback (from client) */ @@ -12952,29 +12952,29 @@ bool emberAfDoorLockClusterClearHolidayScheduleCallback( * @brief Door Lock Cluster SetUser Command callback (from client) */ bool emberAfDoorLockClusterSetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::SetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUser Command callback (from client) */ bool emberAfDoorLockClusterGetUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::GetUser::DecodableType & commandData); /** * @brief Door Lock Cluster GetUserResponse Command callback (from server) */ bool emberAfDoorLockClusterGetUserResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, - uint8_t userStatus, uint8_t userType, uint8_t credentialRule, - /* TYPE WARNING: array array defaults to */ uint8_t * credentials, - chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextUserIndex); + uint16_t userIndex, chip::CharSpan userName, uint32_t userUniqueId, + uint8_t userStatus, uint8_t userType, uint8_t credentialRule, + /* TYPE WARNING: array array defaults to */ uint8_t * credentials, + chip::FabricIndex creatorFabricIndex, chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextUserIndex); /** * @brief Door Lock Cluster ClearUser Command callback (from client) */ bool emberAfDoorLockClusterClearUserCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::DoorLock::Commands::ClearUser::DecodableType & commandData); /** * @brief Door Lock Cluster SetCredential Command callback (from client) */ @@ -12985,7 +12985,7 @@ bool emberAfDoorLockClusterSetCredentialCallback( * @brief Door Lock Cluster SetCredentialResponse Command callback (from server) */ bool emberAfDoorLockClusterSetCredentialResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); + uint8_t status, uint16_t userIndex, uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster GetCredentialStatus Command callback (from client) */ @@ -12996,10 +12996,10 @@ bool emberAfDoorLockClusterGetCredentialStatusCallback( * @brief Door Lock Cluster GetCredentialStatusResponse Command callback (from server) */ bool emberAfDoorLockClusterGetCredentialStatusResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool credentialExists, uint16_t userIndex, - chip::FabricIndex creatorFabricIndex, - chip::FabricIndex lastModifiedFabricIndex, - uint16_t nextCredentialIndex); + bool credentialExists, uint16_t userIndex, + chip::FabricIndex creatorFabricIndex, + chip::FabricIndex lastModifiedFabricIndex, + uint16_t nextCredentialIndex); /** * @brief Door Lock Cluster ClearCredential Command callback (from client) */ @@ -13070,9 +13070,9 @@ bool emberAfThermostatClusterSetpointRaiseLowerCallback( * @brief Thermostat Cluster GetWeeklyScheduleResponse Command callback (from server) */ bool emberAfThermostatClusterGetWeeklyScheduleResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, - uint8_t ModeForSequence, - /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); + uint8_t NumberOfTransitionsForSequence, uint8_t DayOfWeekForSequence, + uint8_t ModeForSequence, + /* TYPE WARNING: array array defaults to */ uint8_t * Transitions); /** * @brief Thermostat Cluster SetWeeklySchedule Command callback (from client) */ @@ -13215,7 +13215,7 @@ bool emberAfChannelClusterChangeChannelCallback( * @brief Channel Cluster ChangeChannelResponse Command callback (from server) */ bool emberAfChannelClusterChangeChannelResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Channel Cluster ChangeChannelByNumber Command callback (from client) */ @@ -13238,13 +13238,13 @@ bool emberAfTargetNavigatorClusterNavigateTargetCallback( * @brief Target Navigator Cluster NavigateTargetResponse Command callback (from server) */ bool emberAfTargetNavigatorClusterNavigateTargetResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Play Command callback (from client) */ bool emberAfMediaPlaybackClusterPlayCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Play::DecodableType & commandData); /** * @brief Media Playback Cluster Pause Command callback (from client) */ @@ -13273,8 +13273,8 @@ bool emberAfMediaPlaybackClusterPreviousCallback( * @brief Media Playback Cluster Next Command callback (from client) */ bool emberAfMediaPlaybackClusterNextCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Next::DecodableType & commandData); /** * @brief Media Playback Cluster Rewind Command callback (from client) */ @@ -13303,13 +13303,13 @@ bool emberAfMediaPlaybackClusterSkipBackwardCallback( * @brief Media Playback Cluster PlaybackResponse Command callback (from server) */ bool emberAfMediaPlaybackClusterPlaybackResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Media Playback Cluster Seek Command callback (from client) */ bool emberAfMediaPlaybackClusterSeekCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::MediaPlayback::Commands::Seek::DecodableType & commandData); /** * @brief Media Input Cluster SelectInput Command callback (from client) */ @@ -13338,7 +13338,7 @@ bool emberAfMediaInputClusterRenameInputCallback( * @brief Low Power Cluster Sleep Command callback (from client) */ bool emberAfLowPowerClusterSleepCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); + const chip::app::Clusters::LowPower::Commands::Sleep::DecodableType & commandData); /** * @brief Keypad Input Cluster SendKey Command callback (from client) */ @@ -13349,7 +13349,7 @@ bool emberAfKeypadInputClusterSendKeyCallback( * @brief Keypad Input Cluster SendKeyResponse Command callback (from server) */ bool emberAfKeypadInputClusterSendKeyResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status); + uint8_t status); /** * @brief Content Launcher Cluster LaunchContent Command callback (from client) */ @@ -13366,7 +13366,7 @@ bool emberAfContentLauncherClusterLaunchURLCallback( * @brief Content Launcher Cluster LaunchResponse Command callback (from server) */ bool emberAfContentLauncherClusterLaunchResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::CharSpan data); + uint8_t status, chip::CharSpan data); /** * @brief Audio Output Cluster SelectOutput Command callback (from client) */ @@ -13401,7 +13401,7 @@ bool emberAfApplicationLauncherClusterHideAppCallback( * @brief Application Launcher Cluster LauncherResponse Command callback (from server) */ bool emberAfApplicationLauncherClusterLauncherResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t status, chip::ByteSpan data); + uint8_t status, chip::ByteSpan data); /** * @brief Account Login Cluster GetSetupPIN Command callback (from client) */ @@ -13412,13 +13412,13 @@ bool emberAfAccountLoginClusterGetSetupPINCallback( * @brief Account Login Cluster GetSetupPINResponse Command callback (from server) */ bool emberAfAccountLoginClusterGetSetupPINResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::CharSpan setupPIN); + chip::CharSpan setupPIN); /** * @brief Account Login Cluster Login Command callback (from client) */ bool emberAfAccountLoginClusterLoginCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::AccountLogin::Commands::Login::DecodableType & commandData); /** * @brief Account Login Cluster Logout Command callback (from client) */ @@ -13429,9 +13429,9 @@ bool emberAfAccountLoginClusterLogoutCallback( * @brief Messaging Cluster DisplayMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetLastMessage Command callback (from client) */ @@ -13442,7 +13442,7 @@ bool emberAfMessagingClusterGetLastMessageCallback( * @brief Messaging Cluster CancelMessage Command callback (from server) */ bool emberAfMessagingClusterCancelMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl); + uint32_t messageId, uint8_t messageControl); /** * @brief Messaging Cluster MessageConfirmation Command callback (from client) */ @@ -13453,9 +13453,9 @@ bool emberAfMessagingClusterMessageConfirmationCallback( * @brief Messaging Cluster DisplayProtectedMessage Command callback (from server) */ bool emberAfMessagingClusterDisplayProtectedMessageCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t messageId, uint8_t messageControl, uint32_t startTime, - uint16_t durationInMinutes, chip::CharSpan message, - uint8_t optionalExtendedMessageControl); + uint32_t messageId, uint8_t messageControl, uint32_t startTime, + uint16_t durationInMinutes, chip::CharSpan message, + uint8_t optionalExtendedMessageControl); /** * @brief Messaging Cluster GetMessageCancellation Command callback (from client) */ @@ -13466,7 +13466,7 @@ bool emberAfMessagingClusterGetMessageCancellationCallback( * @brief Messaging Cluster CancelAllMessages Command callback (from server) */ bool emberAfMessagingClusterCancelAllMessagesCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t implementationDateTime); + uint32_t implementationDateTime); /** * @brief Appliance Events and Alert Cluster GetAlerts Command callback (from client) */ @@ -13489,14 +13489,14 @@ bool emberAfApplianceEventsAndAlertClusterAlertsNotificationCallback( * @brief Appliance Events and Alert Cluster EventsNotification Command callback (from server) */ bool emberAfApplianceEventsAndAlertClusterEventsNotificationCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint8_t eventHeader, - uint8_t eventId); + chip::app::CommandSender * commandObj, uint8_t eventHeader, + uint8_t eventId); /** * @brief Appliance Statistics Cluster LogNotification Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogNotificationCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogRequest Command callback (from client) */ @@ -13507,8 +13507,8 @@ bool emberAfApplianceStatisticsClusterLogRequestCallback( * @brief Appliance Statistics Cluster LogResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint32_t timeStamp, uint32_t logId, uint32_t logLength, - /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); + uint32_t timeStamp, uint32_t logId, uint32_t logLength, + /* TYPE WARNING: array array defaults to */ uint8_t * logPayload); /** * @brief Appliance Statistics Cluster LogQueueRequest Command callback (from client) */ @@ -13519,14 +13519,14 @@ bool emberAfApplianceStatisticsClusterLogQueueRequestCallback( * @brief Appliance Statistics Cluster LogQueueResponse Command callback (from server) */ bool emberAfApplianceStatisticsClusterLogQueueResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Appliance Statistics Cluster StatisticsAvailable Command callback (from server) */ bool emberAfApplianceStatisticsClusterStatisticsAvailableCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t logQueueSize, - /* TYPE WARNING: array array defaults to */ uint8_t * logIds); + uint8_t logQueueSize, + /* TYPE WARNING: array array defaults to */ uint8_t * logIds); /** * @brief Electrical Measurement Cluster GetProfileInfoResponseCommand Command callback (from server) */ @@ -13556,13 +13556,13 @@ bool emberAfElectricalMeasurementClusterGetMeasurementProfileCommandCallback( * @brief Test Cluster Cluster Test Command callback (from client) */ bool emberAfTestClusterClusterTestCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath, - const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); + const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::TestCluster::Commands::Test::DecodableType & commandData); /** * @brief Test Cluster Cluster TestSpecificResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSpecificResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestNotHandled Command callback (from client) */ @@ -13573,7 +13573,7 @@ bool emberAfTestClusterClusterTestNotHandledCallback( * @brief Test Cluster Cluster TestAddArgumentsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestAddArgumentsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint8_t returnValue); + uint8_t returnValue); /** * @brief Test Cluster Cluster TestSpecific Command callback (from client) */ @@ -13584,7 +13584,7 @@ bool emberAfTestClusterClusterTestSpecificCallback( * @brief Test Cluster Cluster TestSimpleArgumentResponse Command callback (from server) */ bool emberAfTestClusterClusterTestSimpleArgumentResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool returnValue); + bool returnValue); /** * @brief Test Cluster Cluster TestUnknownCommand Command callback (from client) */ @@ -13608,7 +13608,7 @@ bool emberAfTestClusterClusterTestAddArgumentsCallback( * @brief Test Cluster Cluster TestListInt8UReverseResponse Command callback (from server) */ bool emberAfTestClusterClusterTestListInt8UReverseResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - /* TYPE WARNING: array array defaults to */ uint8_t * arg1); + /* TYPE WARNING: array array defaults to */ uint8_t * arg1); /** * @brief Test Cluster Cluster TestSimpleArgumentRequest Command callback (from client) */ @@ -13619,7 +13619,7 @@ bool emberAfTestClusterClusterTestSimpleArgumentRequestCallback( * @brief Test Cluster Cluster TestEnumsResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEnumsResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - chip::VendorId arg1, uint8_t arg2); + chip::VendorId arg1, uint8_t arg2); /** * @brief Test Cluster Cluster TestStructArrayArgumentRequest Command callback (from client) */ @@ -13630,8 +13630,8 @@ bool emberAfTestClusterClusterTestStructArrayArgumentRequestCallback( * @brief Test Cluster Cluster TestNullableOptionalResponse Command callback (from server) */ bool emberAfTestClusterClusterTestNullableOptionalResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - bool wasPresent, bool wasNull, uint8_t value, - uint8_t originalValue); + bool wasPresent, bool wasNull, uint8_t value, + uint8_t originalValue); /** * @brief Test Cluster Cluster TestStructArgumentRequest Command callback (from client) */ @@ -13687,7 +13687,7 @@ bool emberAfTestClusterClusterTestListInt8UArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestEventResponseCallback(chip::EndpointId endpoint, chip::app::CommandSender * commandObj, - uint64_t value); + uint64_t value); /** * @brief Test Cluster Cluster TestNestedStructListArgumentRequest Command callback (from client) */ @@ -13698,7 +13698,7 @@ bool emberAfTestClusterClusterTestNestedStructListArgumentRequestCallback( * @brief Test Cluster Cluster TestEmitTestFabricScopedEventResponse Command callback (from server) */ bool emberAfTestClusterClusterTestEmitTestFabricScopedEventResponseCallback(chip::EndpointId endpoint, - chip::app::CommandSender * commandObj, uint64_t value); + chip::app::CommandSender * commandObj, uint64_t value); /** * @brief Test Cluster Cluster TestListNestedStructListArgumentRequest Command callback (from client) */ @@ -13809,8 +13809,8 @@ void emberAfRemoveFromCurrentAppTasksCallback(EmberAfApplicationTask tasks); * restricted by the application implementing this callback. */ EmberAfAttributeWritePermission emberAfAllowNetworkWriteAttributeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - chip::AttributeId attributeId, uint8_t * value, - uint8_t type); + chip::AttributeId attributeId, uint8_t * value, + uint8_t type); /** @brief Attribute Read Access * @@ -13904,8 +13904,8 @@ bool emberAfMessageSentCallback(const chip::MessageSendDestination & destination * application was not able to read the attribute. */ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); /** @brief External Attribute Write * @@ -13948,7 +13948,7 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch * attribute. */ EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); /** @brief Get Current Time * @@ -14018,7 +14018,7 @@ bool emberAfStartMoveCallback(); * any other code to reject it. */ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, - uint8_t type, uint16_t size, uint8_t * value); + uint8_t type, uint16_t size, uint8_t * value); /** @brief Post Attribute Change * diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index 655528f5005bf2..c25c1486217cb1 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index c2441cd59972c8..05fbff1c7e03d3 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -238,7 +238,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -264,7 +264,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -315,7 +315,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index fbfdb7b6b598eb..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 6d87853bfd394f..52dacae6648fc2 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index e864a14537620d..c8f10822dc4a20 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index ee71891d449c8c..0c8c71ad640a6c 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -270,7 +270,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -296,7 +296,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -347,7 +347,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index fbfdb7b6b598eb..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index 4671a3085c0f9a..78909a92774d5f 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index e864a14537620d..c8f10822dc4a20 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index d811cc1e79566e..abd8a2e0790b32 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -278,7 +278,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -304,7 +304,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -355,7 +355,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index 5c722a8b9ebee7..12cbf459213165 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -57,7 +57,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -68,7 +68,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 5bac9de07149fa..83772e1243c71e 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index fbfdb7b6b598eb..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index 9d8774cfdad15a..5a89e1d8d9eb19 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index 54df8350237b68..79785a5101328f 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index f6506f6434d0e0..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index 54df8350237b68..79785a5101328f 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index f6506f6434d0e0..abf37f285b25bb 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index fbfdb7b6b598eb..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index fb2dd3958c2b88..7d29c3a5d9df11 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index 1274a0a52c6015..f6b7e41892ec6d 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 039e6ea01fc242..98decb6cc951f1 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index fbfdb7b6b598eb..1ac3186b59113e 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 346fafea85979a..03c232ac1803d5 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index 0a8c29fc32194b..fa55c85f11d0ab 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index b2e22af270e77d..7bfcc36ffb3804 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -302,7 +302,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -328,7 +328,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -379,7 +379,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index db4c3f33a780b2..e211c30d64b61d 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index 36e4d58e0149d9..fb22277adb7ca5 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 69c76ec1b16c56..1bc45f589853d8 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -31,7 +31,7 @@ class TestList : public Command { public: - TestList() : Command("list") {}; + TestList() : Command("list"){}; CHIP_ERROR Run() override { printf("TestAccessControlCluster\n"); @@ -234,7 +234,7 @@ class TestList : public Command class ManualTestList : public Command { public: - ManualTestList() : Command("list-manual") {}; + ManualTestList() : Command("list-manual"){}; CHIP_ERROR Run() override { printf("Test_TC_DD_1_5\n"); @@ -576,9 +576,7 @@ class TestAccessControlClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -601,7 +599,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -613,21 +611,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -646,39 +644,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -697,39 +695,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -752,7 +750,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -779,7 +777,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -800,7 +798,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -821,7 +819,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -842,7 +840,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -863,7 +861,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -884,7 +882,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -905,7 +903,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -917,21 +915,21 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 0)); + "acl[0].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 0U)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 1)); + "acl[0].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 1UL)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[0].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[0].targets.Value()", iter_3, 2)); + "acl[0].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[0].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[0].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 2UL)); @@ -950,39 +948,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 0)); + "acl[1].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[0]", iter_3.GetValue(), 4ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 1)); + "acl[1].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[1]", iter_3.GetValue(), 5ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 2)); + "acl[1].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[2]", iter_3.GetValue(), 6ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].subjects.Value()", iter_3, 3)); + "acl[1].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[1].subjects.Value()[3]", iter_3.GetValue(), 7ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[1].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[1].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 0)); + "acl[1].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 8U)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 1)); + "acl[1].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 9UL)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[1].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[1].targets.Value()", iter_3, 2)); + "acl[1].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[1].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[1].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 10UL)); @@ -1001,39 +999,39 @@ class TestAccessControlClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().subjects.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 0)); + "acl[2].subjects.Value()", iter_3, 0)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[0]", iter_3.GetValue(), 12ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 1)); + "acl[2].subjects.Value()", iter_3, 1)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[1]", iter_3.GetValue(), 13ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 2)); + "acl[2].subjects.Value()", iter_3, 2)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[2]", iter_3.GetValue(), 14ULL)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].subjects.Value()", iter_3, 3)); + "acl[2].subjects.Value()", iter_3, 3)); VerifyOrReturn(CheckValue("acl[2].subjects.Value()[3]", iter_3.GetValue(), 15ULL)); VerifyOrReturn(CheckNoMoreListItems("acl[2].subjects.Value()", - iter_3, 4)); + iter_3, 4)); } VerifyOrReturn(CheckValueNonNull("acl[2].targets", iter_0.GetValue().targets)); { auto iter_3 = iter_0.GetValue().targets.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 0)); + "acl[2].targets.Value()", iter_3, 0)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].cluster", iter_3.GetValue().cluster)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[0].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[0].endpoint.Value()", iter_3.GetValue().endpoint.Value(), 16U)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[0].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 1)); + "acl[2].targets.Value()", iter_3, 1)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[1].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[1].cluster.Value()", iter_3.GetValue().cluster.Value(), 17UL)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].endpoint", iter_3.GetValue().endpoint)); VerifyOrReturn(CheckValueNull("acl[2].targets.Value()[1].deviceType", iter_3.GetValue().deviceType)); VerifyOrReturn(CheckNextListItemDecodes( - "acl[2].targets.Value()", iter_3, 2)); + "acl[2].targets.Value()", iter_3, 2)); VerifyOrReturn(CheckValueNonNull("acl[2].targets.Value()[2].cluster", iter_3.GetValue().cluster)); VerifyOrReturn( CheckValue("acl[2].targets.Value()[2].cluster.Value()", iter_3.GetValue().cluster.Value(), 18UL)); @@ -1056,7 +1054,7 @@ class TestAccessControlClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -1152,7 +1150,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1193,7 +1191,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1234,12 +1232,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 3); + listHolder_0->mList, 3); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1276,7 +1274,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1308,7 +1306,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1340,7 +1338,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1379,7 +1377,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1419,12 +1417,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1482,7 +1480,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1618,12 +1616,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 20); + 20); } listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1669,7 +1667,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[0].fabricIndex = 0U; @@ -1710,7 +1708,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[1].fabricIndex = 0U; @@ -1751,7 +1749,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[2].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[2].fabricIndex = 0U; @@ -1792,12 +1790,12 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[3].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 3); + 3); } listHolder_0->mList[3].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1823,7 +1821,7 @@ class TestAccessControlClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -1877,9 +1875,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2052,9 +2048,7 @@ class Test_TC_BOOL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2135,9 +2129,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2282,9 +2274,7 @@ class Test_TC_CC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -2461,9 +2451,7 @@ class Test_TC_CC_2_1Suite : public TestCommand uint32_t FeatureMapValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -3444,9 +3432,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -3702,7 +3688,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -3727,7 +3713,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -3781,7 +3767,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 290ms"); @@ -3835,7 +3821,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 290ms"); @@ -3889,7 +3875,7 @@ class Test_TC_CC_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 290ms"); @@ -3936,7 +3922,7 @@ class Test_TC_CC_3_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -3971,9 +3957,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4229,7 +4213,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4253,7 +4237,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 140ms"); @@ -4306,7 +4290,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 140ms"); @@ -4359,7 +4343,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 140ms"); @@ -4412,7 +4396,7 @@ class Test_TC_CC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 140ms"); @@ -4459,7 +4443,7 @@ class Test_TC_CC_3_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Check on/off attribute value is false after off command"); @@ -4494,9 +4478,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4606,7 +4588,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4631,7 +4613,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 25ms"); @@ -4659,7 +4641,7 @@ class Test_TC_CC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 25ms"); @@ -4680,7 +4662,7 @@ class Test_TC_CC_3_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -4715,9 +4697,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -4838,7 +4818,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -4862,7 +4842,7 @@ class Test_TC_CC_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 6ms"); @@ -4909,7 +4889,7 @@ class Test_TC_CC_4_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check on/off attribute value is false after off command"); @@ -4944,9 +4924,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5292,7 +5270,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5316,7 +5294,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -5369,7 +5347,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -5422,7 +5400,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Wait 40ms"); @@ -5475,7 +5453,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 40ms"); @@ -5528,7 +5506,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Wait 40ms"); @@ -5581,7 +5559,7 @@ class Test_TC_CC_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 40ms"); @@ -5628,7 +5606,7 @@ class Test_TC_CC_4_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check on/off attribute value is false after off command"); @@ -5663,9 +5641,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5775,7 +5751,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -5800,7 +5776,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -5828,7 +5804,7 @@ class Test_TC_CC_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepSaturation::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -5849,7 +5825,7 @@ class Test_TC_CC_4_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -5884,9 +5860,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -5999,7 +5973,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6030,7 +6004,7 @@ class Test_TC_CC_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 10ms"); @@ -6057,7 +6031,7 @@ class Test_TC_CC_4_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6092,9 +6066,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6207,7 +6179,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6238,7 +6210,7 @@ class Test_TC_CC_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 20ms"); @@ -6265,7 +6237,7 @@ class Test_TC_CC_5_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6300,9 +6272,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6438,7 +6408,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6468,7 +6438,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 150ms"); @@ -6499,7 +6469,7 @@ class Test_TC_CC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check current x attribute value matched the value sent by the last command"); @@ -6519,7 +6489,7 @@ class Test_TC_CC_5_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Check on/off attribute value is false after off command"); @@ -6554,9 +6524,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6669,7 +6637,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6700,7 +6668,7 @@ class Test_TC_CC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColor::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 50ms"); @@ -6727,7 +6695,7 @@ class Test_TC_CC_5_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -6762,9 +6730,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -6857,7 +6823,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -6881,7 +6847,7 @@ class Test_TC_CC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveToColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -6902,7 +6868,7 @@ class Test_TC_CC_6_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -6937,9 +6903,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -7201,7 +7165,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7227,7 +7191,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 90ms"); @@ -7282,7 +7246,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 190ms"); @@ -7337,7 +7301,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Stop Color Temperature command"); @@ -7353,7 +7317,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 90ms"); @@ -7408,7 +7372,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Stop Color Temperature command"); @@ -7424,7 +7388,7 @@ class Test_TC_CC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Wait 140ms"); @@ -7471,7 +7435,7 @@ class Test_TC_CC_6_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Check on/off attribute value is false after off command"); @@ -7506,9 +7470,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -7674,7 +7636,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -7701,7 +7663,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 40ms"); @@ -7757,7 +7719,7 @@ class Test_TC_CC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StepColorTemperature::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 40ms"); @@ -7804,7 +7766,7 @@ class Test_TC_CC_6_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check on/off attribute value is false after off command"); @@ -7839,9 +7801,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8100,7 +8060,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8119,7 +8079,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8140,7 +8100,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 290ms"); @@ -8194,7 +8154,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Wait 290ms"); @@ -8248,7 +8208,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Wait 290ms"); @@ -8302,7 +8262,7 @@ class Test_TC_CC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Wait 290ms"); @@ -8349,7 +8309,7 @@ class Test_TC_CC_7_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Check on/off attribute value is false after off command"); @@ -8384,9 +8344,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8578,7 +8536,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8602,7 +8560,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 290ms"); @@ -8655,7 +8613,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8675,7 +8633,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 40ms"); @@ -8728,7 +8686,7 @@ class Test_TC_CC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check EnhancedCurrentHue attribute value matched the value sent by the last command"); @@ -8742,7 +8700,7 @@ class Test_TC_CC_7_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check on/off attribute value is false after off command"); @@ -8777,9 +8735,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -8889,7 +8845,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -8914,7 +8870,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -8942,7 +8898,7 @@ class Test_TC_CC_7_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedStepHue::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 10ms"); @@ -8963,7 +8919,7 @@ class Test_TC_CC_7_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check on/off attribute value is false after off command"); @@ -8998,9 +8954,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -9093,7 +9047,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9118,7 +9072,7 @@ class Test_TC_CC_7_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHueAndSaturation::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 10ms"); @@ -9139,7 +9093,7 @@ class Test_TC_CC_7_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -9174,9 +9128,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -9472,7 +9424,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is true after on command"); @@ -9490,7 +9442,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads CurrentHue attribute from DUT"); @@ -9508,7 +9460,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Reads CurrentHue attribute from DUT"); @@ -9541,7 +9493,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveSaturation::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check Saturation attribute value matched the value sent by the last command"); @@ -9559,7 +9511,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Reads CurrentSaturation attribute from DUT."); @@ -9592,7 +9544,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColor::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Reads CurrentX attribute from DUT"); @@ -9616,7 +9568,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Reads CurrentX attribute from DUT"); @@ -9663,7 +9615,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::MoveColorTemperature::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Reads current color temprature from DUT"); @@ -9681,7 +9633,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reads current color temprature from DUT"); @@ -9714,7 +9666,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveHue::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9732,7 +9684,7 @@ class Test_TC_CC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::StopMoveStep::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Reads EnhancedCurrentHue attribute value from DUT"); @@ -9759,7 +9711,7 @@ class Test_TC_CC_8_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Check on/off attribute value is false after off command"); @@ -9794,9 +9746,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10135,9 +10085,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10316,9 +10264,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10610,9 +10556,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10701,7 +10645,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), EthernetNetworkDiagnostics::Id, EthernetNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the PacketRxCount attribute"); @@ -10762,9 +10706,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -10966,9 +10908,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11093,9 +11033,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11274,9 +11212,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11458,9 +11394,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11611,9 +11545,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -11633,8 +11565,8 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -11896,9 +11828,7 @@ class Test_TC_I_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12077,9 +12007,7 @@ class Test_TC_I_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12174,9 +12102,7 @@ class Test_TC_I_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12283,7 +12209,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH reads immediately IdentifyTime attribute from DUT1"); @@ -12325,7 +12251,7 @@ class Test_TC_I_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH reads immediately IdentifyTime attribute from DUT2"); @@ -12394,9 +12320,7 @@ class Test_TC_I_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12516,7 +12440,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "DUT executes a blink effect"); @@ -12540,7 +12464,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "DUT executes a breathe effect"); @@ -12564,7 +12488,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "DUT executes an okay effect"); @@ -12588,7 +12512,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "DUT executes a channel change effect"); @@ -12612,7 +12536,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "DUT executes a breathe effect"); @@ -12636,7 +12560,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "DUT stops the breathe effect after the current effect sequence"); @@ -12660,7 +12584,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "DUT executes a breathe effect"); @@ -12684,7 +12608,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "DUT stops the breathe effect as soon as possible."); @@ -12708,7 +12632,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Check DUT executes a blink effect."); @@ -12732,7 +12656,7 @@ class Test_TC_I_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Commands::TriggerEffect::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "DUT stops any effect that may be still running as soon as possible"); @@ -12773,9 +12697,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -12940,9 +12862,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13085,9 +13005,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13260,9 +13178,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand uint16_t MinFrequencyValue; uint16_t MaxFrequencyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13509,7 +13425,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 100ms"); @@ -13660,9 +13576,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand chip::app::DataModel::Nullable OffTransitionTimeValue; chip::app::DataModel::Nullable StartUpCurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -13989,9 +13903,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14149,7 +14061,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait 100ms"); @@ -14174,7 +14086,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Wait 100 second"); @@ -14204,7 +14116,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 11000ms"); @@ -14234,7 +14146,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -14259,7 +14171,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 100ms"); @@ -14301,9 +14213,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand uint8_t MaxlevelValue; chip::app::DataModel::Nullable DefaultMoveRateValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14445,7 +14355,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "reads max level attribute from DUT"); @@ -14463,7 +14373,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, @@ -14499,7 +14409,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveWithOnOff::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, @@ -14542,7 +14452,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 100ms"); @@ -14574,7 +14484,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Wait 100ms"); @@ -14615,9 +14525,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentlevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14728,7 +14636,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads current level attribute from DUT"); @@ -14747,7 +14655,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Step::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 4000ms"); @@ -14771,7 +14679,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::StepWithOnOff::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Wait 4000ms"); @@ -14796,7 +14704,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Wait 100ms"); @@ -14837,9 +14745,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand uint8_t MinlevelValue; uint8_t CurrentLevelValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -14968,7 +14874,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevelWithOnOff::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads CurrentLevel attribute from DUT"); @@ -14986,7 +14892,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Wait 5000ms"); @@ -15004,7 +14910,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Physically verify that the device has stopped transitioning"); @@ -15032,7 +14938,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Move::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 5000ms"); @@ -15050,7 +14956,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::Stop::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Physically verify that the device has stopped transitioning"); @@ -15078,7 +14984,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LevelControl::Id, LevelControl::Commands::MoveToLevel::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 100ms"); @@ -15116,9 +15022,7 @@ class Test_TC_MC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15291,9 +15195,7 @@ class Test_TC_MC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15470,9 +15372,7 @@ class Test_TC_MC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15645,9 +15545,7 @@ class Test_TC_MC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15820,9 +15718,7 @@ class Test_TC_MC_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -15984,9 +15880,7 @@ class Test_TC_MC_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16153,9 +16047,7 @@ class Test_TC_MC_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16321,9 +16213,7 @@ class Test_TC_MC_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16495,9 +16385,7 @@ class Test_TC_MC_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16707,9 +16595,7 @@ class Test_TC_MC_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -16878,9 +16764,7 @@ class Test_TC_MC_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17046,9 +16930,7 @@ class Test_TC_MC_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17227,9 +17109,7 @@ class Test_TC_MC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17278,7 +17158,7 @@ class Test_TC_MC_2_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17309,9 +17189,7 @@ class Test_TC_MC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17372,7 +17250,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends CEC Home Keys(0x09) to DUT"); @@ -17383,7 +17261,7 @@ class Test_TC_MC_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17414,9 +17292,7 @@ class Test_TC_MC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17526,7 +17402,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Numbers2"); @@ -17537,7 +17413,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Numbers3"); @@ -17548,7 +17424,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Numbers4"); @@ -17559,7 +17435,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send Numbers5"); @@ -17570,7 +17446,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Numbers6"); @@ -17581,7 +17457,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Numbers7"); @@ -17592,7 +17468,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Send Numbers8"); @@ -17603,7 +17479,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Send Numbers9"); @@ -17614,7 +17490,7 @@ class Test_TC_MC_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17645,9 +17521,7 @@ class Test_TC_MC_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17730,9 +17604,7 @@ class Test_TC_MC_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17820,9 +17692,7 @@ class Test_TC_MC_3_7Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -17891,7 +17761,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH sends a LaunchApp command to DUT to launch an app which is not available"); @@ -17907,7 +17777,7 @@ class Test_TC_MC_3_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -17942,9 +17812,7 @@ class Test_TC_MC_3_8Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18011,7 +17879,7 @@ class Test_TC_MC_3_8Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18051,9 +17919,7 @@ class Test_TC_MC_3_9Suite : public TestCommand chip::Optional mApplicationId; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18119,7 +17985,7 @@ class Test_TC_MC_3_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the Status attribute"); @@ -18155,9 +18021,7 @@ class Test_TC_MC_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18238,9 +18102,7 @@ class Test_TC_MC_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18312,7 +18174,7 @@ class Test_TC_MC_3_11Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Read current input list"); @@ -18349,9 +18211,7 @@ class Test_TC_MC_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18417,7 +18277,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Show Input Status Command"); @@ -18427,7 +18287,7 @@ class Test_TC_MC_3_12Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -18458,9 +18318,7 @@ class Test_TC_MC_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18529,7 +18387,7 @@ class Test_TC_MC_3_13Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH reads the InputList attribute from the DUT to show list of Inputs available"); @@ -18570,9 +18428,7 @@ class Test_TC_MC_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18659,9 +18515,7 @@ class Test_TC_MC_5_2Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18738,7 +18592,7 @@ class Test_TC_MC_5_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the channel has changed on the device"); @@ -18746,7 +18600,7 @@ class Test_TC_MC_5_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18790,9 +18644,7 @@ class Test_TC_MC_5_3Suite : public TestCommand chip::Optional mMinornumber; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -18883,7 +18735,7 @@ class Test_TC_MC_5_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the channel has changed on the device"); @@ -18891,7 +18743,7 @@ class Test_TC_MC_5_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); + "Please enter 'y' if channel has changed on the devicegarbage: not in length on purpose", 53); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -18931,9 +18783,7 @@ class Test_TC_MC_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19055,7 +18905,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute"); @@ -19071,7 +18921,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19098,7 +18948,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is paused"); @@ -19124,7 +18974,7 @@ class Test_TC_MC_6_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Verify that the media is stoped"); @@ -19172,9 +19022,7 @@ class Test_TC_MC_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19332,7 +19180,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19348,7 +19196,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that the media state is playing"); @@ -19375,7 +19223,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that the media is started over"); @@ -19396,7 +19244,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that the next media item in the queue has been loaded"); @@ -19404,7 +19252,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); + "Please enter 'y' if media item in the queue has been loadedgarbage: not in length on purpose", 59); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19417,7 +19265,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that the previous media item in the queue has been loaded"); @@ -19425,7 +19273,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); + "Please enter 'y' if previous media item in the queue has been loadedgarbage: not in length on purpose", 68); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19439,7 +19287,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that the media has skipped forward 10 seconds"); @@ -19447,7 +19295,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); + "Please enter 'y' if media has skipped forward 10 secondsgarbage: not in length on purpose", 56); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19467,7 +19315,7 @@ class Test_TC_MC_6_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Verify that the media has skipped backward 10 seconds"); @@ -19475,7 +19323,7 @@ class Test_TC_MC_6_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); + "Please enter 'y' if media has skipped backward 10 secondsgarbage: not in length on purpose", 57); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19517,9 +19365,7 @@ class Test_TC_MC_6_3Suite : public TestCommand chip::Optional mSeekPosition; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19617,7 +19463,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Sends a Seek command"); @@ -19628,7 +19474,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Verify that the media has moved to 10 seconds from the starting point"); @@ -19636,7 +19482,7 @@ class Test_TC_MC_6_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); + "Please enter 'y' if media has moved to 10 seconds from the starting pointgarbage: not in length on purpose", 73); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -19696,7 +19542,7 @@ class Test_TC_MC_6_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -19727,9 +19573,7 @@ class Test_TC_MC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -19895,7 +19739,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads the CurrentState attribute from the DUT"); @@ -19917,7 +19761,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Reads the CurrentState attribute"); @@ -19939,7 +19783,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Reads the PlaybackSpeed attribute from the DUT"); @@ -19955,7 +19799,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Reads the CurrentState attribute"); @@ -19982,7 +19826,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Reads the PlaybackSpeed attribute from the DUT"); @@ -20003,7 +19847,7 @@ class Test_TC_MC_6_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Reads the PlaybackSpeed attribute from the DUT"); @@ -20060,9 +19904,7 @@ class Test_TC_MC_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20134,7 +19976,7 @@ class Test_TC_MC_7_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Reads the CurrentOutput attribute"); @@ -20173,9 +20015,7 @@ class Test_TC_MC_7_2Suite : public TestCommand chip::app::DataModel::DecodableList audioOutputListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20245,7 +20085,7 @@ class Test_TC_MC_7_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, @@ -20294,9 +20134,7 @@ class Test_TC_MC_8_1Suite : public TestCommand chip::app::DataModel::DecodableList TargetListValues; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20387,7 +20225,7 @@ class Test_TC_MC_8_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads the CurrentTarget attribute"); @@ -20424,9 +20262,7 @@ class Test_TC_MC_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20609,9 +20445,7 @@ class Test_TC_MC_10_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20706,9 +20540,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20880,9 +20712,7 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -20926,8 +20756,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -20942,8 +20772,8 @@ class Test_TC_MF_1_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21010,11 +20840,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -21022,7 +20852,7 @@ class Test_TC_MF_1_3Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21121,9 +20951,7 @@ class Test_TC_MF_1_4Suite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21166,8 +20994,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21182,8 +21010,8 @@ class Test_TC_MF_1_4Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -21249,7 +21077,7 @@ class Test_TC_MF_1_4Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE"); @@ -21361,9 +21189,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::Optional mDownloadImageFilePath; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21516,12 +21342,12 @@ class OTA_SuccessfulTransferSuite : public TestCommand listHolder_0->mList[1].targets.Value() = chip::app::DataModel::List(listHolder_3->mList, - 1); + 1); } listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -21538,7 +21364,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::Start::Type value; value.otaDownloadPath.Emplace(); value.otaDownloadPath.Value() = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return Start(kIdentityAlpha, value); } case 7: { @@ -21559,7 +21385,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OtaSoftwareUpdateRequestor::Id, OtaSoftwareUpdateRequestor::Commands::AnnounceOtaProvider::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Wait for transfer complete message"); @@ -21576,7 +21402,7 @@ class OTA_SuccessfulTransferSuite : public TestCommand chip::app::Clusters::SystemCommands::Commands::CompareFiles::Type value; value.file1 = mRawImageFilePath.HasValue() ? mRawImageFilePath.Value() : chip::Span("/tmp/rawImage", 13); value.file2 = mDownloadImageFilePath.HasValue() ? mDownloadImageFilePath.Value() - : chip::Span("/tmp/downloadedImage", 20); + : chip::Span("/tmp/downloadedImage", 20); return CompareFiles(kIdentityAlpha, value); } } @@ -21608,9 +21434,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -21774,9 +21598,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22036,9 +21858,7 @@ class Test_TC_OO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22233,9 +22053,7 @@ class Test_TC_OO_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22382,9 +22200,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22548,7 +22364,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Check on/off attribute value is false after off command"); @@ -22560,7 +22376,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check on/off attribute value is true after on command"); @@ -22572,7 +22388,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check on/off attribute value is true after on command"); @@ -22584,7 +22400,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Check on/off attribute value is false after off command"); @@ -22596,7 +22412,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Check on/off attribute value is false after off command"); @@ -22608,7 +22424,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Wait 1000ms"); @@ -22627,7 +22443,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Toggle::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Toggle::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Wait 1000ms"); @@ -22676,7 +22492,7 @@ class Test_TC_OO_2_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Check on/off attribute value is false after off command"); @@ -22711,9 +22527,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -22895,7 +22709,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH writes a value of 0 to StartUpOnOff attribute of DUT"); @@ -23083,7 +22897,7 @@ class Test_TC_OO_2_4Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Reboot target device"); @@ -23143,9 +22957,7 @@ class Test_TC_PS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -23313,9 +23125,7 @@ class Test_TC_PS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -23833,9 +23643,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24001,9 +23809,7 @@ class Test_TC_PRS_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24214,9 +24020,7 @@ class Test_TC_PCC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24384,9 +24188,7 @@ class Test_TC_PCC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -24885,9 +24687,7 @@ class Test_TC_PCC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25035,9 +24835,7 @@ class Test_TC_PCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25293,9 +25091,7 @@ class Test_TC_PCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25536,9 +25332,7 @@ class Test_TC_PSCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25697,9 +25491,7 @@ class Test_TC_RH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -25864,9 +25656,7 @@ class Test_TC_RH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26015,9 +25805,7 @@ class Test_TC_SC_4_2Suite : public TestCommand char * deviceInstanceNameBeforeReboot1Buffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot1; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26524,7 +26312,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check Instance Name"); @@ -26688,7 +26476,7 @@ class Test_TC_SC_4_2Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Instance Name"); @@ -26828,8 +26616,8 @@ class Test_TC_SC_4_2Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( - "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", - 76); + "Please enter 'y' if TH adds an unknown key/value pair in the advertised datagarbage: not in length on purpose", + 76); value.expectedValue.Emplace(); value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); return UserPrompt(kIdentityAlpha, value); @@ -26873,9 +26661,7 @@ class Test_TC_SWTCH_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -26988,9 +26774,7 @@ class Test_TC_TM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27152,9 +26936,7 @@ class Test_TC_TM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27283,9 +27065,7 @@ class Test_TC_TSTAT_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -27446,9 +27226,7 @@ class Test_TC_TSTAT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -28308,9 +28086,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29441,7 +29217,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29461,7 +29237,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Reads back OccupiedHeatingSetpoint to confirm the success of the write"); @@ -29491,7 +29267,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29521,7 +29297,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29551,7 +29327,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29587,7 +29363,7 @@ class Test_TC_TSTAT_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Thermostat::Id, Thermostat::Commands::SetpointRaiseLower::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Reads back OccupiedCoolingSetpoint to confirm the success of the write"); @@ -29632,9 +29408,7 @@ class Test_TC_TSUIC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29801,9 +29575,7 @@ class Test_TC_TSUIC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -29920,9 +29692,7 @@ class Test_TC_TSUIC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -30486,9 +30256,7 @@ class Test_TC_DIAG_TH_NW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -31454,9 +31222,7 @@ class Test_TC_DIAG_TH_NW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -31745,9 +31511,7 @@ class Test_TC_DIAG_TH_NW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32037,9 +31801,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32095,7 +31857,7 @@ class Test_TC_DIAG_TH_NW_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Read the Overruncount attribute"); @@ -32131,9 +31893,7 @@ class Test_TC_ULABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32306,9 +32066,7 @@ class Test_TC_ULABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32439,9 +32197,7 @@ class Test_TC_ULABEL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32554,9 +32310,7 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32703,9 +32457,7 @@ class Test_TC_ULABEL_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32785,9 +32537,7 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -32807,8 +32557,8 @@ class Test_TC_DGWIFI_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> - value; + chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -33036,9 +32786,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33135,7 +32883,7 @@ class Test_TC_DGWIFI_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Commands::ResetCounts::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads BeaconLostCount attribute from DUT"); @@ -33202,9 +32950,7 @@ class Test_TC_WNCV_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33377,9 +33123,7 @@ class Test_TC_WNCV_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33810,9 +33554,7 @@ class Test_TC_WNCV_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -33914,9 +33656,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand chip::BitMask configStatusValA; chip::BitMask configStatusValB; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34102,7 +33842,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "2d: TH clear the Mode Attribute bit1 of the DUT"); @@ -34133,7 +33873,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "3a: TH set the Mode Attribute bit2 of the DUT"); @@ -34152,7 +33892,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "3c: TH reads ConfigStatus attribute from DUT"); @@ -34177,7 +33917,7 @@ class Test_TC_WNCV_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "3f: TH reads ConfigStatus attribute from DUT"); @@ -34214,9 +33954,7 @@ class Test_TC_WNCV_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34297,9 +34035,7 @@ class Test_TC_WNCV_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34382,9 +34118,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -34608,7 +34342,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -34655,7 +34389,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -34727,7 +34461,7 @@ class Test_TC_WNCV_3_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -34790,9 +34524,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35016,7 +34748,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 10 seconds movement(s) on the device"); @@ -35063,7 +34795,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2b: DUT updates its attributes"); @@ -35135,7 +34867,7 @@ class Test_TC_WNCV_3_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "4b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35201,9 +34933,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLift; chip::app::DataModel::Nullable attrCurrentPositionTilt; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35353,7 +35083,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for 6-8 seconds movement(s) on the device"); @@ -35370,7 +35100,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "1d: TH Waits for 2 seconds movement(s) on the device"); @@ -35393,7 +35123,7 @@ class Test_TC_WNCV_3_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH waits for 3 seconds the end of inertial movement(s) on the device"); @@ -35483,9 +35213,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35589,7 +35317,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35606,7 +35334,7 @@ class Test_TC_WNCV_3_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35678,9 +35406,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -35784,7 +35510,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH Waits for fastMotionDuration seconds movement(s) on the device"); @@ -35801,7 +35527,7 @@ class Test_TC_WNCV_3_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "2b: TH Waits for fullMotionDuration seconds movement(s) on the device"); @@ -35871,9 +35597,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36026,7 +35750,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36050,7 +35774,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36099,7 +35823,7 @@ class Test_TC_WNCV_4_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36170,9 +35894,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand chip::Optional mFullMotionDuration; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36325,7 +36047,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::DownOrClose::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1b: TH waits for x seconds movement(s) on the DUT"); @@ -36349,7 +36071,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "2b: DUT updates its attributes"); @@ -36398,7 +36120,7 @@ class Test_TC_WNCV_4_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "4b: DUT updates its attributes"); @@ -36469,9 +36191,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36565,7 +36285,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToLiftPercentage command with 10001 to DUT"); @@ -36577,7 +36297,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToLiftPercentage command with 0xFFFF to DUT"); @@ -36589,7 +36309,7 @@ class Test_TC_WNCV_4_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36622,9 +36342,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36718,7 +36436,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "3a: TH sends GoToTiltPercentage command with 10001 to DUT"); @@ -36730,7 +36448,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "4a: TH sends GoToTiltPercentage command with 0xFFFF to DUT"); @@ -36742,7 +36460,7 @@ class Test_TC_WNCV_4_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -36776,9 +36494,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand chip::app::DataModel::Nullable attrCurrentPositionLiftPercent100ths; chip::app::DataModel::Nullable attrCurrentPositionTiltPercent100ths; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -36920,7 +36636,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::UpOrOpen::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "1a: If (PA_LF & LF) TH sends GoToLiftPercentage command with 90%% to DUT"); @@ -36931,7 +36647,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToLiftPercentage::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "1b: TH Waits for 100ms-1s"); @@ -36948,7 +36664,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "1d: TH Waits for 100ms-1s"); @@ -36966,7 +36682,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::GoToTiltPercentage::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "2b: TH Waits for 100ms-1s"); @@ -36983,7 +36699,7 @@ class Test_TC_WNCV_4_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), WindowCovering::Id, WindowCovering::Commands::StopMotion::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "2d: TH Waits for 100ms-1s"); @@ -37071,9 +36787,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37169,7 +36883,7 @@ class TV_TargetNavigatorClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TargetNavigator::Id, TargetNavigator::Commands::NavigateTarget::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37201,9 +36915,7 @@ class TV_AudioOutputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37320,7 +37032,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::SelectOutput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Rename Output Command"); @@ -37331,7 +37043,7 @@ class TV_AudioOutputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), AudioOutput::Id, AudioOutput::Commands::RenameOutput::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read attribute Audio Output list"); @@ -37368,9 +37080,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37405,7 +37115,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::Nullable - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueNull("currentApp", value)); } @@ -37485,7 +37195,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::LaunchApp::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Stop App Command"); @@ -37498,7 +37208,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::StopApp::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Hide App Command"); @@ -37511,7 +37221,7 @@ class TV_ApplicationLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ApplicationLauncher::Id, ApplicationLauncher::Commands::HideApp::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37543,9 +37253,7 @@ class TV_KeypadInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37599,7 +37307,7 @@ class TV_KeypadInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), KeypadInput::Id, KeypadInput::Commands::SendKey::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37631,9 +37339,7 @@ class TV_AccountLoginClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37693,7 +37399,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::GetSetupPIN::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Login Command"); @@ -37704,7 +37410,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Login::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Logout Command"); @@ -37713,7 +37419,7 @@ class TV_AccountLoginClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), AccountLogin::Id, AccountLogin::Commands::Logout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -37745,9 +37451,7 @@ class TV_WakeOnLanClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -37828,9 +37532,7 @@ class TV_ApplicationBasicClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38011,9 +37713,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38310,7 +38010,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Play::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Media Playback Pause Command"); @@ -38319,7 +38019,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Pause::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Media Playback Stop Command"); @@ -38328,7 +38028,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StopPlayback::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Media Playback Start Over Command"); @@ -38337,7 +38037,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::StartOver::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Media Playback Previous Command"); @@ -38346,7 +38046,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Previous::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Media Playback Next Command"); @@ -38355,7 +38055,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Next::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Media Playback Rewind Command"); @@ -38364,7 +38064,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Rewind::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Media Playback Fast Forward Command"); @@ -38373,7 +38073,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::FastForward::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Media Playback Skip Forward Command"); @@ -38383,7 +38083,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipForward::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read attribute position after skip forward"); @@ -38398,7 +38098,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::SkipBackward::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read attribute position after skip backward"); @@ -38413,7 +38113,7 @@ class TV_MediaPlaybackClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(3), MediaPlayback::Id, MediaPlayback::Commands::Seek::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read attribute position after seek"); @@ -38449,9 +38149,7 @@ class TV_ChannelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38624,7 +38322,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannel::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Change Channel By Number Command"); @@ -38635,7 +38333,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::ChangeChannelByNumber::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Skip Channel Command"); @@ -38645,7 +38343,7 @@ class TV_ChannelClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Channel::Id, Channel::Commands::SkipChannel::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38676,9 +38374,7 @@ class TV_LowPowerClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38726,7 +38422,7 @@ class TV_LowPowerClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), LowPower::Id, LowPower::Commands::Sleep::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -38758,9 +38454,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -38880,7 +38574,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand value.search.parameterList = chip::app::DataModel::List(listHolder_1->mList, - 1); + 1); } value.autoPlay = true; @@ -38889,7 +38583,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchContent::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Launch URL Command"); @@ -38980,7 +38674,7 @@ class TV_ContentLauncherClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ContentLauncher::Id, ContentLauncher::Commands::LaunchURL::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -39012,9 +38706,7 @@ class TV_MediaInputClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -39136,7 +38828,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::SelectInput::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Hide Input Status Command"); @@ -39145,7 +38837,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::HideInputStatus::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Show Input Status Command"); @@ -39154,7 +38846,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::ShowInputStatus::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Rename Input Command"); @@ -39165,7 +38857,7 @@ class TV_MediaInputClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), MediaInput::Id, MediaInput::Commands::RenameInput::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read attribute media input list"); @@ -39221,9 +38913,7 @@ class TestClusterSuite : public TestCommand char * nullableCharStringSaveBuffer = nullptr; chip::app::DataModel::Nullable nullableCharStringSave; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -39950,13 +39640,13 @@ class TestClusterSuite : public TestCommand chip::ByteSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longOctetString", value, - chip::ByteSpan( - chip::Uint8::from_const_char( - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), - 300))); + "longOctetString", value, + chip::ByteSpan( + chip::Uint8::from_const_char( + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), + 300))); } break; case 122: @@ -40012,12 +39702,12 @@ class TestClusterSuite : public TestCommand chip::CharSpan value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckValueAsString( - "longCharString", value, - chip::CharSpan( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", - 900))); + "longCharString", value, + chip::CharSpan( + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉", + 900))); } break; case 132: @@ -40032,48 +39722,48 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 4)); } } @@ -40090,59 +39780,59 @@ class TestClusterSuite : public TestCommand auto iter_0 = value.begin(); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 0)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[0]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[0]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 1)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[1]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[1]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 2)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[2]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[2]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 3)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[3]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[3]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNextListItemDecodes("listLongOctetString", iter_0, 4)); VerifyOrReturn(CheckValueAsString( - "listLongOctetString[4]", iter_0.GetValue(), - chip::ByteSpan(chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" - "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" - "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" - "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" - "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), - 512))); + "listLongOctetString[4]", iter_0.GetValue(), + chip::ByteSpan(chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456" + "789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234" + "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012" + "3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"), + 512))); VerifyOrReturn(CheckNoMoreListItems("listLongOctetString", iter_0, 5)); } } @@ -40471,7 +40161,7 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40525,8 +40215,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40549,8 +40239,8 @@ class TestClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> - value; + chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -40565,15 +40255,15 @@ class TestClusterSuite : public TestCommand { auto iter_3 = iter_0.GetValue().nullableList.Value().begin(); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 0)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[0]", iter_3.GetValue(), 1U)); VerifyOrReturn(CheckNextListItemDecodes( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 1)); VerifyOrReturn( CheckValue("listNullablesAndOptionalsStruct[0].nullableList.Value()[1]", iter_3.GetValue(), 2U)); VerifyOrReturn(CheckNoMoreListItems( - "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); + "listNullablesAndOptionalsStruct[0].nullableList.Value()", iter_3, 2)); } VerifyOrReturn(CheckNoMoreListItems("listNullablesAndOptionalsStruct", iter_0, 1)); } @@ -42557,7 +42247,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Not Handled Command"); @@ -42566,7 +42256,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNotHandled::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Specific Command"); @@ -42575,7 +42265,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSpecific::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send Test Add Arguments Command"); @@ -42586,7 +42276,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Send failing Test Add Arguments Command"); @@ -42597,7 +42287,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read attribute BOOLEAN Default Value"); @@ -43318,11 +43008,11 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::ByteSpan value; value = chip::ByteSpan( - chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" - "111111111111111111111111111111111111111111111garbage: not in length on purpose"), - 300); + chip::Uint8::from_const_char("1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111" + "111111111111111111111111111111111111111111111garbage: not in length on purpose"), + 300); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongOctetString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43388,10 +43078,10 @@ class TestClusterSuite : public TestCommand ListFreer listFreer; chip::CharSpan value; value = chip::Span( - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" - "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", - 900); + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" + "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉garbage: not in length on purpose", + 900); return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::LongCharString::Id, value, chip::NullOptional, chip::NullOptional); } @@ -43422,50 +43112,50 @@ class TestClusterSuite : public TestCommand auto * listHolder_0 = new ListHolder(5); listFreer.add(listHolder_0); listHolder_0->mList[0] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[1] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[2] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[3] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); listHolder_0->mList[4] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" - "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" - "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " - "length on purpose"), - 512); + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" + "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in " + "length on purpose"), + 512); value = chip::app::DataModel::List(listHolder_0->mList, 5); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListLongOctetString::Id, @@ -43558,7 +43248,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(200), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 149: { LogStep(149, "Send Test Command to unsupported cluster"); @@ -43567,7 +43257,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::NullOptional - ); + ); } case 150: { LogStep(150, "Read attribute vendor_id Default Value"); @@ -43604,7 +43294,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEnumsRequest::Id, value, chip::NullOptional - ); + ); } case 155: { LogStep(155, "Send Test Command With Struct Argument and arg1.b is true"); @@ -43623,7 +43313,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 156: { LogStep(156, "Send Test Command With Struct Argument and arg1.b is false"); @@ -43642,7 +43332,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 157: { LogStep(157, "Send Test Command With Nested Struct Argument and arg1.c.b is true"); @@ -43664,7 +43354,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 158: { LogStep(158, "Send Test Command With Nested Struct Argument arg1.c.b is false"); @@ -43686,7 +43376,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 159: { LogStep(159, "Send Test Command With Nested Struct List Argument and all fields b of arg1.d are true"); @@ -43730,7 +43420,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43765,7 +43455,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 160: { LogStep(160, "Send Test Command With Nested Struct List Argument and some fields b of arg1.d are false"); @@ -43809,7 +43499,7 @@ class TestClusterSuite : public TestCommand listHolder_1->mList[1].h = 0; value.arg1.d = chip::app::DataModel::List( - listHolder_1->mList, 2); + listHolder_1->mList, 2); } { @@ -43844,7 +43534,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 161: { LogStep(161, "Send Test Command With Struct Argument and see what we get back"); @@ -43863,7 +43553,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::SimpleStructEchoRequest::Id, value, chip::NullOptional - ); + ); } case 162: { LogStep(162, "Send Test Command With List of INT8U and none of them is set to 0"); @@ -43887,7 +43577,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 163: { LogStep(163, "Send Test Command With List of INT8U and one of them is set to 0"); @@ -43912,7 +43602,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 164: { LogStep(164, "Send Test Command With List of INT8U and get it reversed"); @@ -43936,7 +43626,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 165: { LogStep(165, "Send Test Command With empty List of INT8U and get an empty list back"); @@ -43947,7 +43637,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListInt8UReverseRequest::Id, value, chip::NullOptional - ); + ); } case 166: { LogStep(166, "Send Test Command With List of Struct Argument and arg1.b of first item is true"); @@ -43979,12 +43669,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 167: { LogStep(167, "Send Test Command With List of Struct Argument and arg1.b of first item is false"); @@ -44016,12 +43706,12 @@ class TestClusterSuite : public TestCommand listHolder_0->mList[1].h = 0; value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListStructArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 168: { LogStep(168, @@ -44105,12 +43795,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 169: { LogStep(169, "Send Test Command With Nested Struct List Argument and some fields b of elements of arg1.d are false"); @@ -44193,12 +43883,12 @@ class TestClusterSuite : public TestCommand } value.arg1 = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestListNestedStructListArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 170: { LogStep(170, "Write attribute LIST With List of INT8U and none of them is set to 0"); @@ -44270,7 +43960,7 @@ class TestClusterSuite : public TestCommand chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); value = chip::app::DataModel::List( - listHolder_0->mList, 4); + listHolder_0->mList, 4); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListStructOctetString::Id, value, chip::NullOptional, @@ -44291,7 +43981,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 177: { LogStep(177, "Send Test Command without its optional arg."); @@ -44300,7 +43990,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 178: { LogStep(178, "Read list of structs containing nullables and optionals"); @@ -44332,7 +44022,7 @@ class TestClusterSuite : public TestCommand } value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Attributes::ListNullablesAndOptionalsStruct::Id, value, chip::NullOptional, @@ -45597,7 +45287,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 373: { LogStep(373, "Send a command that takes an optional parameter but do not set it."); @@ -45608,7 +45298,7 @@ class TestClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestSimpleOptionalArgumentRequest::Id, value, chip::NullOptional - ); + ); } case 374: { LogStep(374, "Subscribe to list attribute"); @@ -46498,9 +46188,7 @@ class TestClusterComplexTypesSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -46653,7 +46341,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestNullableOptionalRequest::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send command that needs timed invoke without a timeout value"); @@ -46662,7 +46350,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::NullOptional, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send command that needs timed invoke with a long timeout value"); @@ -46671,7 +46359,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Send command that needs timed invoke with a too-short timeout value"); @@ -46681,7 +46369,7 @@ class TestClusterComplexTypesSuite : public TestCommand TestCluster::Commands::TimedInvokeRequest::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46693,7 +46381,7 @@ class TestClusterComplexTypesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send command that does not need timed invoke with a too-short timeout value"); @@ -46702,7 +46390,7 @@ class TestClusterComplexTypesSuite : public TestCommand ReturnErrorOnFailure(SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::Test::Id, value, chip::Optional(1), chip::NullOptional - )); + )); using namespace chip::System::Clock::Literals; return BusyWaitFor(100_ms); @@ -46835,9 +46523,7 @@ class TestConstraintsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47223,9 +46909,7 @@ class TestDelayCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47305,9 +46989,7 @@ class TestEventsSuite : public TestCommand uint64_t eventNumber; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47534,7 +47216,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read the event back"); @@ -47564,7 +47246,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read the event back"); @@ -47588,7 +47270,7 @@ class TestEventsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestEmitTestEventRequest::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check for event report"); @@ -47640,9 +47322,7 @@ class TestDiscoverySuite : public TestCommand char * deviceInstanceNameBeforeRebootBuffer = nullptr; chip::CharSpan deviceInstanceNameBeforeReboot; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -47927,7 +47607,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Open Commissioning Window with too-long timeout"); @@ -47938,7 +47618,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Open Commissioning Window"); @@ -47949,7 +47629,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check Instance Name"); @@ -48089,7 +47769,7 @@ class TestDiscoverySuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Check Instance Name"); @@ -48126,9 +47806,7 @@ class TestLogCommandsSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -48267,9 +47945,7 @@ class TestSaveAsSuite : public TestCommand uint8_t * readAttributeOctetStringNotDefaultValueBuffer = nullptr; chip::ByteSpan readAttributeOctetStringNotDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -49055,7 +48731,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49066,7 +48742,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Send Test Add Arguments Command"); @@ -49077,7 +48753,7 @@ class TestSaveAsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read attribute BOOLEAN Default Value"); @@ -49771,9 +49447,7 @@ class TestConfigVariablesSuite : public TestCommand uint8_t TestAddArgumentDefaultValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -49839,7 +49513,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Send Test Add Arguments Command"); @@ -49850,7 +49524,7 @@ class TestConfigVariablesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), TestCluster::Id, TestCluster::Commands::TestAddArguments::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -49882,9 +49556,7 @@ class TestDescriptorClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50077,9 +49749,7 @@ class TestBasicInformationSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50408,9 +50078,7 @@ class TestGeneralCommissioningSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50711,7 +50379,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Check Breadcrumb was not touched by invalid CommissioningComplete"); @@ -50727,7 +50395,7 @@ class TestGeneralCommissioningSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Try to arm fail-safe"); @@ -50738,7 +50406,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Check Breadcrumb was not touched by ArmFailSafe with commissioning window open"); @@ -50777,7 +50445,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Check Breadcrumb was properly set by ArmFailSafe"); @@ -50793,7 +50461,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Check Breadcrumb was not touched by ArmFailSafe with existing fail-safe armed"); @@ -50807,7 +50475,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityBeta, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Check Breadcrumb was not touched by CommissioningComplete from wrong fabric"); @@ -50821,7 +50489,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::CommissioningComplete::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Check Breadcrumb was reset to 0 by CommissioningComplete"); @@ -50837,7 +50505,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Check Breadcrumb was set by arming fail-safe again"); @@ -50853,7 +50521,7 @@ class TestGeneralCommissioningSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check Breadcrumb was reset by expiring the fail-safe"); @@ -50895,9 +50563,7 @@ class TestIdentifyClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -50946,7 +50612,7 @@ class TestIdentifyClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), Identify::Id, Identify::Commands::Identify::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -50980,9 +50646,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51038,8 +50702,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51065,8 +50729,8 @@ class TestOperationalCredentialsClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51122,7 +50786,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Read fabric list before setting label"); @@ -51137,7 +50801,7 @@ class TestOperationalCredentialsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateFabricLabel::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Read fabric list after setting label"); @@ -51177,9 +50841,7 @@ class TestModeSelectClusterSuite : public TestCommand uint8_t currentModeBeforeToggle; chip::app::DataModel::Nullable OnModeValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51216,7 +50878,7 @@ class TestModeSelectClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -51227,9 +50889,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[0].semanticTags", iter_2, 0)); + "supportedModes[0].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[0].semanticTags", iter_2, 1)); + "supportedModes[0].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 1)); VerifyOrReturn( @@ -51238,9 +50900,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[1].semanticTags", iter_2, 0)); + "supportedModes[1].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[1].semanticTags", iter_2, 1)); + "supportedModes[1].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNextListItemDecodes("supportedModes", iter_0, 2)); VerifyOrReturn( @@ -51249,9 +50911,9 @@ class TestModeSelectClusterSuite : public TestCommand { auto iter_2 = iter_0.GetValue().semanticTags.begin(); VerifyOrReturn(CheckNextListItemDecodes( - "supportedModes[2].semanticTags", iter_2, 0)); + "supportedModes[2].semanticTags", iter_2, 0)); VerifyOrReturn(CheckNoMoreListItems( - "supportedModes[2].semanticTags", iter_2, 1)); + "supportedModes[2].semanticTags", iter_2, 1)); } VerifyOrReturn(CheckNoMoreListItems("supportedModes", iter_0, 3)); } @@ -51462,7 +51124,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Verify Current Mode Change"); @@ -51477,7 +51139,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Toggle OnOff"); @@ -51485,7 +51147,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Toggle OnOff"); @@ -51493,7 +51155,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Verify Current Mode does not change when OnMode is null"); @@ -51529,7 +51191,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Toggle OnOff"); @@ -51537,7 +51199,7 @@ class TestModeSelectClusterSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Verify Current Mode Changes if OnMode is not null"); @@ -51575,7 +51237,7 @@ class TestModeSelectClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ModeSelect::Id, ModeSelect::Commands::ChangeToMode::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Change On Mode"); @@ -51671,9 +51333,7 @@ class TestSelfFabricRemovalSuite : public TestCommand chip::FabricIndex ourFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -51755,7 +51415,7 @@ class TestSelfFabricRemovalSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -51788,9 +51448,7 @@ class TestSystemCommandsSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52116,9 +51774,7 @@ class TestBindingSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52394,9 +52050,7 @@ class TestUserLabelClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52571,9 +52225,7 @@ class TestArmFailSafeSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -52597,8 +52249,8 @@ class TestArmFailSafeSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -52679,7 +52331,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GeneralCommissioning::Id, GeneralCommissioning::Commands::ArmFailSafe::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Reads NodeLabel mandatory attribute of target device"); @@ -52694,7 +52346,7 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddTrustedRootCertificate::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Invoke AddNOC without fail-safe"); @@ -52702,15 +52354,15 @@ class TestArmFailSafeSuite : public TestCommand chip::app::Clusters::OperationalCredentials::Commands::AddNOC::Type value; value.NOCValue = chip::ByteSpan(chip::Uint8::from_const_char("00112233garbage: not in length on purpose"), 8); value.IPKValue = chip::ByteSpan( - chip::Uint8::from_const_char( - "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 16); value.caseAdminSubject = 1234ULL; value.adminVendorId = static_cast(65521); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::AddNOC::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Invoke UpdateNOC without fail-safe"); @@ -52720,20 +52372,20 @@ class TestArmFailSafeSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::UpdateNOC::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Invoke CSRRequest without fail-safe"); ListFreer listFreer; chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::Type value; value.CSRNonce = chip::ByteSpan( - chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" - "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), - 32); + chip::Uint8::from_const_char("\000\001\002\003\004\005\006\007\000\001\002\003\004\005\006\007\000\001\002\003\004" + "\005\006\007\000\001\002\003\004\005\006\007garbage: not in length on purpose"), + 32); return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, OperationalCredentials::Commands::CSRRequest::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -52764,9 +52416,7 @@ class TestFanControlSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53157,9 +52807,7 @@ class TestMultiAdminSuite : public TestCommand char * readFromAlphaBuffer = nullptr; chip::CharSpan readFromAlpha; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53200,8 +52848,8 @@ class TestMultiAdminSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -53318,7 +52966,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from alpha again"); @@ -53341,7 +52989,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Open Commissioning Window from alpha again"); @@ -53352,7 +53000,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Commission from beta"); @@ -53378,7 +53026,7 @@ class TestMultiAdminSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "Commission from gamma"); @@ -53450,9 +53098,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53472,7 +53118,7 @@ class Test_TC_DGSW_2_1Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53576,9 +53222,7 @@ class Test_TC_DGSW_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53650,9 +53294,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53675,7 +53317,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList - value; + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "", "list")); } @@ -53726,7 +53368,7 @@ class Test_TC_DGSW_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), SoftwareDiagnostics::Id, SoftwareDiagnostics::Commands::ResetWatermarks::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Reads a list of ThreadMetrics struct attribute from DUT."); @@ -53776,9 +53418,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -53857,7 +53497,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Subscribe OnOff Attribute"); @@ -53870,7 +53510,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Check for attribute report"); @@ -53882,7 +53522,7 @@ class TestSubscribe_OnOffSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Check for attribute report"); @@ -53922,9 +53562,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand uint16_t NumberOfPINUsersSupported; uint16_t NumberOfRFIDUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -55689,7 +55327,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users and verify default value"); @@ -55704,7 +55342,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Read fails for user with index greater than Number Of Users Supported"); @@ -55714,7 +55352,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Create new user with default parameters"); @@ -55730,7 +55368,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read the user back and verify its fields"); @@ -55740,7 +55378,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Set user at the occupied index fails with appropriate response"); @@ -55756,7 +55394,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "Modify userName for existing user"); @@ -55773,7 +55411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Read the modified user back and verify its fields"); @@ -55783,7 +55421,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Modify userUniqueId for existing user"); @@ -55800,7 +55438,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read the modified user back and verify its fields"); @@ -55810,7 +55448,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Modify userStatus for existing user"); @@ -55827,7 +55465,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Read the modified user back and verify its fields"); @@ -55837,7 +55475,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Modify userType for existing user"); @@ -55854,7 +55492,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Read the modified user back and verify its fields"); @@ -55864,7 +55502,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Modify credentialRule for existing user"); @@ -55881,7 +55519,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 17: { LogStep(17, "Read the modified user back and verify its fields"); @@ -55891,7 +55529,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Modify all fields for existing user"); @@ -55912,7 +55550,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read the modified user back and verify its fields"); @@ -55922,7 +55560,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Add another user with non-default fields"); @@ -55943,7 +55581,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Read the new user back and verify its fields"); @@ -55953,7 +55591,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Create user in the last slot"); @@ -55970,7 +55608,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 23: { LogStep(23, "Read the last user back and verify its fields"); @@ -55980,7 +55618,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "User creation in the 0 slot fails"); @@ -55996,7 +55634,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 25: { LogStep(25, "User creation in the out-of-bounds slot fails"); @@ -56012,7 +55650,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 26: { LogStep(26, "Clear first user"); @@ -56022,7 +55660,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 27: { LogStep(27, "Read cleared user and verify it is available"); @@ -56032,7 +55670,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create new user in the cleared slot"); @@ -56048,7 +55686,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 29: { LogStep(29, "Read the user in the previously cleared slot and verify its fields"); @@ -56058,7 +55696,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Clear user with index 0 fails"); @@ -56068,7 +55706,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 31: { LogStep(31, "Clear user with out-of-bounds index fails"); @@ -56078,7 +55716,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 32: { LogStep(32, "Clear all users"); @@ -56088,7 +55726,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 33: { LogStep(33, "Read first cleared user and verify it is available"); @@ -56098,7 +55736,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Read last cleared user and verify it is available"); @@ -56108,7 +55746,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get number of supported PIN credentials and verify default value"); @@ -56126,7 +55764,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Reading PIN credential with index 0 fails"); @@ -56139,7 +55777,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Reading PIN credential with out-of-bounds index fails"); @@ -56152,7 +55790,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create new PIN credential and user"); @@ -56170,7 +55808,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 40: { LogStep(40, "Verify created user"); @@ -56180,7 +55818,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Verify created PIN credential"); @@ -56193,7 +55831,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Create new PIN credential and user with index 0 fails"); @@ -56211,7 +55849,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 43: { LogStep(43, "Create new PIN credential and user with out-of-bounds index fails"); @@ -56229,7 +55867,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get number of supported RFID credentials and verify default value"); @@ -56247,7 +55885,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Reading RFID credential with out-of-bounds index fails"); @@ -56260,7 +55898,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Check that RFID credential does not exist"); @@ -56273,7 +55911,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Create new RFID credential and add it to existing user"); @@ -56293,7 +55931,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 49: { LogStep(49, "Verify modified user"); @@ -56303,7 +55941,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created credential"); @@ -56316,7 +55954,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Create new RFID credential and user with index 0 fails"); @@ -56335,7 +55973,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 52: { LogStep(52, "Create new RFID credential and user with out-of-bounds index fails"); @@ -56354,7 +55992,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 53: { LogStep(53, "Create new credential and try to add it to 0 user"); @@ -56373,7 +56011,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 54: { LogStep(54, "Create new credential and try to add it to out-of-bounds user"); @@ -56392,7 +56030,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 55: { LogStep(55, "Create new PIN with too short data"); @@ -56411,7 +56049,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 56: { LogStep(56, "Create new PIN with too long data"); @@ -56430,7 +56068,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 57: { LogStep(57, "Create new RFID with too short data"); @@ -56449,7 +56087,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 58: { LogStep(58, "Create new PIN with Programming user type fails"); @@ -56469,7 +56107,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 59: { LogStep(59, "Create new RFID with too short data"); @@ -56481,7 +56119,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand value.credential.credentialIndex = 3U; value.credentialData = chip::ByteSpan( - chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); + chip::Uint8::from_const_char("very_long_rfid_data_to_test_boundariesgarbage: not in length on purpose"), 38); value.userIndex.SetNonNull(); value.userIndex.Value() = 0U; value.userStatus.SetNull(); @@ -56489,7 +56127,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 60: { LogStep(60, "Create new PIN credential with data the would cause duplicate"); @@ -56507,7 +56145,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 61: { LogStep(61, "Create new RFID credential with data the would cause duplicate"); @@ -56526,7 +56164,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 62: { LogStep(62, "Modify credentialData of existing PIN credential"); @@ -56545,7 +56183,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 63: { LogStep(63, "Verify that credential was changed by creating new credential with old data"); @@ -56563,7 +56201,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 64: { LogStep(64, "Verify that credential was changed by creating new credential with new data"); @@ -56581,7 +56219,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 65: { LogStep(65, "Create new RFID credential and add it to existing user"); @@ -56601,7 +56239,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 66: { LogStep(66, "Verify modified user"); @@ -56611,7 +56249,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Create new RFID credential and add it to existing user"); @@ -56630,7 +56268,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 68: { LogStep(68, "Verify modified user"); @@ -56640,7 +56278,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Clear first PIN credential"); @@ -56654,7 +56292,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 70: { LogStep(70, "Read back the credential and make sure it is deleted"); @@ -56667,7 +56305,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Read the user back and make sure PIN credential is deleted"); @@ -56677,7 +56315,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Clear the second PIN credential"); @@ -56691,7 +56329,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 73: { LogStep(73, "Read back the credential and make sure it is deleted"); @@ -56704,7 +56342,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Read the user back and make sure related user is deleted"); @@ -56714,7 +56352,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Create new RFID credential with user"); @@ -56733,7 +56371,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 76: { LogStep(76, "Clear all the RFID credentials"); @@ -56747,7 +56385,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 77: { LogStep(77, "Read back the fist RFID credential and make sure it is deleted"); @@ -56760,7 +56398,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Read back the second RFID credential and make sure it is deleted"); @@ -56773,7 +56411,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Read back the third RFID credential and make sure it is deleted"); @@ -56786,7 +56424,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Read the user related with first RFID back and make sure it has only PIN credential"); @@ -56796,7 +56434,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Read the user related with second RFID back and make sure it is deleted"); @@ -56806,7 +56444,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Create new PIN credential with user"); @@ -56824,7 +56462,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 83: { LogStep(83, "Create new RFID credential with user"); @@ -56843,7 +56481,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 84: { LogStep(84, "Create another RFID credential with user"); @@ -56862,7 +56500,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 85: { LogStep(85, "Clear all the credentials"); @@ -56872,7 +56510,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 86: { LogStep(86, "Read back the first PIN credential and make sure it is deleted"); @@ -56885,7 +56523,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Read back the first RFID credential and make sure it is deleted"); @@ -56898,7 +56536,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Read back the second PIN credential and make sure it is deleted"); @@ -56911,7 +56549,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Read the user related with first PIN back and make sure it is deleted"); @@ -56921,7 +56559,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Read the user related with first RFID back and make sure it is deleted"); @@ -56931,7 +56569,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Read the user related with second PIN back and make sure it is deleted"); @@ -56941,7 +56579,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Read the user related with last RFID back and make sure it is deleted"); @@ -56951,7 +56589,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new Programming PIN credential with invalid index"); @@ -56969,7 +56607,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create new Programming PIN credential with valid index"); @@ -56987,7 +56625,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created user"); @@ -56997,7 +56635,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Verify created programming PIN credential"); @@ -57010,7 +56648,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Modify the Programming PIN credential"); @@ -57028,7 +56666,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 98: { LogStep(98, "Clearing Programming PIN fails"); @@ -57042,7 +56680,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 99: { LogStep(99, "Clearing Programming PIN with invalid index fails"); @@ -57056,7 +56694,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 100: { LogStep(100, "Clearing PIN credential with zero index fails"); @@ -57070,7 +56708,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 101: { LogStep(101, "Clearing PIN credential with out-of-bound index fails"); @@ -57084,7 +56722,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 102: { LogStep(102, "Clearing RFID credential with zero index fails"); @@ -57098,7 +56736,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Clearing RFID credential with out-of-bound index fails"); @@ -57112,7 +56750,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 104: { LogStep(104, "Clear the Programming PIN user"); @@ -57122,7 +56760,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure Programming PIN user is deleted"); @@ -57132,7 +56770,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetUser::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure programming PIN credential is deleted"); @@ -57145,7 +56783,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Create new PIN credential and user"); @@ -57163,7 +56801,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 108: { LogStep(108, "Create second PIN credential and add it to existing user"); @@ -57182,7 +56820,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create third PIN credential and add it to existing user"); @@ -57201,7 +56839,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 110: { LogStep(110, "Create fourth PIN credential and add it to existing user"); @@ -57220,7 +56858,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create fifth PIN credential and add it to existing user"); @@ -57239,7 +56877,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Try to create sixth PIN credential and make sure it fails"); @@ -57258,7 +56896,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 113: { LogStep(113, "Final clean-up"); @@ -57268,7 +56906,7 @@ class DL_UsersAndCredentialsSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57299,9 +56937,7 @@ class DL_LockUnlockSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -57444,7 +57080,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Verify that lock state attribute value is set to Unlocked"); @@ -57458,7 +57094,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 4: { LogStep(4, "Verify that lock state attribute value is set to Locked"); @@ -57481,7 +57117,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Try to unlock the door with invalid PIN"); @@ -57492,7 +57128,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "Verify that lock state attribute value is set to Locked"); @@ -57508,7 +57144,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "Verify that lock state attribute value is set to Unlocked"); @@ -57524,7 +57160,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Verify that lock state attribute value is set to Unlocked"); @@ -57540,7 +57176,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "Verify that lock state attribute value is set to Locked"); @@ -57562,7 +57198,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "Set OperatingMode to Normal"); @@ -57584,7 +57220,7 @@ class DL_LockUnlockSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -57620,9 +57256,7 @@ class DL_SchedulesSuite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint8_t NumberOfHolidaySchedulesSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -58933,7 +58567,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get number of supported users"); @@ -58969,7 +58603,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Create Week Day schedule with out-of-bounds index"); @@ -58985,7 +58619,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Create Week Day schedule with 0 user index"); @@ -59001,7 +58635,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Create Week Day schedule with out-of-bounds user index"); @@ -59017,7 +58651,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Create Week Day schedule for non-existing user"); @@ -59033,7 +58667,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Create Week Day schedule with 0 days mask"); @@ -59049,7 +58683,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Create Week Day schedule for Sunday and Monday"); @@ -59065,7 +58699,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Create Week Day schedule for Sunday Wednesday and Saturday"); @@ -59081,7 +58715,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Create Week Day schedule with invalid start hour"); @@ -59097,7 +58731,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Create Week Day schedule with invalid start minute"); @@ -59113,7 +58747,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Create Week Day schedule with invalid end hour"); @@ -59129,7 +58763,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "Create Week Day schedule with invalid end minute"); @@ -59145,7 +58779,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Create Week Day schedule with start hour later that end hour"); @@ -59161,7 +58795,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Create Week Day schedule with start minute later that end minute when hours are equal"); @@ -59177,7 +58811,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "Make sure that previous operations did not create a schedule"); @@ -59188,7 +58822,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 21: { LogStep(21, "Get Week Day schedule with 0 index"); @@ -59199,7 +58833,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Get Week Day schedule with out-of-bounds index"); @@ -59210,7 +58844,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 23: { LogStep(23, "Get Week Day schedule with 0 user index"); @@ -59221,7 +58855,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Get Week Day schedule with out-of-bounds user index"); @@ -59232,7 +58866,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Get Week Day schedule with non-existing user index"); @@ -59243,7 +58877,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Create Year Day schedule with 0 index"); @@ -59256,7 +58890,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Create Year Day schedule with out-of-bounds index"); @@ -59269,7 +58903,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Create Year Day schedule with 0 user index"); @@ -59282,7 +58916,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Create Year Day schedule with out-of-bounds user index"); @@ -59295,7 +58929,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Create Year Day schedule for non-existing user"); @@ -59308,7 +58942,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 31: { LogStep(31, "Create Year Day schedule with start hour later that end hour"); @@ -59321,7 +58955,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 32: { LogStep(32, "Make sure that previous operations did not create a schedule"); @@ -59332,7 +58966,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 33: { LogStep(33, "Get Year Day schedule with 0 index"); @@ -59343,7 +58977,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 34: { LogStep(34, "Get Year Day schedule with out-of-bounds index"); @@ -59354,7 +58988,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 35: { LogStep(35, "Get Year Day schedule with 0 user index"); @@ -59365,7 +58999,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Get Year Day schedule with out-of-bounds user index"); @@ -59376,7 +59010,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 37: { LogStep(37, "Get Year Day schedule with non-existing user index"); @@ -59387,7 +59021,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 38: { LogStep(38, "Create Holiday schedule with 0 index"); @@ -59400,7 +59034,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Create Holiday schedule with out-of-bounds index"); @@ -59413,7 +59047,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Create Holiday schedule with start hour later that end hour"); @@ -59426,7 +59060,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Create Holiday schedule with invalid operating mode"); @@ -59439,7 +59073,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 42: { LogStep(42, "Make sure that previous operations did not create a schedule"); @@ -59449,7 +59083,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Get Holiday schedule with 0 index"); @@ -59459,7 +59093,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 44: { LogStep(44, "Get Holiday schedule with out-of-bounds index"); @@ -59469,7 +59103,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Create Holiday schedule with valid parameters"); @@ -59482,7 +59116,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 46: { LogStep(46, "Verify created schedule"); @@ -59492,7 +59126,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 47: { LogStep(47, "Create Week Day schedule with valid parameters"); @@ -59508,7 +59142,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 48: { LogStep(48, "Verify created schedule"); @@ -59519,7 +59153,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 49: { LogStep(49, "Create Year Day schedule with valid parameters"); @@ -59532,7 +59166,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "Verify created schedule"); @@ -59543,7 +59177,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 51: { LogStep(51, "Clear Week Day schedule with 0 index"); @@ -59554,7 +59188,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 52: { LogStep(52, "Clear Week Day schedule with out-of-bounds index"); @@ -59565,7 +59199,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Clear Week Day schedule with 0 user index"); @@ -59576,7 +59210,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 54: { LogStep(54, "Clear Week Day schedule with out-of-bounds user index"); @@ -59587,7 +59221,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "Clear Week Day schedule with non-existing user"); @@ -59598,7 +59232,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 56: { LogStep(56, "Make sure that week day schedule was not deleted"); @@ -59609,7 +59243,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Make sure that year day schedule was not deleted"); @@ -59620,7 +59254,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 58: { LogStep(58, "Make sure that holiday schedule was not deleted"); @@ -59630,7 +59264,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Clear Year Day schedule with 0 index"); @@ -59641,7 +59275,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "Clear Year Day schedule with out-of-bounds index"); @@ -59652,7 +59286,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 61: { LogStep(61, "Clear Year Day schedule with 0 user index"); @@ -59663,7 +59297,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 62: { LogStep(62, "Clear Year Day schedule with out-of-bounds user index"); @@ -59674,7 +59308,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 63: { LogStep(63, "Clear Year Day schedule with non-existing user"); @@ -59685,7 +59319,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 64: { LogStep(64, "Make sure that week day schedule was not deleted"); @@ -59696,7 +59330,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Make sure that year day schedule was not deleted"); @@ -59707,7 +59341,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 66: { LogStep(66, "Make sure that holiday schedule was not deleted"); @@ -59717,7 +59351,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Clear Holiday schedule with 0 index"); @@ -59727,7 +59361,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 68: { LogStep(68, "Clear Holiday schedule with out-of-bounds index"); @@ -59737,7 +59371,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 69: { LogStep(69, "Make sure that week day schedule was not deleted"); @@ -59748,7 +59382,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 70: { LogStep(70, "Make sure that year day schedule was not deleted"); @@ -59759,7 +59393,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Make sure that holiday schedule was not deleted"); @@ -59769,7 +59403,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 72: { LogStep(72, "Create another Week Day schedule with valid parameters"); @@ -59785,7 +59419,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 73: { LogStep(73, "Verify created week day schedule"); @@ -59796,7 +59430,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 74: { LogStep(74, "Create another Year Day schedule with valid parameters"); @@ -59809,7 +59443,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 75: { LogStep(75, "Verify created year day schedule"); @@ -59820,7 +59454,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "Create another Holiday schedule with valid parameters"); @@ -59833,7 +59467,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 77: { LogStep(77, "Verify created holiday schedule"); @@ -59843,7 +59477,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 78: { LogStep(78, "Clear a single week day schedule for the first user"); @@ -59854,7 +59488,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 79: { LogStep(79, "Verify cleared week day schedule"); @@ -59865,7 +59499,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Clear all remaining week day schedules for the first user"); @@ -59876,7 +59510,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 81: { LogStep(81, "Verify cleared week schedule"); @@ -59887,7 +59521,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "Make sure that first year day schedule was not deleted"); @@ -59898,7 +59532,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 83: { LogStep(83, "Make sure that second year day schedule was not deleted"); @@ -59909,7 +59543,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 84: { LogStep(84, "Make sure that first holiday schedule was not deleted"); @@ -59919,7 +59553,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 85: { LogStep(85, "Make sure that second holiday schedule was not deleted"); @@ -59929,7 +59563,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 86: { LogStep(86, "Create another Week Day schedule with valid parameters"); @@ -59945,7 +59579,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 87: { LogStep(87, "Clear a single year day schedule for the first user"); @@ -59956,7 +59590,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 88: { LogStep(88, "Verify cleared year day schedule"); @@ -59967,7 +59601,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 89: { LogStep(89, "Clear all remaining year schedules for the first user"); @@ -59978,7 +59612,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 90: { LogStep(90, "Verify that second year day schedule was cleared"); @@ -59989,7 +59623,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "Verify created week day schedule"); @@ -60000,7 +59634,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 92: { LogStep(92, "Clear all remaining week day schedules for the first user"); @@ -60011,7 +59645,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 93: { LogStep(93, "Create new user without credential so we can add more schedules to it"); @@ -60027,7 +59661,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 94: { LogStep(94, "Create Week Day schedule with valid parameters for first user"); @@ -60043,7 +59677,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Verify created week day schedule for first user"); @@ -60054,7 +59688,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 96: { LogStep(96, "Create Year Day schedule for first user"); @@ -60067,7 +59701,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Verify created year day schedule for first"); @@ -60078,7 +59712,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 98: { LogStep(98, "Create Week Day schedule with valid parameters for second user"); @@ -60094,7 +59728,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 99: { LogStep(99, "Verify created week day schedule for first user"); @@ -60105,7 +59739,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 100: { LogStep(100, "Create Year Day schedule for second user"); @@ -60118,7 +59752,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 101: { LogStep(101, "Verify created year day schedule for first"); @@ -60129,7 +59763,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "Cleanup the user"); @@ -60139,7 +59773,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 103: { LogStep(103, "Make sure clearing first user also cleared week day schedules"); @@ -60150,7 +59784,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 104: { LogStep(104, "Make sure clearing first user also cleared year day schedules"); @@ -60161,7 +59795,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 105: { LogStep(105, "Make sure clearing second user also cleared week day schedules"); @@ -60172,7 +59806,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "Make sure clearing second user also cleared year day schedules"); @@ -60183,7 +59817,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 107: { LogStep(107, "Make sure that first holiday schedule was not deleted"); @@ -60193,7 +59827,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 108: { LogStep(108, "Make sure that second holiday schedule was not deleted"); @@ -60203,7 +59837,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 109: { LogStep(109, "Create another Holiday schedule at the last slot"); @@ -60216,7 +59850,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "Verify Created Holiday Schedule"); @@ -60226,7 +59860,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 111: { LogStep(111, "Create new PIN credential and schedule user"); @@ -60244,7 +59878,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 112: { LogStep(112, "Create Week Day schedule for first user"); @@ -60260,7 +59894,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 113: { LogStep(113, "Create Year Day schedule for first user"); @@ -60273,7 +59907,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 114: { LogStep(114, "Clear a single holiday schedule"); @@ -60283,7 +59917,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "Make sure that first holiday schedule was not deleted"); @@ -60293,7 +59927,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "Make sure that second holiday schedule was deleted"); @@ -60303,7 +59937,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 117: { LogStep(117, "Make sure that third holiday schedule was not deleted"); @@ -60313,7 +59947,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 118: { LogStep(118, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60324,7 +59958,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 119: { LogStep(119, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60335,7 +59969,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 120: { LogStep(120, "Clear all remaining holiday schedules"); @@ -60345,7 +59979,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 121: { LogStep(121, "Make sure that first holiday is still deleted"); @@ -60355,7 +59989,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 122: { LogStep(122, "Make sure that second holiday schedule was deleted"); @@ -60365,7 +59999,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 123: { LogStep(123, "Make sure that third holiday schedule was not deleted"); @@ -60375,7 +60009,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetHolidaySchedule::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "Make sure clearing holiday schedule did not clear week day schedule"); @@ -60386,7 +60020,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 125: { LogStep(125, "Make sure clearing holiday schedule did not clear year day schedule"); @@ -60397,7 +60031,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 126: { LogStep(126, "Final Cleanup"); @@ -60407,7 +60041,7 @@ class DL_SchedulesSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearUser::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60438,9 +60072,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -60557,7 +60189,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes the RequirePINforRemoteOperation attribute value as True on the DUT"); @@ -60584,7 +60216,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Lock Door Command to the DUT with valid PINCode"); @@ -60595,7 +60227,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Lock Door Command to the DUT without any argument PINCode"); @@ -60606,7 +60238,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH writes WrongCodeEntryLimit attribute value as 3 on the DUT"); @@ -60634,7 +60266,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60645,7 +60277,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60656,7 +60288,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Lock Door Command to the DUT with invalid PINCode"); @@ -60667,7 +60299,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH reads UserCodeTemporaryDisableTime attribute from DUT"); @@ -60683,7 +60315,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 15: { LogStep(15, "Clean the created credential"); @@ -60697,7 +60329,7 @@ class Test_TC_DLRK_2_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60728,9 +60360,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -60831,7 +60461,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -60842,7 +60472,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -60861,7 +60491,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -60892,7 +60522,7 @@ class Test_TC_DLRK_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -60923,9 +60553,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61023,7 +60651,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Door is in locked state"); @@ -61034,7 +60662,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::LockDoor::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH writes AutoRelockTime attribute value as 10 seconds on the DUT"); @@ -61054,7 +60682,7 @@ class Test_TC_DLRK_2_4Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockWithTimeout::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH reads AutoRelockTime attribute from DUT"); @@ -61105,9 +60733,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand uint8_t NumberOfWeekDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61274,7 +60900,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Get Max number of Week Day schedules for user"); @@ -61300,7 +60926,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "send GetWeekDay Schedule Command "); @@ -61311,7 +60937,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Send Set Week Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61327,7 +60953,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "send GetWeekDay Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61338,7 +60964,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Clear all week day schedules for the first user"); @@ -61349,7 +60975,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send GetWeekDay Schedule Command "); @@ -61360,7 +60986,7 @@ class Test_TC_DLRK_2_5Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetWeekDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61394,9 +61020,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand uint8_t NumberOfYearDaySchedulesSupportedPerUser; uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61588,7 +61212,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Create new PIN credential and lock/unlock for second user"); @@ -61606,7 +61230,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Get Max number of year Day schedules for user"); @@ -61629,7 +61253,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "send Get Year Day Schedule Command"); @@ -61640,7 +61264,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "Send Set Year Day Schedule Command to DUT and verify INVALID_COMMAND response"); @@ -61653,7 +61277,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "send Get Year Day Schedule Command to DUT and Verify INVALID_FIELD response"); @@ -61664,7 +61288,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response"); @@ -61675,7 +61299,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "send Get Year Day Schedule Command to DUT and verify NOT_FOUND response "); @@ -61686,7 +61310,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Send Set Year Day Schedule Command to DUT"); @@ -61699,7 +61323,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "send Get Year Day Schedule Command "); @@ -61710,7 +61334,7 @@ class Test_TC_DLRK_2_7Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetYearDaySchedule::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -61743,9 +61367,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand uint16_t NumberOfTotalUsersSupported; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -61910,7 +61532,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "TH sends Get Credential Status Command"); @@ -61923,7 +61545,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "TH sends Set Credential Command to DUT"); @@ -61944,7 +61566,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH sends Set Credential Command to DUT"); @@ -61965,7 +61587,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH sends Set Credential Command to DUT"); @@ -61986,7 +61608,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 7: { LogStep(7, "TH sends Set Credential Command to DUT"); @@ -62007,7 +61629,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH sends Set Credential Command to DUT"); @@ -62028,7 +61650,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH sends Clear Credential Command to DUT"); @@ -62042,7 +61664,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 10: { LogStep(10, "TH sends Set Credential Command to DUT"); @@ -62063,7 +61685,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH sends Clear Credential Command to DUT"); @@ -62077,7 +61699,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH sends Set Credential Command to DUT"); @@ -62098,7 +61720,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH sends Clear Credential Command to DUT"); @@ -62112,7 +61734,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 14: { LogStep(14, "TH sends Get Credential Status Command"); @@ -62125,7 +61747,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::GetCredentialStatus::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "TH sends Set Credential Command to DUT"); @@ -62146,7 +61768,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::SetCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH sends Clear Credential Command to DUT"); @@ -62160,7 +61782,7 @@ class Test_TC_DLRK_2_9Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::ClearCredential::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -62197,9 +61819,7 @@ class TestGroupMessagingSuite : public TestCommand chip::Optional mPayload; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -62451,7 +62071,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Add Group 2 (endpoint 0)"); @@ -62461,7 +62081,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "KeySet Write 1"); @@ -62473,30 +62093,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "KeySet Write 2"); @@ -62508,30 +62128,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "Write Group Keys"); @@ -62551,7 +62171,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62578,7 +62198,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62653,7 +62273,7 @@ class TestGroupMessagingSuite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Cleanup ACLs"); @@ -62671,7 +62291,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62685,7 +62305,7 @@ class TestGroupMessagingSuite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 21: { LogStep(21, "Commission from gamma"); @@ -62710,7 +62330,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 24: { LogStep(24, "Add Group 2 (endpoint 0) for gamma"); @@ -62720,7 +62340,7 @@ class TestGroupMessagingSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityGamma, GetEndpoint(0), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "KeySet Write 1 for gamma"); @@ -62732,30 +62352,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "KeySet Write 2 for gamma"); @@ -62767,30 +62387,30 @@ class TestGroupMessagingSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2220000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2220001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2220002ULL; return SendCommand(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 27: { LogStep(27, "Write Group Keys for gamma"); @@ -62810,7 +62430,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -62837,7 +62457,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62922,7 +62542,7 @@ class TestGroupMessagingSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 0U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityGamma, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -62956,9 +62576,7 @@ class TestGroupsClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63196,7 +62814,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "View First Group (not found)"); @@ -63206,7 +62824,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Add First Group (new)"); @@ -63216,7 +62834,7 @@ class TestGroupsClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "View First Group (new)"); @@ -63226,7 +62844,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "View Second Group (not found)"); @@ -63236,7 +62854,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Get Group Membership 1 (all)"); @@ -63247,7 +62865,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "View Group 3 (not found)"); @@ -63257,7 +62875,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "View First Group (existing)"); @@ -63267,7 +62885,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 9: { LogStep(9, "Remove Group 0 (invalid)"); @@ -63277,7 +62895,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Remove Group 4 (not found)"); @@ -63287,7 +62905,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "View First Group (not removed)"); @@ -63297,7 +62915,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "View Second Group (removed)"); @@ -63307,7 +62925,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "Get Group Membership 3"); @@ -63326,7 +62944,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Remove All"); @@ -63335,7 +62953,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "View First Group (removed)"); @@ -63345,7 +62963,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "View Second Group (still removed)"); @@ -63355,7 +62973,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 17: { LogStep(17, "View Group 3 (removed)"); @@ -63365,7 +62983,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::ViewGroup::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Get Group Membership 4"); @@ -63385,7 +63003,7 @@ class TestGroupsClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::GetGroupMembership::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63417,9 +63035,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63508,8 +63124,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63529,8 +63145,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63591,8 +63207,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63613,8 +63229,8 @@ class TestGroupKeyManagementClusterSuite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> - value; + chip::app::Clusters::GroupKeyManagement::Structs::GroupInfoMapStruct::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -63668,7 +63284,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Add Group 2"); @@ -63678,7 +63294,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand value.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 5: { LogStep(5, "KeySet Write 1"); @@ -63690,30 +63306,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "KeySet Write 2"); @@ -63725,30 +63341,30 @@ class TestGroupKeyManagementClusterSuite : public TestCommand static_cast(1); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 2110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 2110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 2110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 7: { LogStep(7, "KeySet Read"); @@ -63758,7 +63374,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Write Group Keys (invalid)"); @@ -63774,7 +63390,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63797,7 +63413,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -63820,7 +63436,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 13: { LogStep(13, "KeySet Read (removed)"); @@ -63830,7 +63446,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "KeySet Read (not removed)"); @@ -63840,7 +63456,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } case 15: { LogStep(15, "Remove Group 1"); @@ -63850,7 +63466,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveGroup::Id, value, chip::NullOptional - ); + ); } case 16: { LogStep(16, "Read GroupTable 2"); @@ -63864,7 +63480,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::RemoveAllGroups::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Read GroupTable 3"); @@ -63879,7 +63495,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRemove::Id, value, chip::NullOptional - ); + ); } case 20: { LogStep(20, "KeySet Read (also removed)"); @@ -63889,7 +63505,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetRead::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -63920,9 +63536,7 @@ class Test_TC_DD_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -63978,9 +63592,7 @@ class Test_TC_DD_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64036,9 +63648,7 @@ class Test_TC_DD_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64094,9 +63704,7 @@ class Test_TC_DD_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64152,9 +63760,7 @@ class Test_TC_DD_1_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64210,9 +63816,7 @@ class Test_TC_DD_1_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64268,9 +63872,7 @@ class Test_TC_DD_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64326,9 +63928,7 @@ class Test_TC_DD_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64384,9 +63984,7 @@ class Test_TC_DD_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64442,9 +64040,7 @@ class Test_TC_DD_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64500,9 +64096,7 @@ class Test_TC_DD_1_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64558,9 +64152,7 @@ class Test_TC_DD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64616,9 +64208,7 @@ class Test_TC_DD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64674,9 +64264,7 @@ class Test_TC_DD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64732,9 +64320,7 @@ class Test_TC_DD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64790,9 +64376,7 @@ class Test_TC_DD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64848,9 +64432,7 @@ class Test_TC_DD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64906,9 +64488,7 @@ class Test_TC_DD_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -64964,9 +64544,7 @@ class Test_TC_DD_3_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65022,9 +64600,7 @@ class Test_TC_DD_3_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65080,9 +64656,7 @@ class Test_TC_DD_3_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65138,9 +64712,7 @@ class Test_TC_DD_3_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65196,9 +64768,7 @@ class Test_TC_DD_3_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65254,9 +64824,7 @@ class Test_TC_DD_3_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65312,9 +64880,7 @@ class Test_TC_DD_3_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65370,9 +64936,7 @@ class Test_TC_DD_3_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65428,9 +64992,7 @@ class Test_TC_DD_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65486,9 +65048,7 @@ class Test_TC_DD_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65544,9 +65104,7 @@ class Test_TC_DD_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65602,9 +65160,7 @@ class Test_TC_DD_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65660,9 +65216,7 @@ class Test_TC_DD_3_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65718,9 +65272,7 @@ class Test_TC_DD_3_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65776,9 +65328,7 @@ class Test_TC_DD_3_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -65835,9 +65385,7 @@ class TestGroupDemoCommandSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66105,9 +65653,7 @@ class TestGroupDemoConfigSuite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66172,7 +65718,7 @@ class TestGroupDemoConfigSuite : public TestCommand value.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); return SendCommand(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Commands::AddGroup::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "KeySet Write 1"); @@ -66184,30 +65730,30 @@ class TestGroupDemoConfigSuite : public TestCommand static_cast(0); value.groupKeySet.epochKey0.SetNonNull(); value.groupKeySet.epochKey0.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime0.SetNonNull(); value.groupKeySet.epochStartTime0.Value() = 1110000ULL; value.groupKeySet.epochKey1.SetNonNull(); value.groupKeySet.epochKey1.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime1.SetNonNull(); value.groupKeySet.epochStartTime1.Value() = 1110001ULL; value.groupKeySet.epochKey2.SetNonNull(); value.groupKeySet.epochKey2.Value() = chip::ByteSpan( - chip::Uint8::from_const_char( - "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), - 16); + chip::Uint8::from_const_char( + "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317garbage: not in length on purpose"), + 16); value.groupKeySet.epochStartTime2.SetNonNull(); value.groupKeySet.epochStartTime2.Value() = 1110002ULL; return SendCommand(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Commands::KeySetWrite::Id, value, chip::NullOptional - ); + ); } case 3: { LogStep(3, "Map Group Key Set to group ID on a given fabric"); @@ -66223,7 +65769,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[0].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 1); + listHolder_0->mList, 1); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), GroupKeyManagement::Id, GroupKeyManagement::Attributes::GroupKeyMap::Id, value, chip::NullOptional, chip::NullOptional); @@ -66257,7 +65803,7 @@ class TestGroupDemoConfigSuite : public TestCommand listHolder_0->mList[1].fabricIndex = 1U; value = chip::app::DataModel::List( - listHolder_0->mList, 2); + listHolder_0->mList, 2); } return WriteAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::Acl::Id, value, chip::NullOptional, chip::NullOptional); @@ -66291,9 +65837,7 @@ class Test_TC_G_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66349,9 +65893,7 @@ class Test_TC_G_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66407,9 +65949,7 @@ class Test_TC_G_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66465,9 +66005,7 @@ class Test_TC_G_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66523,9 +66061,7 @@ class Test_TC_G_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66581,9 +66117,7 @@ class Test_TC_G_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66639,9 +66173,7 @@ class Test_TC_BDX_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66697,9 +66229,7 @@ class Test_TC_BDX_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66755,9 +66285,7 @@ class Test_TC_BDX_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66813,9 +66341,7 @@ class Test_TC_BDX_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66871,9 +66397,7 @@ class Test_TC_BDX_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66929,9 +66453,7 @@ class Test_TC_BDX_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -66987,9 +66509,7 @@ class Test_TC_BDX_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67045,9 +66565,7 @@ class Test_TC_BDX_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67103,9 +66621,7 @@ class Test_TC_BDX_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67161,9 +66677,7 @@ class Test_TC_BDX_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67219,9 +66733,7 @@ class Test_TC_BDX_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67277,9 +66789,7 @@ class Test_TC_BR_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67335,9 +66845,7 @@ class Test_TC_BR_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67393,9 +66901,7 @@ class Test_TC_BR_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67451,9 +66957,7 @@ class Test_TC_DA_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67509,9 +67013,7 @@ class Test_TC_DA_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67567,9 +67069,7 @@ class Test_TC_DA_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67625,9 +67125,7 @@ class Test_TC_DA_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67683,9 +67181,7 @@ class Test_TC_DA_1_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67741,9 +67237,7 @@ class Test_TC_DA_1_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67799,9 +67293,7 @@ class Test_TC_BINFO_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67858,9 +67350,7 @@ class Test_TC_OPCREDS_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67916,9 +67406,7 @@ class Test_TC_CNET_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -67976,9 +67464,7 @@ class Test_TC_BINFO_2_2Suite : public TestCommand uint32_t SoftwareVersionValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68230,9 +67716,7 @@ class Test_TC_BINFO_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68289,9 +67773,7 @@ class Test_TC_OPCREDS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68348,9 +67830,7 @@ class Test_TC_OPCREDS_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68407,9 +67887,7 @@ class Test_TC_OPCREDS_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68466,9 +67944,7 @@ class Test_TC_OPCREDS_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68524,9 +68000,7 @@ class Test_TC_CNET_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68582,9 +68056,7 @@ class Test_TC_CNET_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68640,9 +68112,7 @@ class Test_TC_CNET_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68698,9 +68168,7 @@ class Test_TC_CNET_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68756,9 +68224,7 @@ class Test_TC_CNET_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68814,9 +68280,7 @@ class Test_TC_CNET_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68872,9 +68336,7 @@ class Test_TC_CNET_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68930,9 +68392,7 @@ class Test_TC_CNET_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -68988,9 +68448,7 @@ class Test_TC_CNET_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69046,9 +68504,7 @@ class Test_TC_CNET_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69104,9 +68560,7 @@ class Test_TC_CNET_4_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69162,9 +68616,7 @@ class Test_TC_CNET_4_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69220,9 +68672,7 @@ class Test_TC_CNET_4_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69278,9 +68728,7 @@ class Test_TC_CNET_4_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69336,9 +68784,7 @@ class Test_TC_CNET_4_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69394,9 +68840,7 @@ class Test_TC_CNET_4_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69452,9 +68896,7 @@ class Test_TC_CNET_4_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69510,9 +68952,7 @@ class Test_TC_CNET_4_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69568,9 +69008,7 @@ class Test_TC_CNET_4_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69626,9 +69064,7 @@ class Test_TC_CNET_4_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69684,9 +69120,7 @@ class Test_TC_CNET_4_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69742,9 +69176,7 @@ class Test_TC_DLOG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69800,9 +69232,7 @@ class Test_TC_DLOG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69858,9 +69288,7 @@ class Test_TC_DLOG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69916,9 +69344,7 @@ class Test_TC_DLOG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -69974,9 +69400,7 @@ class Test_TC_DESC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70032,9 +69456,7 @@ class Test_TC_DESC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70090,9 +69512,7 @@ class Test_TC_DGETH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70148,9 +69568,7 @@ class Test_TC_DGETH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70206,9 +69624,7 @@ class Test_TC_DGETH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70264,9 +69680,7 @@ class Test_TC_CGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70322,9 +69736,7 @@ class Test_TC_CGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70380,9 +69792,7 @@ class Test_TC_CGEN_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70438,9 +69848,7 @@ class Test_TC_DGGEN_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70496,9 +69904,7 @@ class Test_TC_DGGEN_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70554,9 +69960,7 @@ class Test_TC_DGGEN_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70612,9 +70016,7 @@ class Test_TC_DGGEN_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70670,9 +70072,7 @@ class Test_TC_I_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70728,9 +70128,7 @@ class Test_TC_I_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70786,9 +70184,7 @@ class Test_TC_ILL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70844,9 +70240,7 @@ class Test_TC_ILL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70902,9 +70296,7 @@ class Test_TC_IDM_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -70960,9 +70352,7 @@ class Test_TC_IDM_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71018,9 +70408,7 @@ class Test_TC_IDM_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71076,9 +70464,7 @@ class Test_TC_IDM_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71134,9 +70520,7 @@ class Test_TC_IDM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71192,9 +70576,7 @@ class Test_TC_IDM_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71250,9 +70632,7 @@ class Test_TC_IDM_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71308,9 +70688,7 @@ class Test_TC_IDM_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71366,9 +70744,7 @@ class Test_TC_IDM_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71424,9 +70800,7 @@ class Test_TC_IDM_5_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71482,9 +70856,7 @@ class Test_TC_IDM_5_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71540,9 +70912,7 @@ class Test_TC_IDM_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71598,9 +70968,7 @@ class Test_TC_IDM_6_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71656,9 +71024,7 @@ class Test_TC_IDM_6_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71714,9 +71080,7 @@ class Test_TC_IDM_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71772,9 +71136,7 @@ class Test_TC_IDM_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71830,9 +71192,7 @@ class Test_TC_IDM_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71888,9 +71248,7 @@ class Test_TC_MC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -71946,9 +71304,7 @@ class Test_TC_MC_3_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72004,9 +71360,7 @@ class Test_TC_MC_3_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72062,9 +71416,7 @@ class Test_TC_MC_3_9_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72120,9 +71472,7 @@ class Test_TC_MC_3_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72178,9 +71528,7 @@ class Test_TC_MC_3_15Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72236,9 +71584,7 @@ class Test_TC_MC_3_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72294,9 +71640,7 @@ class Test_TC_MC_3_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72352,9 +71696,7 @@ class Test_TC_MC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72410,9 +71752,7 @@ class Test_TC_MC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72468,9 +71808,7 @@ class Test_TC_MC_5_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72526,9 +71864,7 @@ class Test_TC_MC_5_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72584,9 +71920,7 @@ class Test_TC_MC_6_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72642,9 +71976,7 @@ class Test_TC_MC_6_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72700,9 +72032,7 @@ class Test_TC_MC_7_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72758,9 +72088,7 @@ class Test_TC_MC_7_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72816,9 +72144,7 @@ class Test_TC_MC_10_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72874,9 +72200,7 @@ class Test_TC_MC_10_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72932,9 +72256,7 @@ class Test_TC_MC_10_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -72990,9 +72312,7 @@ class Test_TC_MC_11_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73048,9 +72368,7 @@ class Test_TC_MC_11_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73106,9 +72424,7 @@ class Test_TC_MC_12_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73164,9 +72480,7 @@ class Test_TC_MC_12_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73222,9 +72536,7 @@ class Test_TC_MF_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73280,9 +72592,7 @@ class Test_TC_MF_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73338,9 +72648,7 @@ class Test_TC_MF_1_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73396,9 +72704,7 @@ class Test_TC_MF_1_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73454,9 +72760,7 @@ class Test_TC_MF_1_11Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73512,9 +72816,7 @@ class Test_TC_MF_1_12Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73570,9 +72872,7 @@ class Test_TC_MF_1_13Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73628,9 +72928,7 @@ class Test_TC_MF_1_14Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73686,9 +72984,7 @@ class Test_TC_MF_1_16Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73744,9 +73040,7 @@ class Test_TC_MF_1_17Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73802,9 +73096,7 @@ class Test_TC_MF_1_18Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73860,9 +73152,7 @@ class Test_TC_MF_1_19Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73918,9 +73208,7 @@ class Test_TC_MF_1_20Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -73976,9 +73264,7 @@ class Test_TC_MF_1_21Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74034,9 +73320,7 @@ class Test_TC_MF_1_22Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74092,9 +73376,7 @@ class Test_TC_MF_1_23Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74150,9 +73432,7 @@ class Test_TC_MF_1_24Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74208,9 +73488,7 @@ class Test_TC_MF_1_25Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74266,9 +73544,7 @@ class Test_TC_MF_1_26Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74312,18 +73588,14 @@ class Test_TC_MF_1_27Suite : public TestCommand ~Test_TC_MF_1_27Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74406,7 +73678,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -74429,7 +73701,7 @@ class Test_TC_MF_1_27Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -74453,18 +73725,14 @@ class Test_TC_MF_1_28Suite : public TestCommand ~Test_TC_MF_1_28Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(330)); } private: chip::Optional mNodeId; chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74544,11 +73812,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74556,7 +73824,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 3: { LogStep(3, "Wait for commissioning Window to 301 seconds"); @@ -74576,11 +73844,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74588,7 +73856,7 @@ class Test_TC_MF_1_28Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR1 reads the window status to verify the DUT_CE window is closed"); @@ -74617,9 +73885,7 @@ class Test_TC_MF_1_5Suite : public TestCommand ~Test_TC_MF_1_5Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } private: chip::Optional mNodeId; @@ -74631,9 +73897,7 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74723,11 +73987,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74735,7 +73999,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10 seconds"); @@ -74758,11 +74022,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74770,7 +74034,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -74780,7 +74044,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74798,7 +74062,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -74819,11 +74083,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74831,7 +74095,7 @@ class Test_TC_MF_1_5Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "TH_CR2 starts a commissioning process with DUT_CE"); @@ -74872,9 +74136,7 @@ class Test_TC_MF_1_6Suite : public TestCommand ~Test_TC_MF_1_6Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(300)); } private: chip::Optional mNodeId; @@ -74886,9 +74148,7 @@ class Test_TC_MF_1_6Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -74985,7 +74245,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait for PIXIT_COMM_WIN(180) + 10"); @@ -75011,7 +74271,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "TH_CR1 revokes the commissioning window on DUT_CE"); @@ -75021,7 +74281,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 6: { LogStep(6, "Commission from beta"); @@ -75039,7 +74299,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::RevokeCommissioning::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 writes the mandatory attribute NodeLabel of DUT_CE"); @@ -75063,7 +74323,7 @@ class Test_TC_MF_1_6Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 11: { LogStep(11, "Commission from beta"); @@ -75111,9 +74371,7 @@ class Test_TC_MF_1_9Suite : public TestCommand ~Test_TC_MF_1_9Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } private: chip::Optional mNodeId; @@ -75126,9 +74384,7 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75263,11 +74519,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75275,7 +74531,7 @@ class Test_TC_MF_1_9Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75476,9 +74732,7 @@ class Test_TC_MF_1_10Suite : public TestCommand ~Test_TC_MF_1_10Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(700)); } private: chip::Optional mNodeId; @@ -75491,9 +74745,7 @@ class Test_TC_MF_1_10Suite : public TestCommand chip::Optional mPayload; chip::Optional mPayload2; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75631,7 +74883,7 @@ class Test_TC_MF_1_10Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -75831,9 +75083,7 @@ class Test_TC_MF_1_15Suite : public TestCommand ~Test_TC_MF_1_15Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(500)); } private: chip::Optional mNodeId; @@ -75845,9 +75095,7 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::Optional mDiscriminator; chip::Optional mPayload; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -75895,8 +75143,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75925,8 +75173,8 @@ class Test_TC_MF_1_15Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList< - chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> - value; + chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> + value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); { auto iter_0 = value.begin(); @@ -75982,7 +75230,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 2: { LogStep(2, "Commission from gamma"); @@ -76008,7 +75256,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 5: { LogStep(5, "Commission from beta"); @@ -76034,7 +75282,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 8: { LogStep(8, "TH_CR1 opens a new commissioning window on DUT_CE"); @@ -76042,11 +75290,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76054,7 +75302,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 9: { LogStep(9, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -76074,11 +75322,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76086,7 +75334,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 12: { LogStep(12, "TH_CR3 opens a new commissioning window on DUT_CE"); @@ -76094,11 +75342,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76106,7 +75354,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 13: { LogStep(13, "TH_CR1 reads the list of Fabrics on DUT_CE"); @@ -76126,11 +75374,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76138,7 +75386,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } case 16: { LogStep(16, "TH_CR2 opens a new commissioning window on DUT_CE"); @@ -76146,11 +75394,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -76158,7 +75406,7 @@ class Test_TC_MF_1_15Suite : public TestCommand AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, chip::Optional(10000), chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -76189,9 +75437,7 @@ class Test_TC_MOD_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76247,9 +75493,7 @@ class Test_TC_MOD_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76305,9 +75549,7 @@ class Test_TC_MOD_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76363,9 +75605,7 @@ class Test_TC_MOD_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76421,9 +75661,7 @@ class Test_TC_MOD_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76479,9 +75717,7 @@ class Test_TC_MOD_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76537,9 +75773,7 @@ class Test_TC_MOD_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76595,9 +75829,7 @@ class Test_TC_MOD_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76653,9 +75885,7 @@ class Test_TC_SU_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76711,9 +75941,7 @@ class Test_TC_SU_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76769,9 +75997,7 @@ class Test_TC_SU_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76827,9 +76053,7 @@ class Test_TC_SU_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76885,9 +76109,7 @@ class Test_TC_SU_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -76943,9 +76165,7 @@ class Test_TC_SU_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77001,9 +76221,7 @@ class Test_TC_SU_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77059,9 +76277,7 @@ class Test_TC_SU_2_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77117,9 +76333,7 @@ class Test_TC_SU_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77175,9 +76389,7 @@ class Test_TC_SU_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77233,9 +76445,7 @@ class Test_TC_SU_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77291,9 +76501,7 @@ class Test_TC_SU_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77349,9 +76557,7 @@ class Test_TC_SU_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77407,9 +76613,7 @@ class Test_TC_SU_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77465,9 +76669,7 @@ class Test_TC_SU_4_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77523,9 +76725,7 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77581,9 +76781,7 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77639,9 +76837,7 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77697,9 +76893,7 @@ class Test_TC_SC_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77755,9 +76949,7 @@ class Test_TC_SC_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77813,9 +77005,7 @@ class Test_TC_SC_1_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77871,9 +77061,7 @@ class Test_TC_SC_1_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77929,9 +77117,7 @@ class Test_TC_SC_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -77987,9 +77173,7 @@ class Test_TC_SC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78045,9 +77229,7 @@ class Test_TC_SC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78103,9 +77285,7 @@ class Test_TC_SC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78161,9 +77341,7 @@ class Test_TC_SC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78219,9 +77397,7 @@ class Test_TC_SC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78277,9 +77453,7 @@ class Test_TC_SC_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78335,9 +77509,7 @@ class Test_TC_SC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78393,9 +77565,7 @@ class Test_TC_SC_4_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78451,9 +77621,7 @@ class Test_TC_SC_4_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78509,9 +77677,7 @@ class Test_TC_SC_4_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78567,9 +77733,7 @@ class Test_TC_SC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78625,9 +77789,7 @@ class Test_TC_SC_4_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78683,9 +77845,7 @@ class Test_TC_SC_4_7Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78741,9 +77901,7 @@ class Test_TC_SC_4_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78799,9 +77957,7 @@ class Test_TC_SC_4_9Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78857,9 +78013,7 @@ class Test_TC_SC_4_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78915,9 +78069,7 @@ class Test_TC_DGSW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -78973,9 +78125,7 @@ class Test_TC_DGSW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79031,9 +78181,7 @@ class Test_TC_DGSW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79089,9 +78237,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79147,9 +78293,7 @@ class Test_TC_DGWIFI_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79205,9 +78349,7 @@ class Test_TC_DGWIFI_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79263,9 +78405,7 @@ class Test_TC_DGWIFI_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79321,9 +78461,7 @@ class Test_TC_WNCV_6_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79379,9 +78517,7 @@ class Test_TC_WNCV_7_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79439,9 +78575,7 @@ class Test_TC_FLW_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79552,9 +78686,7 @@ class Test_TC_FLW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79612,9 +78744,7 @@ class Test_TC_OCC_2_2Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79724,9 +78854,7 @@ class Test_TC_OCC_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79782,9 +78910,7 @@ class Test_TC_OCC_2_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79842,9 +78968,7 @@ class Test_TC_OCC_3_1Suite : public TestCommand uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -79953,9 +79077,7 @@ class Test_TC_OCC_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80011,9 +79133,7 @@ class Test_TC_PRS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80069,9 +79189,7 @@ class Test_TC_PRS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80127,9 +79245,7 @@ class Test_TC_PS_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80185,9 +79301,7 @@ class Test_TC_PS_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80243,9 +79357,7 @@ class Test_TC_BOOL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80301,9 +79413,7 @@ class Test_TC_BOOL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80359,9 +79469,7 @@ class Test_TC_CC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80417,9 +79525,7 @@ class Test_TC_CC_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80475,9 +79581,7 @@ class Test_TC_CC_4_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80533,9 +79637,7 @@ class Test_TC_CC_5_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80591,9 +79693,7 @@ class Test_TC_CC_6_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80649,9 +79749,7 @@ class Test_TC_CC_7_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80707,9 +79805,7 @@ class Test_TC_CC_9_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -80754,9 +79850,7 @@ class Test_TC_CC_9_1Suite : public TestCommand ~Test_TC_CC_9_1Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -80773,9 +79867,7 @@ class Test_TC_CC_9_1Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue4; uint16_t ColorLoopStoredEnhancedHue4; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -81276,7 +80368,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition : Check on/off attribute value is true after on command"); @@ -81295,7 +80387,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -81319,7 +80411,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -81342,7 +80434,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 8: { LogStep(8, "Read ColorLoopDirection attribute from DUT"); @@ -81365,7 +80457,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Read ColorLoopTime attribute from DUT"); @@ -81388,7 +80480,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 12: { LogStep(12, "Read ColorLoopStartEnhancedHue attribute from DUT"); @@ -81411,7 +80503,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Read ColorLoopActive attribute from DUT"); @@ -81472,7 +80564,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Read ColorLoopActive attribute from DUT"); @@ -81507,7 +80599,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopDirection attribute from DUT"); @@ -81530,7 +80622,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 28: { LogStep(28, "Read ColorLoopActive attribute from DUT"); @@ -81591,7 +80683,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "Read ColorLoopActive attribute from DUT"); @@ -81624,7 +80716,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 40: { LogStep(40, "Wait 1000ms"); @@ -81654,7 +80746,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Read ColorLoopDirection attribute from DUT"); @@ -81677,7 +80769,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "Read ColorLoopActive attribute from DUT"); @@ -81738,7 +80830,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 53: { LogStep(53, "Read ColorLoopActive attribute from DUT"); @@ -81773,7 +80865,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 57: { LogStep(57, "Read ColorLoopDirection attribute from DUT"); @@ -81796,7 +80888,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 59: { LogStep(59, "Read ColorLoopActive attribute from DUT"); @@ -81857,7 +80949,7 @@ class Test_TC_CC_9_1Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "Read ColorLoopActive attribute from DUT"); @@ -81883,7 +80975,7 @@ class Test_TC_CC_9_1Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 71: { LogStep(71, "Check on/off attribute value is false after off command"); @@ -81907,9 +80999,7 @@ class Test_TC_CC_9_2Suite : public TestCommand ~Test_TC_CC_9_2Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -81921,9 +81011,7 @@ class Test_TC_CC_9_2Suite : public TestCommand uint16_t ColorLoopStartEnhancedHue1; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82163,7 +81251,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -82182,7 +81270,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -82206,7 +81294,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -82247,7 +81335,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -82308,7 +81396,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopDirection attribute from DUT."); @@ -82363,7 +81451,7 @@ class Test_TC_CC_9_2Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Read ColorLoopActive attribute from DUT"); @@ -82389,7 +81477,7 @@ class Test_TC_CC_9_2Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Check on/off attribute value is false after off command"); @@ -82413,9 +81501,7 @@ class Test_TC_CC_9_3Suite : public TestCommand ~Test_TC_CC_9_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(400)); } private: chip::Optional mNodeId; @@ -82426,9 +81512,7 @@ class Test_TC_CC_9_3Suite : public TestCommand uint16_t ColorLoopStartEnhancedHueValue; uint16_t ColorLoopStoredEnhancedHueValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82659,7 +81743,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Precondition: Check on/off attribute value is true after on command"); @@ -82678,7 +81762,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::EnhancedMoveToHue::Id, value, chip::NullOptional - ); + ); } case 4: { LogStep(4, "Wait for 1000ms"); @@ -82702,7 +81786,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Read ColorLoopActive attribute from DUT"); @@ -82743,7 +81827,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 11: { LogStep(11, "Read ColorLoopActive attribute from DUT."); @@ -82804,7 +81888,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 19: { LogStep(19, "Read ColorLoopTime attribute from DUT."); @@ -82853,7 +81937,7 @@ class Test_TC_CC_9_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), ColorControl::Id, ColorControl::Commands::ColorLoopSet::Id, value, chip::NullOptional - ); + ); } case 25: { LogStep(25, "Read ColorLoopActive attribute from DUT"); @@ -82879,7 +81963,7 @@ class Test_TC_CC_9_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 29: { LogStep(29, "Check on/off attribute value is false after off command"); @@ -82914,9 +81998,7 @@ class Test_TC_DLRK_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -82972,9 +82054,7 @@ class Test_TC_DLRK_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83030,9 +82110,7 @@ class Test_TC_DLRK_2_6Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83088,9 +82166,7 @@ class Test_TC_DLRK_2_8Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83146,9 +82222,7 @@ class Test_TC_DLRK_2_10Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83204,9 +82278,7 @@ class Test_TC_LCFG_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83262,9 +82334,7 @@ class Test_TC_LCFG_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83320,9 +82390,7 @@ class Test_TC_LCFG_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83378,9 +82446,7 @@ class Test_TC_LVL_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83436,9 +82502,7 @@ class Test_TC_LVL_8_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -83483,9 +82547,7 @@ class Test_TC_OO_2_3Suite : public TestCommand ~Test_TC_OO_2_3Suite() {} - chip::System::Clock::Timeout GetWaitDuration() const override { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); - } + chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(350)); } private: chip::Optional mNodeId; @@ -83493,9 +82555,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::Optional mTimeout; chip::Optional mEndpoint; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -84344,7 +83404,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 2: { LogStep(2, "Wait 1000ms"); @@ -84374,7 +83434,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 6: { LogStep(6, "Wait 1000ms"); @@ -84402,7 +83462,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 10: { LogStep(10, "Wait 1000ms"); @@ -84432,7 +83492,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 14: { LogStep(14, "Wait 1000ms"); @@ -84459,7 +83519,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 18: { LogStep(18, "Wait 1000ms"); @@ -84489,7 +83549,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 22: { LogStep(22, "Wait 1000ms"); @@ -84516,7 +83576,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 26: { LogStep(26, "Wait 1000ms"); @@ -84544,7 +83604,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithRecallGlobalScene::Id, value, chip::NullOptional - ); + ); } case 30: { LogStep(30, "Wait 1000ms"); @@ -84586,7 +83646,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 36: { LogStep(36, "9b:Reads OnTime attribute from DUT"); @@ -84611,7 +83671,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 39: { LogStep(39, "Wait 10000ms"); @@ -84631,7 +83691,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 41: { LogStep(41, "Wait 10000ms"); @@ -84651,7 +83711,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 43: { LogStep(43, "Wait 10000ms"); @@ -84671,7 +83731,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 45: { LogStep(45, "10e:Reads OnOff attribute from DUT"); @@ -84707,7 +83767,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OffWithEffect::Id, value, chip::NullOptional - ); + ); } case 50: { LogStep(50, "11b:Reads OnOff attribute from DUT"); @@ -84744,7 +83804,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 55: { LogStep(55, "12b:Reads OnOff attribute from DUT"); @@ -84777,7 +83837,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 60: { LogStep(60, "13b:Reads OnOff attribute from DUT"); @@ -84814,7 +83874,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 65: { LogStep(65, "Wait 10000ms"); @@ -84830,7 +83890,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 67: { LogStep(67, "14c:Reads OnOff attribute from DUT"); @@ -84891,7 +83951,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 76: { LogStep(76, "16b:Reads OnOff attribute from DUT"); @@ -84917,7 +83977,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 80: { LogStep(80, "Wait 10000ms"); @@ -84937,7 +83997,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 82: { LogStep(82, "17c:Reads OnOff attribute from DUT"); @@ -84998,7 +84058,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 91: { LogStep(91, "18b:Reads OnOff attribute from DUT"); @@ -85028,7 +84088,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 95: { LogStep(95, "Wait 10000ms"); @@ -85048,7 +84108,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 97: { LogStep(97, "Wait 10000ms"); @@ -85081,7 +84141,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 102: { LogStep(102, "20b:Reads OnOff attribute from DUT"); @@ -85111,7 +84171,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 106: { LogStep(106, "21b:Reads OnOff attribute from DUT"); @@ -85137,7 +84197,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::On::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::On::Id, value, chip::NullOptional - ); + ); } case 110: { LogStep(110, "22b:Reads OnOff attribute from DUT"); @@ -85174,7 +84234,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 115: { LogStep(115, "23b:Send Off Command"); @@ -85183,7 +84243,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } case 116: { LogStep(116, "23c:Reads OnOff attribute from DUT"); @@ -85237,7 +84297,7 @@ class Test_TC_OO_2_3Suite : public TestCommand return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::OnWithTimedOff::Id, value, chip::NullOptional - ); + ); } case 124: { LogStep(124, "24b:Reads OnOff attribute from DUT"); @@ -85287,7 +84347,7 @@ class Test_TC_OO_2_3Suite : public TestCommand chip::app::Clusters::OnOff::Commands::Off::Type value; return SendCommand(kIdentityAlpha, GetEndpoint(1), OnOff::Id, OnOff::Commands::Off::Id, value, chip::NullOptional - ); + ); } } return CHIP_NO_ERROR; @@ -85318,9 +84378,7 @@ class Test_TC_OO_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85376,9 +84434,7 @@ class Test_TC_OO_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85436,9 +84492,7 @@ class Test_TC_RH_2_2Suite : public TestCommand chip::app::DataModel::Nullable ValueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85582,9 +84636,7 @@ class Test_TC_RH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85640,9 +84692,7 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85698,9 +84748,7 @@ class Test_TC_SWTCH_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85756,9 +84804,7 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85814,9 +84860,7 @@ class Test_TC_SWTCH_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -85874,9 +84918,7 @@ class Test_TC_TM_2_2Suite : public TestCommand chip::app::DataModel::Nullable valueBeforeChange; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86017,9 +85059,7 @@ class Test_TC_TM_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86075,9 +85115,7 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86133,9 +85171,7 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86191,9 +85227,7 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86250,9 +85284,7 @@ class Test_TC_DIAG_TH_NW_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86309,9 +85341,7 @@ class Test_TC_DIAG_TH_NW_2_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86368,9 +85398,7 @@ class Test_TC_DIAG_TH_NW_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86427,9 +85455,7 @@ class Test_TC_DIAG_TH_NW_3_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86486,9 +85512,7 @@ class Test_TC_DIAG_TH_NW_3_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86545,9 +85569,7 @@ class Test_TC_DIAG_TH_NW_3_4Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86604,9 +85626,7 @@ class Test_TC_DIAG_TH_NW_3_5Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86662,9 +85682,7 @@ class Test_TC_ACT_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86720,9 +85738,7 @@ class Test_TC_ACT_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86778,9 +85794,7 @@ class Test_TC_ACT_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86836,9 +85850,7 @@ class Test_TC_TFL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86894,9 +85906,7 @@ class Test_TC_TFL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -86952,9 +85962,7 @@ class Test_TC_TFL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87010,9 +86018,7 @@ class Test_TC_TFL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87068,9 +86074,7 @@ class Test_TC_UL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87126,9 +86130,7 @@ class Test_TC_UL_1_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87184,9 +86186,7 @@ class Test_TC_UL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87242,9 +86242,7 @@ class Test_TC_UL_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87300,9 +86298,7 @@ class Test_TC_FLABEL_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87358,9 +86354,7 @@ class Test_TC_FLABEL_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87416,9 +86410,7 @@ class Test_TC_FLABEL_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87474,9 +86466,7 @@ class Test_TC_BIND_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87532,9 +86522,7 @@ class Test_TC_BIND_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87590,9 +86578,7 @@ class Test_TC_S_1_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87648,9 +86634,7 @@ class Test_TC_S_2_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87706,9 +86690,7 @@ class Test_TC_S_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87764,9 +86746,7 @@ class Test_TC_S_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87822,9 +86802,7 @@ class Test_TC_S_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods @@ -87880,9 +86858,7 @@ class Test_TC_PCC_3_1Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { - return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; - } + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // // Tests methods diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index 7e384dd3be0cb6..e3c975ce657b71 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -558,7 +558,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -584,7 +584,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -635,7 +635,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index 9ca46ce02fdb95..78b3cadb3fcd5a 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 30d8dfb6c42ba0..9226fa764a8c26 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index 1a82e4f6476bcd..b4f1b5e861f23d 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 9df040782130ed..22deb0dc7ab73c 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -262,7 +262,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -288,7 +288,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -339,7 +339,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index 7627894b4d994b..286d6cdea46144 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index 3405cdb9e2c48c..c9ac4cc5d26d48 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -254,7 +254,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -280,7 +280,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -331,7 +331,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index 84b39f361f1e43..f063f5b2f40c56 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -86,7 +86,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -112,7 +112,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -163,7 +163,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index 816547444d48fb..913d95c58e01c4 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index 712f145dbe19f2..644941f2439ed4 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -150,7 +150,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -176,7 +176,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -227,7 +227,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index 06f890655ea818..63bf89de19d0d8 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index a0ccb0154aec22..b7a47b8b4772eb 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -158,7 +158,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -184,7 +184,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -235,7 +235,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index 5bf8533a5f664e..a0872ecb9fcae9 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index a776571005c1ee..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index 5bf8533a5f664e..a0872ecb9fcae9 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index a776571005c1ee..2b85ab33c5f844 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -326,7 +326,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -352,7 +352,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -403,7 +403,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index f83c358f4c18ed..563a81ce02f9c0 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index 7fa6d236bc7e05..f85e4992801af6 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -214,7 +214,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -240,7 +240,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -291,7 +291,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 729ae3579bac37..84feffcd20b221 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index a875af5a8c8dd1..215febb6fc627d 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index 52a2e16846880e..da013966f443ef 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index a644d3b0760d75..edd96cd31c3e03 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -198,7 +198,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -224,7 +224,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -275,7 +275,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index 4d46824c04be17..6b2d981d04833c 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index c488eaf069cab6..77e88d263ca748 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index 86cb7fa27123b2..2fd824f91dd19b 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -111,7 +111,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -121,7 +121,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 292363f8e0d60d..41b6f28b0d995f 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -334,7 +334,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -360,7 +360,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -411,7 +411,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index 1a91c94cfdfdfa..f473d90e5f4723 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 2c13248afddfce..3a0c8c19b53d37 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -366,7 +366,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -392,7 +392,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -443,7 +443,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index b022750ab1c96c..1f4ea57f5b868b 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -56,7 +56,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback(apCommandObj, aCommandPath, - commandData); + commandData); } break; } @@ -66,7 +66,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP if (TLVError == CHIP_NO_ERROR) { wasHandled = emberAfAdministratorCommissioningClusterOpenBasicCommissioningWindowCallback( - apCommandObj, aCommandPath, commandData); + apCommandObj, aCommandPath, commandData); } break; } diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index f6ed24bd7cf242..14f002d4a19228 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -246,7 +246,7 @@ void __attribute__((weak)) emberAfRemoveFromCurrentAppTasksCallback(EmberAfAppli EmberAfAttributeWritePermission __attribute__((weak)) emberAfAllowNetworkWriteAttributeCallback(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, uint8_t * value, - uint8_t type) + uint8_t type) { return EMBER_ZCL_ATTRIBUTE_WRITE_PERMISSION_ALLOW_WRITE_NORMAL; // Default } @@ -272,7 +272,7 @@ bool __attribute__((weak)) emberAfPreMessageSendCallback(EmberAfMessageStruct * } bool __attribute__((weak)) emberAfMessageSentCallback(const MessageSendDestination & destination, EmberApsFrame * apsFrame, - uint16_t msgLen, uint8_t * message, EmberStatus status) + uint16_t msgLen, uint8_t * message, EmberStatus status) { return false; } @@ -323,7 +323,7 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib } void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, - uint16_t size, uint8_t * value) + uint16_t size, uint8_t * value) {} void __attribute__((weak)) From a761e21ca28b2dc3d72f92932e65b4fb6986740a Mon Sep 17 00:00:00 2001 From: lnikulin Date: Thu, 7 Jul 2022 16:41:30 +0300 Subject: [PATCH 11/15] Removed a modified MTRCallbackBridge.mm file from pull request --- .../CHIP/zap-generated/MTRCallbackBridge.mm | 1227 ++++++++--------- 1 file changed, 610 insertions(+), 617 deletions(-) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index c5b7d5a0c1a7a5..8b4168c4d8cdbc 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -23,9 +23,7 @@ #include -void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { - DispatchSuccess(context, nil); -}; +void MTRDefaultSuccessCallbackBridge::OnSuccessFn(void * context) { DispatchSuccess(context, nil); }; void MTRCommandSuccessCallbackBridge::OnSuccessFn(void * context, const chip::app::DataModel::NullObjectType &) { @@ -739,7 +737,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -778,7 +776,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -817,7 +815,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -856,7 +854,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -895,7 +893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -934,7 +932,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -973,7 +971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1012,7 +1010,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1051,7 +1049,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1090,7 +1088,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1129,7 +1127,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1168,7 +1166,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1207,7 +1205,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1247,7 +1245,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1287,7 +1285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1326,7 +1324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1365,7 +1363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1404,7 +1402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1443,7 +1441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1482,7 +1480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1521,7 +1519,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1557,10 +1555,10 @@ } void MTRDescriptorDeviceListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1601,7 +1599,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1640,7 +1638,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1679,7 +1677,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1718,7 +1716,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1757,7 +1755,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1796,7 +1794,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1832,10 +1830,10 @@ } void MTRBindingBindingListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1895,7 +1893,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1934,7 +1932,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -1973,7 +1971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2009,11 +2007,11 @@ } void MTRAccessControlAclListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2025,7 +2023,7 @@ if (entry_0.subjects.IsNull()) { newElement_0.subjects = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.subjects.Value().begin(); while (iter_3.Next()) { @@ -2045,7 +2043,7 @@ if (entry_0.targets.IsNull()) { newElement_0.targets = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.targets.Value().begin(); while (iter_3.Next()) { @@ -2107,10 +2105,10 @@ } void MTRAccessControlExtensionListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2151,7 +2149,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2190,7 +2188,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2229,7 +2227,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2265,10 +2263,10 @@ } void MTRBridgedActionsActionListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2277,8 +2275,8 @@ newElement_0 = [MTRBridgedActionsClusterActionStruct new]; newElement_0.actionID = [NSNumber numberWithUnsignedShort:entry_0.actionID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.supportedCommands = [NSNumber numberWithUnsignedShort:entry_0.supportedCommands]; @@ -2312,11 +2310,11 @@ } void MTRBridgedActionsEndpointListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2325,10 +2323,10 @@ newElement_0 = [MTRBridgedActionsClusterEndpointListStruct new]; newElement_0.endpointListID = [NSNumber numberWithUnsignedShort:entry_0.endpointListID]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.type = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.type)]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -2376,7 +2374,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2415,7 +2413,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2454,7 +2452,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2519,7 +2517,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2558,7 +2556,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2597,7 +2595,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2636,7 +2634,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2676,7 +2674,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2716,7 +2714,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2752,11 +2750,11 @@ } void MTROtaSoftwareUpdateRequestorDefaultOtaProvidersListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OtaSoftwareUpdateRequestor::Structs::ProviderLocation::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2799,7 +2797,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2839,7 +2837,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2879,7 +2877,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2918,7 +2916,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2957,7 +2955,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -2997,7 +2995,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3037,7 +3035,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3076,7 +3074,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3116,7 +3114,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3155,7 +3153,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3194,7 +3192,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3233,7 +3231,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3272,7 +3270,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3311,7 +3309,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3350,7 +3348,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3389,7 +3387,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3429,7 +3427,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3469,7 +3467,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3508,7 +3506,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3547,7 +3545,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3586,7 +3584,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3625,7 +3623,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3664,7 +3662,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3703,7 +3701,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3769,7 +3767,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3808,7 +3806,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3847,7 +3845,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3883,11 +3881,11 @@ } void MTRNetworkCommissioningNetworksListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3928,7 +3926,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -3967,7 +3965,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4006,7 +4004,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4045,7 +4043,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4084,7 +4082,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4123,7 +4121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4159,11 +4157,11 @@ } void MTRGeneralDiagnosticsNetworkInterfacesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4171,8 +4169,8 @@ MTRGeneralDiagnosticsClusterNetworkInterfaceType * newElement_0; newElement_0 = [MTRGeneralDiagnosticsClusterNetworkInterfaceType new]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.isOperational = [NSNumber numberWithBool:entry_0.isOperational]; if (entry_0.offPremiseServicesReachableIPv4.IsNull()) { newElement_0.offPremiseServicesReachableIPv4 = nil; @@ -4187,8 +4185,8 @@ [NSNumber numberWithBool:entry_0.offPremiseServicesReachableIPv6.Value()]; } newElement_0.hardwareAddress = [NSData dataWithBytes:entry_0.hardwareAddress.data() - length:entry_0.hardwareAddress.size()]; - { // Scope for our temporary variables + length:entry_0.hardwareAddress.size()]; + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv4Addresses.begin(); while (iter_2.Next()) { @@ -4204,7 +4202,7 @@ } newElement_0.iPv4Addresses = array_2; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.IPv6Addresses.begin(); while (iter_2.Next()) { @@ -4253,7 +4251,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4292,7 +4290,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4331,7 +4329,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4370,7 +4368,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4409,7 +4407,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4448,7 +4446,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4484,11 +4482,11 @@ } void MTRSoftwareDiagnosticsThreadMetricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4498,8 +4496,8 @@ newElement_0.id = [NSNumber numberWithUnsignedLongLong:entry_0.id]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } @@ -4550,7 +4548,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4589,7 +4587,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4628,7 +4626,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4664,11 +4662,11 @@ } void MTRThreadNetworkDiagnosticsNeighborTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::NeighborTable::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4726,11 +4724,11 @@ } void MTRThreadNetworkDiagnosticsRouteTableListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4776,7 +4774,7 @@ } void MTRThreadNetworkDiagnosticsSecurityPolicyStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & + const chip::app::DataModel::Nullable & value) { MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable objCValue; @@ -4807,7 +4805,7 @@ } void MTRThreadNetworkDiagnosticsOperationalDatasetComponentsStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable< + const chip::app::DataModel::Nullable< chip::app::Clusters::ThreadNetworkDiagnostics::Structs::OperationalDatasetComponents::DecodableType> & value) { MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable objCValue; @@ -4853,7 +4851,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4893,7 +4891,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4933,7 +4931,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -4973,7 +4971,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5012,7 +5010,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5051,7 +5049,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5090,7 +5088,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5129,7 +5127,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5169,7 +5167,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5209,7 +5207,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5248,7 +5246,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5287,7 +5285,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5326,7 +5324,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5365,7 +5363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5404,7 +5402,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5443,7 +5441,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5482,7 +5480,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5522,7 +5520,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5562,7 +5560,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5598,11 +5596,11 @@ } void MTROperationalCredentialsNOCsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5645,11 +5643,11 @@ } void MTROperationalCredentialsFabricsListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5661,8 +5659,8 @@ newElement_0.fabricId = [NSNumber numberWithUnsignedLongLong:entry_0.fabricId]; newElement_0.nodeId = [NSNumber numberWithUnsignedLongLong:entry_0.nodeId]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricIndex = [NSNumber numberWithUnsignedChar:entry_0.fabricIndex]; [array_0 addObject:newElement_0]; } @@ -5696,7 +5694,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5736,7 +5734,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5775,7 +5773,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5814,7 +5812,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5850,11 +5848,11 @@ } void MTRGroupKeyManagementGroupKeyMapListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5893,11 +5891,11 @@ } void MTRGroupKeyManagementGroupTableListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -5905,7 +5903,7 @@ MTRGroupKeyManagementClusterGroupInfoMapStruct * newElement_0; newElement_0 = [MTRGroupKeyManagementClusterGroupInfoMapStruct new]; newElement_0.groupId = [NSNumber numberWithUnsignedShort:entry_0.groupId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.endpoints.begin(); while (iter_2.Next()) { @@ -5923,8 +5921,8 @@ } if (entry_0.groupName.HasValue()) { newElement_0.groupName = [[NSString alloc] initWithBytes:entry_0.groupName.Value().data() - length:entry_0.groupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.groupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.groupName = nil; } @@ -5961,7 +5959,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6000,7 +5998,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6039,7 +6037,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6075,10 +6073,10 @@ } void MTRFixedLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6086,11 +6084,11 @@ MTRFixedLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRFixedLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6123,7 +6121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6162,7 +6160,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6201,7 +6199,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6237,10 +6235,10 @@ } void MTRUserLabelLabelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6248,11 +6246,11 @@ MTRUserLabelClusterLabelStruct * newElement_0; newElement_0 = [MTRUserLabelClusterLabelStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.value = [[NSString alloc] initWithBytes:entry_0.value.data() - length:entry_0.value.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.value.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -6285,7 +6283,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6324,7 +6322,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6363,7 +6361,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6402,7 +6400,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6441,7 +6439,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6480,7 +6478,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6516,10 +6514,10 @@ } void MTRModeSelectSupportedModesListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6527,10 +6525,10 @@ MTRModeSelectClusterModeOptionStruct * newElement_0; newElement_0 = [MTRModeSelectClusterModeOptionStruct new]; newElement_0.label = [[NSString alloc] initWithBytes:entry_0.label.data() - length:entry_0.label.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.label.size() + encoding:NSUTF8StringEncoding]; newElement_0.mode = [NSNumber numberWithUnsignedChar:entry_0.mode]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.semanticTags.begin(); while (iter_2.Next()) { @@ -6580,7 +6578,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6619,7 +6617,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6658,7 +6656,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6793,7 +6791,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6832,7 +6830,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -6871,7 +6869,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7006,7 +7004,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7045,7 +7043,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7084,7 +7082,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7123,7 +7121,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7162,7 +7160,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7201,7 +7199,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7264,7 +7262,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7304,7 +7302,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7344,7 +7342,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7383,7 +7381,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7422,7 +7420,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7461,7 +7459,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7500,7 +7498,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7539,7 +7537,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7578,7 +7576,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7617,7 +7615,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7640,7 +7638,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -7658,7 +7656,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7699,7 +7697,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7740,7 +7738,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7779,7 +7777,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7818,7 +7816,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7857,7 +7855,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7896,7 +7894,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7935,7 +7933,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -7974,7 +7972,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8013,7 +8011,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8052,7 +8050,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8091,7 +8089,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8130,7 +8128,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8169,7 +8167,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8208,7 +8206,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8247,7 +8245,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8286,7 +8284,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8325,7 +8323,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8365,7 +8363,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8405,7 +8403,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8444,7 +8442,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8483,7 +8481,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8522,7 +8520,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8561,7 +8559,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8600,7 +8598,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8639,7 +8637,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8675,10 +8673,10 @@ } void MTRChannelChannelListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8689,22 +8687,22 @@ newElement_0.minorNumber = [NSNumber numberWithUnsignedShort:entry_0.minorNumber]; if (entry_0.name.HasValue()) { newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.Value().data() - length:entry_0.name.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.name = nil; } if (entry_0.callSign.HasValue()) { newElement_0.callSign = [[NSString alloc] initWithBytes:entry_0.callSign.Value().data() - length:entry_0.callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.callSign = nil; } if (entry_0.affiliateCallSign.HasValue()) { newElement_0.affiliateCallSign = [[NSString alloc] initWithBytes:entry_0.affiliateCallSign.Value().data() - length:entry_0.affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.affiliateCallSign = nil; } @@ -8745,19 +8743,19 @@ } else { objCValue = [MTRChannelClusterLineupInfo new]; objCValue.operatorName = [[NSString alloc] initWithBytes:value.Value().operatorName.data() - length:value.Value().operatorName.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().operatorName.size() + encoding:NSUTF8StringEncoding]; if (value.Value().lineupName.HasValue()) { objCValue.lineupName = [[NSString alloc] initWithBytes:value.Value().lineupName.Value().data() - length:value.Value().lineupName.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().lineupName.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.lineupName = nil; } if (value.Value().postalCode.HasValue()) { objCValue.postalCode = [[NSString alloc] initWithBytes:value.Value().postalCode.Value().data() - length:value.Value().postalCode.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().postalCode.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.postalCode = nil; } @@ -8794,22 +8792,22 @@ objCValue.minorNumber = [NSNumber numberWithUnsignedShort:value.Value().minorNumber]; if (value.Value().name.HasValue()) { objCValue.name = [[NSString alloc] initWithBytes:value.Value().name.Value().data() - length:value.Value().name.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().name.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.name = nil; } if (value.Value().callSign.HasValue()) { objCValue.callSign = [[NSString alloc] initWithBytes:value.Value().callSign.Value().data() - length:value.Value().callSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().callSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.callSign = nil; } if (value.Value().affiliateCallSign.HasValue()) { objCValue.affiliateCallSign = [[NSString alloc] initWithBytes:value.Value().affiliateCallSign.Value().data() - length:value.Value().affiliateCallSign.Value().size() - encoding:NSUTF8StringEncoding]; + length:value.Value().affiliateCallSign.Value().size() + encoding:NSUTF8StringEncoding]; } else { objCValue.affiliateCallSign = nil; } @@ -8837,7 +8835,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8876,7 +8874,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8915,7 +8913,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8951,10 +8949,10 @@ } void MTRTargetNavigatorTargetListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -8963,8 +8961,8 @@ newElement_0 = [MTRTargetNavigatorClusterTargetInfo new]; newElement_0.identifier = [NSNumber numberWithUnsignedChar:entry_0.identifier]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -8997,7 +8995,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9036,7 +9034,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9075,7 +9073,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9111,7 +9109,7 @@ } void MTRMediaPlaybackSampledPositionStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRMediaPlaybackClusterPlaybackPosition * _Nullable objCValue; if (value.IsNull()) { @@ -9148,7 +9146,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9187,7 +9185,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9226,7 +9224,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9262,10 +9260,10 @@ } void MTRMediaInputInputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9275,11 +9273,11 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.inputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.inputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; newElement_0.descriptionString = [[NSString alloc] initWithBytes:entry_0.description.data() - length:entry_0.description.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.description.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9312,7 +9310,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9351,7 +9349,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9390,7 +9388,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9429,7 +9427,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9468,7 +9466,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9507,7 +9505,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9546,7 +9544,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9585,7 +9583,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9624,7 +9622,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9663,7 +9661,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9702,7 +9700,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9741,7 +9739,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9780,7 +9778,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9816,10 +9814,10 @@ } void MTRAudioOutputOutputListListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9829,8 +9827,8 @@ newElement_0.index = [NSNumber numberWithUnsignedChar:entry_0.index]; newElement_0.outputType = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.outputType)]; newElement_0.name = [[NSString alloc] initWithBytes:entry_0.name.data() - length:entry_0.name.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.name.size() + encoding:NSUTF8StringEncoding]; [array_0 addObject:newElement_0]; } CHIP_ERROR err = iter_0.GetStatus(); @@ -9863,7 +9861,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9902,7 +9900,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9941,7 +9939,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -9980,7 +9978,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10016,7 +10014,7 @@ } void MTRApplicationLauncherCurrentAppStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRApplicationLauncherClusterApplicationEP * _Nullable objCValue; if (value.IsNull()) { @@ -10026,8 +10024,8 @@ objCValue.application = [MTRApplicationLauncherClusterApplication new]; objCValue.application.catalogVendorId = [NSNumber numberWithUnsignedShort:value.Value().application.catalogVendorId]; objCValue.application.applicationId = [[NSString alloc] initWithBytes:value.Value().application.applicationId.data() - length:value.Value().application.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().application.applicationId.size() + encoding:NSUTF8StringEncoding]; if (value.Value().endpoint.HasValue()) { objCValue.endpoint = [NSNumber numberWithUnsignedShort:value.Value().endpoint.Value()]; } else { @@ -10057,7 +10055,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10096,7 +10094,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10135,7 +10133,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10177,8 +10175,8 @@ objCValue = [MTRApplicationBasicClusterApplicationBasicApplication new]; objCValue.catalogVendorId = [NSNumber numberWithUnsignedShort:value.catalogVendorId]; objCValue.applicationId = [[NSString alloc] initWithBytes:value.applicationId.data() - length:value.applicationId.size() - encoding:NSUTF8StringEncoding]; + length:value.applicationId.size() + encoding:NSUTF8StringEncoding]; DispatchSuccess(context, objCValue); }; @@ -10202,7 +10200,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10241,7 +10239,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10280,7 +10278,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10319,7 +10317,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10358,7 +10356,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10397,7 +10395,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10436,7 +10434,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10475,7 +10473,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10514,7 +10512,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10553,7 +10551,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10688,7 +10686,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10727,7 +10725,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10763,11 +10761,11 @@ } void MTRTestClusterListStructOctetStringListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10805,11 +10803,11 @@ } void MTRTestClusterListNullablesAndOptionalsStructListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList< + const chip::app::DataModel::DecodableList< chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::DecodableType> & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -10840,13 +10838,13 @@ newElement_0.nullableString = nil; } else { newElement_0.nullableString = [[NSString alloc] initWithBytes:entry_0.nullableString.Value().data() - length:entry_0.nullableString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableString.Value().size() + encoding:NSUTF8StringEncoding]; } if (entry_0.optionalString.HasValue()) { newElement_0.optionalString = [[NSString alloc] initWithBytes:entry_0.optionalString.Value().data() - length:entry_0.optionalString.Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalString.Value().size() + encoding:NSUTF8StringEncoding]; } else { newElement_0.optionalString = nil; } @@ -10856,8 +10854,8 @@ } else { newElement_0.nullableOptionalString = [[NSString alloc] initWithBytes:entry_0.nullableOptionalString.Value().Value().data() - length:entry_0.nullableOptionalString.Value().Value().size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalString.Value().Value().size() + encoding:NSUTF8StringEncoding]; } } else { newElement_0.nullableOptionalString = nil; @@ -10871,10 +10869,10 @@ newElement_0.nullableStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableStruct.Value().c)]; newElement_0.nullableStruct.d = [NSData dataWithBytes:entry_0.nullableStruct.Value().d.data() - length:entry_0.nullableStruct.Value().d.size()]; + length:entry_0.nullableStruct.Value().d.size()]; newElement_0.nullableStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableStruct.Value().e.data() - length:entry_0.nullableStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableStruct.Value().f.Raw()]; newElement_0.nullableStruct.g = [NSNumber numberWithFloat:entry_0.nullableStruct.Value().g]; newElement_0.nullableStruct.h = [NSNumber numberWithDouble:entry_0.nullableStruct.Value().h]; @@ -10886,10 +10884,10 @@ newElement_0.optionalStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.optionalStruct.Value().c)]; newElement_0.optionalStruct.d = [NSData dataWithBytes:entry_0.optionalStruct.Value().d.data() - length:entry_0.optionalStruct.Value().d.size()]; + length:entry_0.optionalStruct.Value().d.size()]; newElement_0.optionalStruct.e = [[NSString alloc] initWithBytes:entry_0.optionalStruct.Value().e.data() - length:entry_0.optionalStruct.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.optionalStruct.Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.optionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.optionalStruct.Value().f.Raw()]; newElement_0.optionalStruct.g = [NSNumber numberWithFloat:entry_0.optionalStruct.Value().g]; newElement_0.optionalStruct.h = [NSNumber numberWithDouble:entry_0.optionalStruct.Value().h]; @@ -10909,11 +10907,11 @@ [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.nullableOptionalStruct.Value().Value().c)]; newElement_0.nullableOptionalStruct.d = [NSData dataWithBytes:entry_0.nullableOptionalStruct.Value().Value().d.data() - length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; + length:entry_0.nullableOptionalStruct.Value().Value().d.size()]; newElement_0.nullableOptionalStruct.e = [[NSString alloc] initWithBytes:entry_0.nullableOptionalStruct.Value().Value().e.data() - length:entry_0.nullableOptionalStruct.Value().Value().e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.nullableOptionalStruct.Value().Value().e.size() + encoding:NSUTF8StringEncoding]; newElement_0.nullableOptionalStruct.f = [NSNumber numberWithUnsignedChar:entry_0.nullableOptionalStruct.Value().Value().f.Raw()]; newElement_0.nullableOptionalStruct.g = @@ -10927,7 +10925,7 @@ if (entry_0.nullableList.IsNull()) { newElement_0.nullableList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.nullableList.Value().begin(); while (iter_3.Next()) { @@ -10945,7 +10943,7 @@ } } if (entry_0.optionalList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_0.optionalList.Value().begin(); while (iter_3.Next()) { @@ -10968,7 +10966,7 @@ if (entry_0.nullableOptionalList.Value().IsNull()) { newElement_0.nullableOptionalList = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_4 = [NSMutableArray new]; auto iter_4 = entry_0.nullableOptionalList.Value().Value().begin(); while (iter_4.Next()) { @@ -11052,7 +11050,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11088,10 +11086,10 @@ } void MTRTestClusterListFabricScopedListAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::DecodableList & value) + const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11122,22 +11120,22 @@ newElement_0.nullableOptionalFabricSensitiveInt8u = nil; } newElement_0.fabricSensitiveCharString = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveCharString.data() - length:entry_0.fabricSensitiveCharString.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveCharString.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct = [MTRTestClusterClusterSimpleStruct new]; newElement_0.fabricSensitiveStruct.a = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.a]; newElement_0.fabricSensitiveStruct.b = [NSNumber numberWithBool:entry_0.fabricSensitiveStruct.b]; newElement_0.fabricSensitiveStruct.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.fabricSensitiveStruct.c)]; newElement_0.fabricSensitiveStruct.d = [NSData dataWithBytes:entry_0.fabricSensitiveStruct.d.data() - length:entry_0.fabricSensitiveStruct.d.size()]; + length:entry_0.fabricSensitiveStruct.d.size()]; newElement_0.fabricSensitiveStruct.e = [[NSString alloc] initWithBytes:entry_0.fabricSensitiveStruct.e.data() - length:entry_0.fabricSensitiveStruct.e.size() - encoding:NSUTF8StringEncoding]; + length:entry_0.fabricSensitiveStruct.e.size() + encoding:NSUTF8StringEncoding]; newElement_0.fabricSensitiveStruct.f = [NSNumber numberWithUnsignedChar:entry_0.fabricSensitiveStruct.f.Raw()]; newElement_0.fabricSensitiveStruct.g = [NSNumber numberWithFloat:entry_0.fabricSensitiveStruct.g]; newElement_0.fabricSensitiveStruct.h = [NSNumber numberWithDouble:entry_0.fabricSensitiveStruct.h]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_2 = [NSMutableArray new]; auto iter_2 = entry_0.fabricSensitiveInt8uList.begin(); while (iter_2.Next()) { @@ -11295,7 +11293,7 @@ } void MTRTestClusterNullableStructStructAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { MTRTestClusterClusterSimpleStruct * _Nullable objCValue; if (value.IsNull()) { @@ -11307,8 +11305,8 @@ objCValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value().c)]; objCValue.d = [NSData dataWithBytes:value.Value().d.data() length:value.Value().d.size()]; objCValue.e = [[NSString alloc] initWithBytes:value.Value().e.data() - length:value.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:value.Value().e.size() + encoding:NSUTF8StringEncoding]; objCValue.f = [NSNumber numberWithUnsignedChar:value.Value().f.Raw()]; objCValue.g = [NSNumber numberWithFloat:value.Value().g]; objCValue.h = [NSNumber numberWithDouble:value.Value().h]; @@ -11336,7 +11334,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11375,7 +11373,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11414,7 +11412,7 @@ void * context, const chip::app::DataModel::DecodableList & value) { NSArray * _Nonnull objCValue; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = value.begin(); while (iter_0.Next()) { @@ -11474,8 +11472,8 @@ } { response.groupName = [[NSString alloc] initWithBytes:data.groupName.data() - length:data.groupName.size() - encoding:NSUTF8StringEncoding]; + length:data.groupName.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11492,7 +11490,7 @@ } } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupList.begin(); while (iter_0.Next()) { @@ -11564,15 +11562,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11580,7 +11578,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11592,7 +11590,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11697,7 +11695,7 @@ } { if (data.sceneList.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.sceneList.Value().begin(); while (iter_1.Next()) { @@ -11759,15 +11757,15 @@ { if (data.sceneName.HasValue()) { response.sceneName = [[NSString alloc] initWithBytes:data.sceneName.Value().data() - length:data.sceneName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.sceneName.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.sceneName = nil; } } { if (data.extensionFieldSets.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.extensionFieldSets.Value().begin(); while (iter_1.Next()) { @@ -11775,7 +11773,7 @@ MTRScenesClusterExtensionFieldSet * newElement_1; newElement_1 = [MTRScenesClusterExtensionFieldSet new]; newElement_1.clusterId = [NSNumber numberWithUnsignedInt:entry_1.clusterId]; - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_3 = [NSMutableArray new]; auto iter_3 = entry_1.attributeValueList.begin(); while (iter_3.Next()) { @@ -11787,7 +11785,7 @@ } else { newElement_3.attributeId = nil; } - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_5 = [NSMutableArray new]; auto iter_5 = entry_3.attributeValue.begin(); while (iter_5.Next()) { @@ -11861,8 +11859,8 @@ { if (data.imageURI.HasValue()) { response.imageURI = [[NSString alloc] initWithBytes:data.imageURI.Value().data() - length:data.imageURI.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.imageURI.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.imageURI = nil; } @@ -11877,8 +11875,8 @@ { if (data.softwareVersionString.HasValue()) { response.softwareVersionString = [[NSString alloc] initWithBytes:data.softwareVersionString.Value().data() - length:data.softwareVersionString.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.softwareVersionString.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.softwareVersionString = nil; } @@ -11900,7 +11898,7 @@ { if (data.metadataForRequestor.HasValue()) { response.metadataForRequestor = [NSData dataWithBytes:data.metadataForRequestor.Value().data() - length:data.metadataForRequestor.Value().size()]; + length:data.metadataForRequestor.Value().size()]; } else { response.metadataForRequestor = nil; } @@ -11930,8 +11928,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11945,8 +11943,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11960,8 +11958,8 @@ } { response.debugText = [[NSString alloc] initWithBytes:data.debugText.data() - length:data.debugText.size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -11976,15 +11974,15 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } } { if (data.wiFiScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.wiFiScanResults.Value().begin(); while (iter_1.Next()) { @@ -12012,7 +12010,7 @@ } { if (data.threadScanResults.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.threadScanResults.Value().begin(); while (iter_1.Next()) { @@ -12022,12 +12020,12 @@ newElement_1.panId = [NSNumber numberWithUnsignedShort:entry_1.panId]; newElement_1.extendedPanId = [NSNumber numberWithUnsignedLongLong:entry_1.extendedPanId]; newElement_1.networkName = [[NSString alloc] initWithBytes:entry_1.networkName.data() - length:entry_1.networkName.size() - encoding:NSUTF8StringEncoding]; + length:entry_1.networkName.size() + encoding:NSUTF8StringEncoding]; newElement_1.channel = [NSNumber numberWithUnsignedShort:entry_1.channel]; newElement_1.version = [NSNumber numberWithUnsignedChar:entry_1.version]; newElement_1.extendedAddress = [NSData dataWithBytes:entry_1.extendedAddress.data() - length:entry_1.extendedAddress.size()]; + length:entry_1.extendedAddress.size()]; newElement_1.rssi = [NSNumber numberWithChar:entry_1.rssi]; newElement_1.lqi = [NSNumber numberWithUnsignedChar:entry_1.lqi]; [array_1 addObject:newElement_1]; @@ -12056,8 +12054,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12082,8 +12080,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12123,7 +12121,7 @@ auto * response = [MTROperationalCredentialsClusterAttestationResponseParams new]; { response.attestationElements = [NSData dataWithBytes:data.attestationElements.data() - length:data.attestationElements.size()]; + length:data.attestationElements.size()]; } { response.signature = [NSData dataWithBytes:data.signature.data() length:data.signature.size()]; @@ -12150,7 +12148,7 @@ } { response.attestationSignature = [NSData dataWithBytes:data.attestationSignature.data() - length:data.attestationSignature.size()]; + length:data.attestationSignature.size()]; } DispatchSuccess(context, response); }; @@ -12172,8 +12170,8 @@ { if (data.debugText.HasValue()) { response.debugText = [[NSString alloc] initWithBytes:data.debugText.Value().data() - length:data.debugText.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.debugText.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.debugText = nil; } @@ -12194,7 +12192,7 @@ response.groupKeySet.epochKey0 = nil; } else { response.groupKeySet.epochKey0 = [NSData dataWithBytes:data.groupKeySet.epochKey0.Value().data() - length:data.groupKeySet.epochKey0.Value().size()]; + length:data.groupKeySet.epochKey0.Value().size()]; } if (data.groupKeySet.epochStartTime0.IsNull()) { response.groupKeySet.epochStartTime0 = nil; @@ -12205,7 +12203,7 @@ response.groupKeySet.epochKey1 = nil; } else { response.groupKeySet.epochKey1 = [NSData dataWithBytes:data.groupKeySet.epochKey1.Value().data() - length:data.groupKeySet.epochKey1.Value().size()]; + length:data.groupKeySet.epochKey1.Value().size()]; } if (data.groupKeySet.epochStartTime1.IsNull()) { response.groupKeySet.epochStartTime1 = nil; @@ -12216,7 +12214,7 @@ response.groupKeySet.epochKey2 = nil; } else { response.groupKeySet.epochKey2 = [NSData dataWithBytes:data.groupKeySet.epochKey2.Value().data() - length:data.groupKeySet.epochKey2.Value().size()]; + length:data.groupKeySet.epochKey2.Value().size()]; } if (data.groupKeySet.epochStartTime2.IsNull()) { response.groupKeySet.epochStartTime2 = nil; @@ -12232,7 +12230,7 @@ { auto * response = [MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.groupKeySetIDs.begin(); while (iter_0.Next()) { @@ -12379,8 +12377,8 @@ response.userName = nil; } else { response.userName = [[NSString alloc] initWithBytes:data.userName.Value().data() - length:data.userName.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.userName.Value().size() + encoding:NSUTF8StringEncoding]; } } { @@ -12415,7 +12413,7 @@ if (data.credentials.IsNull()) { response.credentials = nil; } else { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.credentials.Value().begin(); while (iter_1.Next()) { @@ -12535,7 +12533,7 @@ response.modeForSequence = [NSNumber numberWithUnsignedChar:data.modeForSequence.Raw()]; } { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.transitions.begin(); while (iter_0.Next()) { @@ -12576,8 +12574,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12595,8 +12593,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12614,8 +12612,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12643,8 +12641,8 @@ { if (data.data.HasValue()) { response.data = [[NSString alloc] initWithBytes:data.data.Value().data() - length:data.data.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.data.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.data = nil; } @@ -12671,8 +12669,8 @@ auto * response = [MTRAccountLoginClusterGetSetupPINResponseParams new]; { response.setupPIN = [[NSString alloc] initWithBytes:data.setupPIN.data() - length:data.setupPIN.size() - encoding:NSUTF8StringEncoding]; + length:data.setupPIN.size() + encoding:NSUTF8StringEncoding]; } DispatchSuccess(context, response); }; @@ -12711,190 +12709,185 @@ void * context, const chip::app::Clusters::TestCluster::Commands::TestStructArrayArgumentResponse::DecodableType & data) { auto * response = [MTRTestClusterClusterTestStructArrayArgumentResponseParams new]; - { - { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; - auto iter_0 = data.arg1.begin(); - while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - MTRTestClusterClusterNestedStructList * newElement_0; - newElement_0 = [MTRTestClusterClusterNestedStructList new]; - newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; - newElement_0.b = [NSNumber numberWithBool:entry_0.b]; - newElement_0.c = [MTRTestClusterClusterSimpleStruct new]; - newElement_0.c.a = [NSNumber numberWithUnsignedChar:entry_0.c.a]; - newElement_0.c.b = [NSNumber numberWithBool:entry_0.c.b]; - newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; - newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; - newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() - length:entry_0.c.e.size() - encoding:NSUTF8StringEncoding]; - newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; - newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; - newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; - { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.d.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - MTRTestClusterClusterSimpleStruct * newElement_2; - newElement_2 = [MTRTestClusterClusterSimpleStruct new]; - newElement_2.a = [NSNumber numberWithUnsignedChar:entry_2.a]; - newElement_2.b = [NSNumber numberWithBool:entry_2.b]; - newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; - newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; - newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() - length:entry_2.e.size() - encoding:NSUTF8StringEncoding]; - newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; - newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; - newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; - [array_2 addObject:newElement_2]; - } - CHIP_ERROR err = iter_2.GetStatus(); - if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; - } - newElement_0.d = array_2; - } - { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.e.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSNumber * newElement_2; - newElement_2 = [NSNumber numberWithUnsignedInt:entry_2]; - [array_2 addObject:newElement_2]; - } - CHIP_ERROR err = iter_2.GetStatus(); - if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; - } - newElement_0.e = array_2; - } - { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.f.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSData * newElement_2; - newElement_2 = [NSData dataWithBytes:entry_2.data() length:entry_2.size()]; - [array_2 addObject:newElement_2]; - } - CHIP_ERROR err = iter_2.GetStatus(); - if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; - } - newElement_0.f = array_2; - } - { // Scope for our temporary variables - auto * array_2 = [NSMutableArray new]; - auto iter_2 = entry_0.g.begin(); - while (iter_2.Next()) { - auto & entry_2 = iter_2.GetValue(); - NSNumber * newElement_2; - newElement_2 = [NSNumber numberWithUnsignedChar:entry_2]; - [array_2 addObject:newElement_2]; - } - CHIP_ERROR err = iter_2.GetStatus(); - if (err != CHIP_NO_ERROR) { - OnFailureFn(context, err); - return; - } - newElement_0.g = array_2; - } - [array_0 addObject:newElement_0]; + { { // Scope for our temporary variables + auto * array_0 = [NSMutableArray new]; + auto iter_0 = data.arg1.begin(); + while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + MTRTestClusterClusterNestedStructList * newElement_0; + newElement_0 = [MTRTestClusterClusterNestedStructList new]; + newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; + newElement_0.b = [NSNumber numberWithBool:entry_0.b]; + newElement_0.c = [MTRTestClusterClusterSimpleStruct new]; + newElement_0.c.a = [NSNumber numberWithUnsignedChar:entry_0.c.a]; + newElement_0.c.b = [NSNumber numberWithBool:entry_0.c.b]; + newElement_0.c.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c.c)]; + newElement_0.c.d = [NSData dataWithBytes:entry_0.c.d.data() length:entry_0.c.d.size()]; + newElement_0.c.e = [[NSString alloc] initWithBytes:entry_0.c.e.data() + length:entry_0.c.e.size() + encoding:NSUTF8StringEncoding]; + newElement_0.c.f = [NSNumber numberWithUnsignedChar:entry_0.c.f.Raw()]; + newElement_0.c.g = [NSNumber numberWithFloat:entry_0.c.g]; + newElement_0.c.h = [NSNumber numberWithDouble:entry_0.c.h]; + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.d.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + MTRTestClusterClusterSimpleStruct * newElement_2; + newElement_2 = [MTRTestClusterClusterSimpleStruct new]; + newElement_2.a = [NSNumber numberWithUnsignedChar:entry_2.a]; + newElement_2.b = [NSNumber numberWithBool:entry_2.b]; + newElement_2.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_2.c)]; + newElement_2.d = [NSData dataWithBytes:entry_2.d.data() length:entry_2.d.size()]; + newElement_2.e = [[NSString alloc] initWithBytes:entry_2.e.data() + length:entry_2.e.size() + encoding:NSUTF8StringEncoding]; + newElement_2.f = [NSNumber numberWithUnsignedChar:entry_2.f.Raw()]; + newElement_2.g = [NSNumber numberWithFloat:entry_2.g]; + newElement_2.h = [NSNumber numberWithDouble:entry_2.h]; + [array_2 addObject:newElement_2]; } - CHIP_ERROR err = iter_0.GetStatus(); + CHIP_ERROR err = iter_2.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - response.arg1 = array_0; - } - } - { - { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; - auto iter_0 = data.arg2.begin(); - while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - MTRTestClusterClusterSimpleStruct * newElement_0; - newElement_0 = [MTRTestClusterClusterSimpleStruct new]; - newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; - newElement_0.b = [NSNumber numberWithBool:entry_0.b]; - newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; - newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; - newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() - length:entry_0.e.size() - encoding:NSUTF8StringEncoding]; - newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; - newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; - newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; - [array_0 addObject:newElement_0]; + newElement_0.d = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.e.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSNumber * newElement_2; + newElement_2 = [NSNumber numberWithUnsignedInt:entry_2]; + [array_2 addObject:newElement_2]; } - CHIP_ERROR err = iter_0.GetStatus(); + CHIP_ERROR err = iter_2.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - response.arg2 = array_0; - } - } - { - { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; - auto iter_0 = data.arg3.begin(); - while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - NSNumber * newElement_0; - newElement_0 = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0)]; - [array_0 addObject:newElement_0]; + newElement_0.e = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.f.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSData * newElement_2; + newElement_2 = [NSData dataWithBytes:entry_2.data() length:entry_2.size()]; + [array_2 addObject:newElement_2]; } - CHIP_ERROR err = iter_0.GetStatus(); + CHIP_ERROR err = iter_2.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - response.arg3 = array_0; - } - } - { - { // Scope for our temporary variables - auto * array_0 = [NSMutableArray new]; - auto iter_0 = data.arg4.begin(); - while (iter_0.Next()) { - auto & entry_0 = iter_0.GetValue(); - NSNumber * newElement_0; - newElement_0 = [NSNumber numberWithBool:entry_0]; - [array_0 addObject:newElement_0]; + newElement_0.f = array_2; + } + { // Scope for our temporary variables + auto * array_2 = [NSMutableArray new]; + auto iter_2 = entry_0.g.begin(); + while (iter_2.Next()) { + auto & entry_2 = iter_2.GetValue(); + NSNumber * newElement_2; + newElement_2 = [NSNumber numberWithUnsignedChar:entry_2]; + [array_2 addObject:newElement_2]; } - CHIP_ERROR err = iter_0.GetStatus(); + CHIP_ERROR err = iter_2.GetStatus(); if (err != CHIP_NO_ERROR) { OnFailureFn(context, err); return; } - response.arg4 = array_0; + newElement_0.g = array_2; } + [array_0 addObject:newElement_0]; } - { - response.arg5 = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg5)]; - } - { - response.arg6 = [NSNumber numberWithBool:data.arg6]; + CHIP_ERROR err = iter_0.GetStatus(); + if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; } - DispatchSuccess(context, response); -}; + response.arg1 = array_0; +} +} +{ { // Scope for our temporary variables + auto * array_0 = [NSMutableArray new]; +auto iter_0 = data.arg2.begin(); +while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + MTRTestClusterClusterSimpleStruct * newElement_0; + newElement_0 = [MTRTestClusterClusterSimpleStruct new]; + newElement_0.a = [NSNumber numberWithUnsignedChar:entry_0.a]; + newElement_0.b = [NSNumber numberWithBool:entry_0.b]; + newElement_0.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0.c)]; + newElement_0.d = [NSData dataWithBytes:entry_0.d.data() length:entry_0.d.size()]; + newElement_0.e = [[NSString alloc] initWithBytes:entry_0.e.data() length:entry_0.e.size() encoding:NSUTF8StringEncoding]; + newElement_0.f = [NSNumber numberWithUnsignedChar:entry_0.f.Raw()]; + newElement_0.g = [NSNumber numberWithFloat:entry_0.g]; + newElement_0.h = [NSNumber numberWithDouble:entry_0.h]; + [array_0 addObject:newElement_0]; +} +CHIP_ERROR err = iter_0.GetStatus(); +if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; +} +response.arg2 = array_0; +} +} +{ { // Scope for our temporary variables + auto * array_0 = [NSMutableArray new]; +auto iter_0 = data.arg3.begin(); +while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + NSNumber * newElement_0; + newElement_0 = [NSNumber numberWithUnsignedChar:chip::to_underlying(entry_0)]; + [array_0 addObject:newElement_0]; +} +CHIP_ERROR err = iter_0.GetStatus(); +if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; +} +response.arg3 = array_0; +} +} +{ { // Scope for our temporary variables + auto * array_0 = [NSMutableArray new]; +auto iter_0 = data.arg4.begin(); +while (iter_0.Next()) { + auto & entry_0 = iter_0.GetValue(); + NSNumber * newElement_0; + newElement_0 = [NSNumber numberWithBool:entry_0]; + [array_0 addObject:newElement_0]; +} +CHIP_ERROR err = iter_0.GetStatus(); +if (err != CHIP_NO_ERROR) { + OnFailureFn(context, err); + return; +} +response.arg4 = array_0; +} +} +{ + response.arg5 = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg5)]; +} +{ + response.arg6 = [NSNumber numberWithBool:data.arg6]; +} +DispatchSuccess(context, response); +} +; void MTRTestClusterClusterTestListInt8UReverseResponseCallbackBridge::OnSuccessFn( void * context, const chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseResponse::DecodableType & data) { auto * response = [MTRTestClusterClusterTestListInt8UReverseResponseParams new]; { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; auto iter_0 = data.arg1.begin(); while (iter_0.Next()) { @@ -13009,8 +13002,8 @@ { if (data.nullableStringValue.HasValue()) { response.nullableStringValue = [[NSString alloc] initWithBytes:data.nullableStringValue.Value().data() - length:data.nullableStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableStringValue = nil; } @@ -13021,8 +13014,8 @@ { if (data.optionalStringValue.HasValue()) { response.optionalStringValue = [[NSString alloc] initWithBytes:data.optionalStringValue.Value().data() - length:data.optionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.optionalStringValue = nil; } @@ -13040,8 +13033,8 @@ { if (data.nullableOptionalStringValue.HasValue()) { response.nullableOptionalStringValue = [[NSString alloc] initWithBytes:data.nullableOptionalStringValue.Value().data() - length:data.nullableOptionalStringValue.Value().size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStringValue.Value().size() + encoding:NSUTF8StringEncoding]; } else { response.nullableOptionalStringValue = nil; } @@ -13057,10 +13050,10 @@ response.nullableStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableStructValue.Value().c)]; response.nullableStructValue.d = [NSData dataWithBytes:data.nullableStructValue.Value().d.data() - length:data.nullableStructValue.Value().d.size()]; + length:data.nullableStructValue.Value().d.size()]; response.nullableStructValue.e = [[NSString alloc] initWithBytes:data.nullableStructValue.Value().e.data() - length:data.nullableStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableStructValue.Value().f.Raw()]; response.nullableStructValue.g = [NSNumber numberWithFloat:data.nullableStructValue.Value().g]; response.nullableStructValue.h = [NSNumber numberWithDouble:data.nullableStructValue.Value().h]; @@ -13079,10 +13072,10 @@ response.optionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.optionalStructValue.Value().c)]; response.optionalStructValue.d = [NSData dataWithBytes:data.optionalStructValue.Value().d.data() - length:data.optionalStructValue.Value().d.size()]; + length:data.optionalStructValue.Value().d.size()]; response.optionalStructValue.e = [[NSString alloc] initWithBytes:data.optionalStructValue.Value().e.data() - length:data.optionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.optionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.optionalStructValue.f = [NSNumber numberWithUnsignedChar:data.optionalStructValue.Value().f.Raw()]; response.optionalStructValue.g = [NSNumber numberWithFloat:data.optionalStructValue.Value().g]; response.optionalStructValue.h = [NSNumber numberWithDouble:data.optionalStructValue.Value().h]; @@ -13108,11 +13101,11 @@ response.nullableOptionalStructValue.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.nullableOptionalStructValue.Value().c)]; response.nullableOptionalStructValue.d = [NSData dataWithBytes:data.nullableOptionalStructValue.Value().d.data() - length:data.nullableOptionalStructValue.Value().d.size()]; + length:data.nullableOptionalStructValue.Value().d.size()]; response.nullableOptionalStructValue.e = [[NSString alloc] initWithBytes:data.nullableOptionalStructValue.Value().e.data() - length:data.nullableOptionalStructValue.Value().e.size() - encoding:NSUTF8StringEncoding]; + length:data.nullableOptionalStructValue.Value().e.size() + encoding:NSUTF8StringEncoding]; response.nullableOptionalStructValue.f = [NSNumber numberWithUnsignedChar:data.nullableOptionalStructValue.Value().f.Raw()]; response.nullableOptionalStructValue.g = [NSNumber numberWithFloat:data.nullableOptionalStructValue.Value().g]; @@ -13126,7 +13119,7 @@ } { if (data.nullableListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableListValue.Value().begin(); while (iter_1.Next()) { @@ -13151,7 +13144,7 @@ } { if (data.optionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.optionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13183,7 +13176,7 @@ } { if (data.nullableOptionalListValue.HasValue()) { - { // Scope for our temporary variables + { // Scope for our temporary variables auto * array_1 = [NSMutableArray new]; auto iter_1 = data.nullableOptionalListValue.Value().begin(); while (iter_1.Next()) { @@ -13227,8 +13220,8 @@ response.arg1.c = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.arg1.c)]; response.arg1.d = [NSData dataWithBytes:data.arg1.d.data() length:data.arg1.d.size()]; response.arg1.e = [[NSString alloc] initWithBytes:data.arg1.e.data() - length:data.arg1.e.size() - encoding:NSUTF8StringEncoding]; + length:data.arg1.e.size() + encoding:NSUTF8StringEncoding]; response.arg1.f = [NSNumber numberWithUnsignedChar:data.arg1.f.Raw()]; response.arg1.g = [NSNumber numberWithFloat:data.arg1.g]; response.arg1.h = [NSNumber numberWithDouble:data.arg1.h]; @@ -14277,7 +14270,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTAApplyUpdateActionAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14292,7 +14285,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14332,7 +14325,7 @@ } void MTRNullableOtaSoftwareUpdateProviderClusterOTADownloadProtocolAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14442,7 +14435,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14454,11 +14447,11 @@ }; void MTRNullableOtaSoftwareUpdateRequestorClusterOTAAnnouncementReasonAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14499,7 +14492,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAChangeReasonEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -14514,7 +14507,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -14554,7 +14547,7 @@ } void MTRNullableOtaSoftwareUpdateRequestorClusterOTAUpdateStateEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15293,7 +15286,7 @@ } void MTRNullableNetworkCommissioningClusterNetworkCommissioningStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15309,7 +15302,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15929,7 +15922,7 @@ } void MTRNullableThreadNetworkDiagnosticsClusterThreadConnectionStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -15945,7 +15938,7 @@ { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -15986,7 +15979,7 @@ } void MTRNullableWiFiNetworkDiagnosticsClusterAssociationFailureCauseAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16001,7 +15994,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16258,7 +16251,7 @@ } void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -16270,11 +16263,11 @@ }; void MTRNullableAdministratorCommissioningClusterCommissioningWindowStatusAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -16367,7 +16360,7 @@ } void MTRNullableOperationalCredentialsClusterOperationalCertStatusAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -17678,7 +17671,7 @@ } void MTRNullablePumpConfigurationAndControlClusterPumpOperationModeAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19148,7 +19141,7 @@ } void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19160,11 +19153,11 @@ }; void MTRNullableApplicationLauncherClusterApplicationLauncherStatusEnumAttributeCallbackSubscriptionBridge:: -OnSubscriptionEstablished(void * context) + OnSubscriptionEstablished(void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } @@ -19364,7 +19357,7 @@ } void MTRNullableMessagingClusterMessagingControlEnhancedConfirmationAttributeCallbackBridge::OnSuccessFn(void * context, - const chip::app::DataModel::Nullable & value) + const chip::app::DataModel::Nullable & value) { NSNumber * _Nullable objCValue; if (value.IsNull()) { @@ -19379,7 +19372,7 @@ void * context) { auto * self = static_cast( - context); + context); if (!self->mQueue) { return; } From 41a9a85a04ccf0a034906489201cdd98831a9cf5 Mon Sep 17 00:00:00 2001 From: lnikulin Date: Thu, 7 Jul 2022 17:01:10 +0300 Subject: [PATCH 12/15] Removed a modified zzz_generated/chip-tool/zap-generated/test/Commands.h file from pull request --- .../chip-tool/zap-generated/test/Commands.h | 120 +++++++++--------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 1bc45f589853d8..9c2c21f6ff14b2 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -20840,11 +20840,11 @@ class Test_TC_MF_1_3Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73812,11 +73812,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73844,11 +73844,11 @@ class Test_TC_MF_1_28Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -73987,11 +73987,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74022,11 +74022,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74083,11 +74083,11 @@ class Test_TC_MF_1_5Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -74519,11 +74519,11 @@ class Test_TC_MF_1_9Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75290,11 +75290,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75322,11 +75322,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75342,11 +75342,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75374,11 +75374,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); @@ -75394,11 +75394,11 @@ class Test_TC_MF_1_15Suite : public TestCommand chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; value.PAKEVerifier = chip::ByteSpan( - chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" - "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), - 97); + chip::Uint8::from_const_char("\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" + "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" + "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357" + "\326\360,D4\362\275\322z\244\371\316\247\015s\216Lgarbage: not in length on purpose"), + 97); value.discriminator = 3840U; value.iterations = 1000UL; value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); From de9bf51f0787fed9b41e2f30282ef5b26a1c579e Mon Sep 17 00:00:00 2001 From: lnikulin Date: Thu, 7 Jul 2022 17:31:06 +0300 Subject: [PATCH 13/15] remove all autogenerated files from PR --- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../app-common/zap-generated/callback.h | 8 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 38 ------------------- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../lock-app/zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../app1/zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../app2/zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../pump-app/zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../tv-app/zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- .../zap-generated/IMClusterCommandHandler.cpp | 2 +- .../zap-generated/callback-stub.cpp | 7 ---- 65 files changed, 31 insertions(+), 301 deletions(-) diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index da6fb7fcf7a1e4..9f7a13348a8157 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -2008,7 +2008,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index 488fb3efd18d04..dea4049e28b3cf 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -629,10 +629,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp index 3d55fab073d3bb..35d2c30acf31cc 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/IMClusterCommandHandler.cpp @@ -1700,7 +1700,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AccountLogin::Id: diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp index 09dcd4d0dc2491..4f6d431583fd13 100644 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-minimal-app/zap-generated/callback-stub.cpp @@ -597,10 +597,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} 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 3364c8a743e3fd..393a046cb1809a 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -14028,11 +14028,3 @@ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const */ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value); - -/** @brief Pre Execute command callback - * @param commandObj Command object - * @param commandPath Concrete command path to be executed - * - * This function is called by the framework before execute any command - */ -void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath); diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp index c25c1486217cb1..93cd15f439ed14 100644 --- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp @@ -723,7 +723,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp index 05fbff1c7e03d3..7eeef79f72fcc9 100644 --- a/zzz_generated/bridge-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/bridge-app/zap-generated/callback-stub.cpp @@ -317,10 +317,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/IMClusterCommandHandler.cpp @@ -790,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp index 52dacae6648fc2..0048f359fa28fd 100644 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp index c8f10822dc4a20..1edd0f7bd44eac 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/IMClusterCommandHandler.cpp @@ -1036,7 +1036,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp index 0c8c71ad640a6c..6fd5c04396147f 100644 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/callback-stub.cpp @@ -349,10 +349,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/IMClusterCommandHandler.cpp @@ -790,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp index 78909a92774d5f..e67653133c0dc2 100644 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp index c8f10822dc4a20..1edd0f7bd44eac 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/IMClusterCommandHandler.cpp @@ -1036,7 +1036,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp index abd8a2e0790b32..83427624f287f4 100644 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/callback-stub.cpp @@ -357,10 +357,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp index 12cbf459213165..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/IMClusterCommandHandler.cpp @@ -51,7 +51,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::OpenCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -62,7 +61,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::OpenBasicCommissioningWindow::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::OpenBasicCommissioningWindow::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -73,7 +71,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RevokeCommissioning::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RevokeCommissioning::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -112,7 +109,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::RetrieveLogsRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RetrieveLogsRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -150,7 +146,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -188,7 +183,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ArmFailSafe::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ArmFailSafe::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -198,7 +192,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::SetRegulatoryConfig::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::SetRegulatoryConfig::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -208,7 +201,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CommissioningComplete::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CommissioningComplete::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -247,7 +239,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::TestEventTrigger::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::TestEventTrigger::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -285,7 +276,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::KeySetWrite::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetWrite::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -295,7 +285,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRead::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRead::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -305,7 +294,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetRemove::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetRemove::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -315,7 +303,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::KeySetReadAllIndices::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::KeySetReadAllIndices::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -353,7 +340,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AddGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -363,7 +349,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ViewGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ViewGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -373,7 +358,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::GetGroupMembership::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::GetGroupMembership::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -383,7 +367,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveGroup::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveGroup::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -393,7 +376,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveAllGroups::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveAllGroups::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -403,7 +385,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddGroupIfIdentifying::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddGroupIfIdentifying::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -441,7 +422,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::Identify::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::Identify::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -479,7 +459,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ScanNetworks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ScanNetworks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -489,7 +468,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateWiFiNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateWiFiNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -500,7 +478,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddOrUpdateThreadNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddOrUpdateThreadNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -511,7 +488,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -521,7 +497,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ConnectNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ConnectNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -531,7 +506,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::ReorderNetwork::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ReorderNetwork::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -569,7 +543,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AnnounceOtaProvider::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AnnounceOtaProvider::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -608,7 +581,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::AttestationRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AttestationRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -619,7 +591,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CertificateChainRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CertificateChainRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -630,7 +601,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::CSRRequest::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::CSRRequest::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -640,7 +610,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -650,7 +619,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateNOC::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateNOC::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -660,7 +628,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::UpdateFabricLabel::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::UpdateFabricLabel::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -670,7 +637,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::RemoveFabric::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::RemoveFabric::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -680,7 +646,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP break; } case Commands::AddTrustedRootCertificate::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::AddTrustedRootCertificate::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -719,7 +684,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetWatermarks::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetWatermarks::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -757,7 +721,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) @@ -795,7 +758,6 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP switch (aCommandPath.mCommandId) { case Commands::ResetCounts::Id: { - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); Commands::ResetCounts::DecodableType commandData; TLVError = DataModel::Decode(aDataTlv, commandData); if (TLVError == CHIP_NO_ERROR) diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp index 83772e1243c71e..5b01c84b47b28d 100644 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/IMClusterCommandHandler.cpp @@ -790,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp index 5a89e1d8d9eb19..f59b1abac8ceab 100644 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp index 79785a5101328f..62475c9742ac68 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/IMClusterCommandHandler.cpp @@ -936,7 +936,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp index abf37f285b25bb..165c3d1c54a5de 100644 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/callback-stub.cpp @@ -333,10 +333,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp index 79785a5101328f..62475c9742ac68 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/IMClusterCommandHandler.cpp @@ -936,7 +936,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp index abf37f285b25bb..165c3d1c54a5de 100644 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/callback-stub.cpp @@ -333,10 +333,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/IMClusterCommandHandler.cpp @@ -790,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp index 7d29c3a5d9df11..9a94176c2694b4 100644 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp index f6b7e41892ec6d..2e8cd185f2d527 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/IMClusterCommandHandler.cpp @@ -945,7 +945,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp index 98decb6cc951f1..6e356bf49c9130 100644 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/callback-stub.cpp @@ -333,10 +333,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp index 1ac3186b59113e..daeee2cf70a361 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/IMClusterCommandHandler.cpp @@ -790,7 +790,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp index 03c232ac1803d5..44e831a55c94db 100644 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp index fa55c85f11d0ab..847dba402796c9 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/IMClusterCommandHandler.cpp @@ -918,7 +918,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp index 7bfcc36ffb3804..5243413e9400fe 100644 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/callback-stub.cpp @@ -381,10 +381,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp index e211c30d64b61d..90ac0a59359f3a 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/IMClusterCommandHandler.cpp @@ -972,7 +972,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp index fb22277adb7ca5..f5e18ae9e2bcf9 100644 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp +++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/callback-stub.cpp @@ -333,10 +333,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp index 8e224751aa3434..dbcfc737576d37 100644 --- a/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp @@ -46,7 +46,7 @@ namespace Clusters { void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { default: diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index e3c975ce657b71..43d9fce595d6bb 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -637,10 +637,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp index 78b3cadb3fcd5a..c7d1360efc3716 100644 --- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp @@ -799,7 +799,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp index 9226fa764a8c26..1e70ab52a91a1d 100644 --- a/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/light-switch-app/zap-generated/callback-stub.cpp @@ -341,10 +341,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp index b4f1b5e861f23d..adf2da73d06244 100644 --- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp @@ -1181,7 +1181,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp index 22deb0dc7ab73c..20850267856b32 100644 --- a/zzz_generated/lighting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lighting-app/zap-generated/callback-stub.cpp @@ -341,10 +341,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp index 286d6cdea46144..1469e552ae8d61 100644 --- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp @@ -1035,7 +1035,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/lock-app/zap-generated/callback-stub.cpp b/zzz_generated/lock-app/zap-generated/callback-stub.cpp index c9ac4cc5d26d48..974f74079e8887 100644 --- a/zzz_generated/lock-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/lock-app/zap-generated/callback-stub.cpp @@ -333,10 +333,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp index 9c3ab668630c31..46d11e98f9b497 100644 --- a/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/log-source-app/zap-generated/IMClusterCommandHandler.cpp @@ -317,7 +317,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::DiagnosticLogs::Id: diff --git a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp index f063f5b2f40c56..5470d69131e3ae 100644 --- a/zzz_generated/log-source-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/log-source-app/zap-generated/callback-stub.cpp @@ -165,10 +165,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp index 913d95c58e01c4..ece8a2796af23e 100644 --- a/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/IMClusterCommandHandler.cpp @@ -505,7 +505,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp index 644941f2439ed4..d20319aac67bb5 100644 --- a/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-provider-app/zap-generated/callback-stub.cpp @@ -229,10 +229,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp index 63bf89de19d0d8..38d4d0183bfaeb 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/IMClusterCommandHandler.cpp @@ -486,7 +486,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp index b7a47b8b4772eb..b6c48d90d88d71 100644 --- a/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/ota-requestor-app/zap-generated/callback-stub.cpp @@ -237,10 +237,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp index a0872ecb9fcae9..1e57879feda325 100644 --- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp @@ -1190,7 +1190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp index 2b85ab33c5f844..96c039753c968a 100644 --- a/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/callback-stub.cpp @@ -405,10 +405,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp index a0872ecb9fcae9..1e57879feda325 100644 --- a/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/IMClusterCommandHandler.cpp @@ -1190,7 +1190,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp index 2b85ab33c5f844..96c039753c968a 100644 --- a/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/callback-stub.cpp @@ -405,10 +405,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp index 563a81ce02f9c0..61326d20165fff 100644 --- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp @@ -705,7 +705,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/pump-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-app/zap-generated/callback-stub.cpp index f85e4992801af6..e9fde2c7b8c439 100644 --- a/zzz_generated/pump-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-app/zap-generated/callback-stub.cpp @@ -293,10 +293,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp index 84feffcd20b221..b9b666fe3a3bf9 100644 --- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp @@ -550,7 +550,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp index 215febb6fc627d..056f140ef38382 100644 --- a/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/pump-controller-app/zap-generated/callback-stub.cpp @@ -277,10 +277,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp index da013966f443ef..cd64be13f4c933 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp @@ -512,7 +512,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp index edd96cd31c3e03..aed58a11790ccc 100644 --- a/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/temperature-measurement-app/zap-generated/callback-stub.cpp @@ -277,10 +277,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp index 6b2d981d04833c..3e268d6de55364 100644 --- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp @@ -752,7 +752,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/thermostat/zap-generated/callback-stub.cpp b/zzz_generated/thermostat/zap-generated/callback-stub.cpp index 77e88d263ca748..bbce02b0dbd3a7 100644 --- a/zzz_generated/thermostat/zap-generated/callback-stub.cpp +++ b/zzz_generated/thermostat/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp index 2fd824f91dd19b..ebfa8dcdd95cb5 100644 --- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp @@ -1293,7 +1293,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AccountLogin::Id: diff --git a/zzz_generated/tv-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-app/zap-generated/callback-stub.cpp index 41b6f28b0d995f..7ec58577fea388 100644 --- a/zzz_generated/tv-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-app/zap-generated/callback-stub.cpp @@ -413,10 +413,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp index f473d90e5f4723..aff1bbef0e70dd 100644 --- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp @@ -990,7 +990,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp index 3a0c8c19b53d37..4ad54800c7a76f 100644 --- a/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/tv-casting-app/zap-generated/callback-stub.cpp @@ -445,10 +445,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp index 1f4ea57f5b868b..de38b57f697afc 100644 --- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp @@ -870,7 +870,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { case Clusters::AdministratorCommissioning::Id: diff --git a/zzz_generated/window-app/zap-generated/callback-stub.cpp b/zzz_generated/window-app/zap-generated/callback-stub.cpp index 14f002d4a19228..4f583b0d46ac58 100644 --- a/zzz_generated/window-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/window-app/zap-generated/callback-stub.cpp @@ -325,10 +325,3 @@ MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attrib void __attribute__((weak)) MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) {} - -void __attribute__((weak)) -MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath) -{ - (void) commandObj; - (void) commandPath; -} From 97b13bcaa793f217bdd7bfab9cdd61f5d436425d Mon Sep 17 00:00:00 2001 From: lnikulin Date: Fri, 8 Jul 2022 16:27:50 +0300 Subject: [PATCH 14/15] Use existing callback MatterPreCommandReceivedCallback to notify "cmd exec" (add fabricIndex parameter) --- src/app/CommandHandler.cpp | 17 ++++++++++------- src/app/util/MatterCallbacks.h | 6 ++++-- .../templates/app/callback-stub-src.zapt | 7 ------- .../zap-templates/templates/app/callback.zapt | 9 --------- .../app/im-cluster-command-handler.zapt | 2 +- 5 files changed, 15 insertions(+), 26 deletions(-) diff --git a/src/app/CommandHandler.cpp b/src/app/CommandHandler.cpp index 95c77f04949466..517ea67959dcd8 100644 --- a/src/app/CommandHandler.cpp +++ b/src/app/CommandHandler.cpp @@ -328,9 +328,10 @@ CHIP_ERROR CommandHandler::ProcessCommandDataIB(CommandDataIB::Parser & aCommand { ChipLogDetail(DataManagement, "Received command for Endpoint=%u Cluster=" ChipLogFormatMEI " Command=" ChipLogFormatMEI, concretePath.mEndpointId, ChipLogValueMEI(concretePath.mClusterId), ChipLogValueMEI(concretePath.mCommandId)); - SuccessOrExit(MatterPreCommandReceivedCallback(concretePath)); + auto fabricIndex = GetExchangeContext()->GetSessionHandle()->GetFabricIndex(); + SuccessOrExit(MatterPreCommandReceivedCallback(concretePath, fabricIndex)); mpCallback->DispatchCommand(*this, concretePath, commandDataReader); - MatterPostCommandReceivedCallback(concretePath); + MatterPostCommandReceivedCallback(concretePath, fabricIndex); } exit: @@ -432,12 +433,12 @@ CHIP_ERROR CommandHandler::ProcessGroupCommandDataIB(CommandDataIB::Parser & aCo continue; } } - - if ((err = MatterPreCommandReceivedCallback(concretePath)) == CHIP_NO_ERROR) + auto fabricIndex = GetExchangeContext()->GetSessionHandle()->GetFabricIndex(); + if ((err = MatterPreCommandReceivedCallback(concretePath, fabricIndex)) == CHIP_NO_ERROR) { TLV::TLVReader dataReader(commandDataReader); mpCallback->DispatchCommand(*this, concretePath, dataReader); - MatterPostCommandReceivedCallback(concretePath); + MatterPostCommandReceivedCallback(concretePath, fabricIndex); } else { @@ -675,8 +676,10 @@ void CommandHandler::Abort() } // namespace app } // namespace chip -CHIP_ERROR __attribute__((weak)) MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath) +CHIP_ERROR __attribute__((weak)) MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, + chip::FabricIndex fabricIndex) { return CHIP_NO_ERROR; } -void __attribute__((weak)) MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath) {} +void __attribute__((weak)) MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, + chip::FabricIndex fabricIndex) {} diff --git a/src/app/util/MatterCallbacks.h b/src/app/util/MatterCallbacks.h index 3150f8796cafba..1fc2c098db8447 100644 --- a/src/app/util/MatterCallbacks.h +++ b/src/app/util/MatterCallbacks.h @@ -29,11 +29,13 @@ void MatterPostAttributeWriteCallback(const chip::app::ConcreteAttributePath & a * This callback is called once the message has been determined to be a command, and * before the command is dispatched to the receiver. */ -CHIP_ERROR MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath); +CHIP_ERROR MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, + chip::FabricIndex fabricIndex); /** @brief Matter Post Command Received * * This callback is called once the message has been determined to be a command, but * after it being dispatched to the receiver. */ -void MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath); +void MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, + chip::FabricIndex fabricIndex); diff --git a/src/app/zap-templates/templates/app/callback-stub-src.zapt b/src/app/zap-templates/templates/app/callback-stub-src.zapt index aa3e7cbb9cf9a3..8e8ce31bce288a 100644 --- a/src/app/zap-templates/templates/app/callback-stub-src.zapt +++ b/src/app/zap-templates/templates/app/callback-stub-src.zapt @@ -132,10 +132,3 @@ void __attribute__((weak)) MatterPostAttributeChangeCallback( uint8_t type, uint16_t size, uint8_t * value) { } - -void __attribute__((weak)) MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath) -{ - (void)commandObj; - (void)commandPath; -} diff --git a/src/app/zap-templates/templates/app/callback.zapt b/src/app/zap-templates/templates/app/callback.zapt index 534b0c97b5cce9..9c296dbf8939fb 100644 --- a/src/app/zap-templates/templates/app/callback.zapt +++ b/src/app/zap-templates/templates/app/callback.zapt @@ -423,12 +423,3 @@ chip::Protocols::InteractionModel::Status MatterPreAttributeChangeCallback(const */ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value); - -/** @brief Pre Execute command callback - * @param commandObj Command object - * @param commandPath Concrete command path to be executed - * - * This function is called by the framework before execute any command - */ -void MatterPreExecuteCommandCallback(chip::app::CommandHandler * commandObj, - const chip::app::ConcreteCommandPath & commandPath); 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 32ebaeb6c8c0ea..9d6d3242bf8557 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 @@ -71,7 +71,7 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aReader, CommandHandler * apCommandObj) { Compatibility::SetupEmberAfCommandHandler(apCommandObj, aCommandPath); - MatterPreExecuteCommandCallback(apCommandObj, aCommandPath); + switch (aCommandPath.mClusterId) { {{#all_user_clusters_with_incoming_commands}} From 5cd25b5076d7c62f9dfa59ade14e8499f73bbcd1 Mon Sep 17 00:00:00 2001 From: lnikulin Date: Mon, 11 Jul 2022 17:51:22 +0300 Subject: [PATCH 15/15] Added parameter subjectDescriptor into callbacks Matter(Pre/Post)CommandReceivedCallback (#20361) --- src/app/CommandHandler.cpp | 14 ++++++-------- src/app/util/MatterCallbacks.h | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/app/CommandHandler.cpp b/src/app/CommandHandler.cpp index 517ea67959dcd8..cff9ae492cd4fa 100644 --- a/src/app/CommandHandler.cpp +++ b/src/app/CommandHandler.cpp @@ -328,10 +328,9 @@ CHIP_ERROR CommandHandler::ProcessCommandDataIB(CommandDataIB::Parser & aCommand { ChipLogDetail(DataManagement, "Received command for Endpoint=%u Cluster=" ChipLogFormatMEI " Command=" ChipLogFormatMEI, concretePath.mEndpointId, ChipLogValueMEI(concretePath.mClusterId), ChipLogValueMEI(concretePath.mCommandId)); - auto fabricIndex = GetExchangeContext()->GetSessionHandle()->GetFabricIndex(); - SuccessOrExit(MatterPreCommandReceivedCallback(concretePath, fabricIndex)); + SuccessOrExit(MatterPreCommandReceivedCallback(concretePath, GetSubjectDescriptor())); mpCallback->DispatchCommand(*this, concretePath, commandDataReader); - MatterPostCommandReceivedCallback(concretePath, fabricIndex); + MatterPostCommandReceivedCallback(concretePath, GetSubjectDescriptor()); } exit: @@ -433,12 +432,11 @@ CHIP_ERROR CommandHandler::ProcessGroupCommandDataIB(CommandDataIB::Parser & aCo continue; } } - auto fabricIndex = GetExchangeContext()->GetSessionHandle()->GetFabricIndex(); - if ((err = MatterPreCommandReceivedCallback(concretePath, fabricIndex)) == CHIP_NO_ERROR) + if ((err = MatterPreCommandReceivedCallback(concretePath, GetSubjectDescriptor())) == CHIP_NO_ERROR) { TLV::TLVReader dataReader(commandDataReader); mpCallback->DispatchCommand(*this, concretePath, dataReader); - MatterPostCommandReceivedCallback(concretePath, fabricIndex); + MatterPostCommandReceivedCallback(concretePath, GetSubjectDescriptor()); } else { @@ -677,9 +675,9 @@ void CommandHandler::Abort() } // namespace chip CHIP_ERROR __attribute__((weak)) MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, - chip::FabricIndex fabricIndex) + const chip::Access::SubjectDescriptor & subjectDescriptor) { return CHIP_NO_ERROR; } void __attribute__((weak)) MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, - chip::FabricIndex fabricIndex) {} + const chip::Access::SubjectDescriptor & subjectDescriptor) {} diff --git a/src/app/util/MatterCallbacks.h b/src/app/util/MatterCallbacks.h index 1fc2c098db8447..c18ddaed0014aa 100644 --- a/src/app/util/MatterCallbacks.h +++ b/src/app/util/MatterCallbacks.h @@ -30,7 +30,7 @@ void MatterPostAttributeWriteCallback(const chip::app::ConcreteAttributePath & a * before the command is dispatched to the receiver. */ CHIP_ERROR MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, - chip::FabricIndex fabricIndex); + const chip::Access::SubjectDescriptor & subjectDescriptor); /** @brief Matter Post Command Received * @@ -38,4 +38,4 @@ CHIP_ERROR MatterPreCommandReceivedCallback(const chip::app::ConcreteCommandPath * after it being dispatched to the receiver. */ void MatterPostCommandReceivedCallback(const chip::app::ConcreteCommandPath & commandPath, - chip::FabricIndex fabricIndex); + const chip::Access::SubjectDescriptor & subjectDescriptor);