Skip to content

Commit

Permalink
Re-enable MRP for reads.
Browse files Browse the repository at this point in the history
With project-chip#7958 merged,
this should not be a problem.
  • Loading branch information
bzbarsky-apple committed Jun 29, 2021
1 parent 10a7ac6 commit bb6b434
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/ReadClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,8 @@ CHIP_ERROR ReadClient::SendReadRequest(NodeId aNodeId, Transport::AdminId aAdmin
VerifyOrExit(mpExchangeCtx != nullptr, err = CHIP_ERROR_NO_MEMORY);
mpExchangeCtx->SetResponseTimeout(kImMessageTimeoutMsec);

// TODO (#7909): Disable CRMP temporary for duplicate ACK issues, should be enabled later.
err = mpExchangeCtx->SendMessage(
Protocols::InteractionModel::MsgType::ReadRequest, std::move(msgBuf),
Messaging::SendFlags(Messaging::SendMessageFlags::kExpectResponse).Set(Messaging::SendMessageFlags::kNoAutoRequestAck));
err = mpExchangeCtx->SendMessage(Protocols::InteractionModel::MsgType::ReadRequest, std::move(msgBuf),
Messaging::SendFlags(Messaging::SendMessageFlags::kExpectResponse));
SuccessOrExit(err);
MoveToState(ClientState::AwaitingResponse);

Expand Down

0 comments on commit bb6b434

Please sign in to comment.