Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson committed Nov 13, 2023
1 parent c0cb09f commit 3a6ff45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/protocols/secure_channel/PairingSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,13 @@ void PairingSession::DiscardExchange()
CHIP_ERROR PairingSession::EncodeSessionParameters(TLV::Tag tag, const Optional<ReliableMessageProtocolConfig> & providedMrpConfig,
TLV::TLVWriter & tlvWriter)
{
// TODO: https://github.com/project-chip/connectedhomeip/issues/30456. Based on the spec we need to send values here now,
// but it is not entirely clear what we should be sending here when `providedMrpConfig.HasValue() == false`. This is a
// followup TODO.
ReliableMessageProtocolConfig mrpLocalConfig = GetDefaultMRPConfig();
if (providedMrpConfig.HasValue())
{

mrpLocalConfig = providedMrpConfig.Value();
}
TLV::TLVType mrpParamsContainer;
Expand Down

0 comments on commit 3a6ff45

Please sign in to comment.