mirror of
https://github.com/espressif/openthread.git
synced 2026-08-18 16:39:52 +00:00
Remove usage of CoAP kAckTimeout in Link Raw API. (#1580)
This commit is contained in:
committed by
Jonathan Hui
parent
c3b565d550
commit
6c44b0759a
@@ -377,7 +377,7 @@ ThreadError LinkRaw::DoTransmit(RadioPacket *aPacket)
|
||||
{
|
||||
otLogDebgPlat(aInstance, "LinkRaw Starting AckTimeout Timer");
|
||||
mTimerReason = kTimerReasonAckTimeout;
|
||||
mTimer.Start(kAckTimeout);
|
||||
mTimer.Start(Mac::kAckTimeout);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -265,7 +265,7 @@ void JoinerRouter::HandleRelayTransmit(Coap::Header &aHeader, Message &aMessage,
|
||||
SuccessOrExit(error = Tlv::GetValueOffset(aMessage, Tlv::kJoinerDtlsEncapsulation, offset, length));
|
||||
|
||||
VerifyOrExit((message = mSocket.NewMessage(0)) != NULL, error = kThreadError_NoBufs);
|
||||
message->SetPriority(kMeshCoPMessagePriority);
|
||||
message->SetPriority(Coap::kMeshCoPMessagePriority);
|
||||
message->SetLinkSecurityEnabled(false);
|
||||
|
||||
while (length)
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
namespace Thread {
|
||||
|
||||
class ThreadNetif;
|
||||
using namespace Coap;
|
||||
|
||||
namespace NetworkDiagnostic {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user