Skip to content

Commit

Permalink
Enable CRMP for command responses. (#6847)
Browse files Browse the repository at this point in the history
This used to be enabled but was disabled for some reaason in #5945.  There's no obvious reason to disable this.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed May 20, 2021
1 parent 1859e46 commit 5ee838d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/CommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ CHIP_ERROR CommandHandler::SendCommandResponse()
SuccessOrExit(err);

VerifyOrExit(mpExchangeCtx != nullptr, err = CHIP_ERROR_INCORRECT_STATE);
err = mpExchangeCtx->SendMessage(Protocols::InteractionModel::MsgType::InvokeCommandResponse, std::move(mCommandMessageBuf),
Messaging::SendFlags(Messaging::SendMessageFlags::kNoAutoRequestAck));
err = mpExchangeCtx->SendMessage(Protocols::InteractionModel::MsgType::InvokeCommandResponse, std::move(mCommandMessageBuf));
SuccessOrExit(err);

MoveToState(CommandState::Sending);
Expand Down

0 comments on commit 5ee838d

Please sign in to comment.