Skip to content

Commit bbced1e

Browse files
committed
More renames of args
1 parent fcd9fe5 commit bbced1e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/CommandHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Status CommandHandler::OnInvokeCommandRequest(CommandHandlerExchangeInterface &
113113
return status;
114114
}
115115

116-
CHIP_ERROR CommandHandler::TryAddResponseData(const ConcreteCommandPath & aCommandPath, CommandId aResponseCommandId,
116+
CHIP_ERROR CommandHandler::TryAddResponseData(const ConcreteCommandPath & aRequestCommandPath, CommandId aResponseCommandId,
117117
DataModel::EncodableToTLV & aEncodable)
118118
{
119119
ConcreteCommandPath responseCommandPath = { aCommandPath.mEndpointId, aCommandPath.mClusterId, aResponseCommandId };

src/app/CommandHandler.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class CommandHandler
242242
* Adds the given command status and returns any failures in adding statuses (e.g. out
243243
* of buffer space) to the caller
244244
*/
245-
CHIP_ERROR FallibleAddStatus(const ConcreteCommandPath & aCommandPath, const Protocols::InteractionModel::Status aStatus,
245+
CHIP_ERROR FallibleAddStatus(const ConcreteCommandPath & aRequestCommandPath, const Protocols::InteractionModel::Status aStatus,
246246
const char * context = nullptr);
247247

248248
/**
@@ -252,9 +252,9 @@ class CommandHandler
252252
void AddStatus(const ConcreteCommandPath & aCommandPath, const Protocols::InteractionModel::Status aStatus,
253253
const char * context = nullptr);
254254

255-
CHIP_ERROR AddClusterSpecificSuccess(const ConcreteCommandPath & aCommandPath, ClusterStatus aClusterStatus);
255+
CHIP_ERROR AddClusterSpecificSuccess(const ConcreteCommandPath & aRequestCommandPath, ClusterStatus aClusterStatus);
256256

257-
CHIP_ERROR AddClusterSpecificFailure(const ConcreteCommandPath & aCommandPath, ClusterStatus aClusterStatus);
257+
CHIP_ERROR AddClusterSpecificFailure(const ConcreteCommandPath & aRequestCommandPath, ClusterStatus aClusterStatus);
258258

259259
/**
260260
* This adds a new CommandDataIB element into InvokeResponses for the associated
@@ -645,11 +645,11 @@ class CommandHandler
645645
* Callers should snapshot as needed before calling this function, and roll back
646646
* as needed afterward.
647647
*
648-
* @param [in] aCommandPath the concrete path of the command we are responding to
648+
* @param [in] aRequestCommandPath the concrete path of the command we are responding to
649649
* @param [in] aResponseCommandId the id of the command to encode
650650
* @param [in] aEncodable the data to encode for the given aResponseCommandId
651651
*/
652-
CHIP_ERROR TryAddResponseData(const ConcreteCommandPath & aCommandPath, CommandId aResponseCommandId,
652+
CHIP_ERROR TryAddResponseData(const ConcreteCommandPath & aRequestCommandPath, CommandId aResponseCommandId,
653653
DataModel::EncodableToTLV & aEncodable);
654654

655655
void SetExchangeInterface(CommandHandlerExchangeInterface * commandResponder);

0 commit comments

Comments
 (0)