File tree 2 files changed +12
-2
lines changed
src/protocols/secure_channel
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -872,7 +872,12 @@ CHIP_ERROR CASESession::SendSigma1()
872
872
mState = State::kSentSigma1 ;
873
873
}
874
874
875
- ChipLogProgress (SecureChannel, " Sent Sigma1 msg to " ChipLogFormatScopedNodeId, ChipLogValueScopedNodeId (GetPeer ()));
875
+ #if CHIP_PROGRESS_LOGGING
876
+ const auto localMRPConfig = mLocalMRPConfig .Value ();
877
+ #endif // CHIP_PROGRESS_LOGGING
878
+ ChipLogProgress (SecureChannel, " Sent Sigma1 msg to " ChipLogFormatScopedNodeId " [II:%" PRIu32 " ms AI:%" PRIu32 " ms AT:%ums]" ,
879
+ ChipLogValueScopedNodeId (GetPeer ()), localMRPConfig.mIdleRetransTimeout .count (),
880
+ localMRPConfig.mActiveRetransTimeout .count (), localMRPConfig.mActiveThresholdTime .count ());
876
881
877
882
mDelegate ->OnSessionEstablishmentStarted ();
878
883
Original file line number Diff line number Diff line change @@ -314,7 +314,12 @@ CHIP_ERROR PASESession::SendPBKDFParamRequest()
314
314
315
315
mNextExpectedMsg .SetValue (MsgType::PBKDFParamResponse);
316
316
317
- ChipLogDetail (SecureChannel, " Sent PBKDF param request" );
317
+ #if CHIP_PROGRESS_LOGGING
318
+ const auto localMRPConfig = mLocalMRPConfig .Value ();
319
+ #endif // CHIP_PROGRESS_LOGGING
320
+ ChipLogProgress (SecureChannel, " Sent PBKDF param request [II:%" PRIu32 " ms AI:%" PRIu32 " ms AT:%ums)" ,
321
+ localMRPConfig.mIdleRetransTimeout .count (), localMRPConfig.mActiveRetransTimeout .count (),
322
+ localMRPConfig.mActiveThresholdTime .count ());
318
323
319
324
return CHIP_NO_ERROR;
320
325
}
You can’t perform that action at this time.
0 commit comments