mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 15:17:46 +00:00
[coap] fix response timeout for NON messages (#4372)
This commit is contained in:
committed by
Jonathan Hui
parent
e5db31162d
commit
2233ae150e
@@ -669,7 +669,7 @@ CoapMetadata::CoapMetadata(bool aConfirmable,
|
||||
else
|
||||
{
|
||||
// Set overall response timeout.
|
||||
mNextTimerShot = TimerMilli::GetNow() + kMaxTransmitWait;
|
||||
mNextTimerShot = TimerMilli::GetNow() + Time::SecToMsec(kMaxTransmitWait);
|
||||
}
|
||||
|
||||
mAcknowledged = false;
|
||||
|
||||
Reference in New Issue
Block a user