mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 22:57:47 +00:00
some fixes (#1793)
This commit is contained in:
@@ -622,7 +622,6 @@ void Coap::ProcessReceivedRequest(Header &aHeader, Message &aMessage, const Ip6:
|
||||
SuccessOrExit(mInterceptor(aMessage, aMessageInfo));
|
||||
}
|
||||
|
||||
SuccessOrExit(aHeader.FromMessage(aMessage, 0));
|
||||
aMessage.MoveOffset(aHeader.GetLength());
|
||||
|
||||
switch (mResponsesQueue.GetMatchedResponseCopy(aHeader, aMessageInfo, &response))
|
||||
|
||||
@@ -571,9 +571,6 @@ ThreadError DatasetManager::Set(Coap::Header &aHeader, Message &aMessage, const
|
||||
|
||||
memset(&destination, 0, sizeof(destination));
|
||||
destination = mNetif.GetMle().GetMeshLocal16();
|
||||
destination.mFields.m16[4] = HostSwap16(0x0000);
|
||||
destination.mFields.m16[5] = HostSwap16(0x00ff);
|
||||
destination.mFields.m16[6] = HostSwap16(0xfe00);
|
||||
destination.mFields.m16[7] = HostSwap16(borderAgentLocator->GetBorderAgentLocator());
|
||||
|
||||
mNetif.GetLeader().SendDatasetChanged(destination);
|
||||
|
||||
@@ -335,7 +335,7 @@ void Joiner::SendJoinerFinalize(void)
|
||||
message->GetLength() - header.GetLength());
|
||||
#endif
|
||||
|
||||
mNetif.GetCoapSecure().SendMessage(*message, Joiner::HandleJoinerFinalizeResponse, this);
|
||||
SuccessOrExit(error = mNetif.GetCoapSecure().SendMessage(*message, Joiner::HandleJoinerFinalizeResponse, this));
|
||||
|
||||
otLogInfoMeshCoP(GetInstance(), "Sent joiner finalize");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user