mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 15:17:47 +00:00
[mesh-forwarder] add log for retry attempts of indirect tx to sleepy nodes (#3151)
This commit is contained in:
committed by
Jonathan Hui
parent
3ef4641b36
commit
9bf8d8169a
@@ -623,6 +623,10 @@ void MeshForwarder::HandleSentFrameToChild(const Mac::Frame &aFrame, otError aEr
|
||||
|
||||
case OT_ERROR_CHANNEL_ACCESS_FAILURE:
|
||||
case OT_ERROR_ABORT:
|
||||
|
||||
otLogInfoMac(GetInstance(), "Indirect tx to child %04x failed, attempt %d/%d, error:%s", child->GetRloc16(),
|
||||
child->GetIndirectTxAttempts(), kMaxPollTriggeredTxAttempts, otThreadErrorToString(aError));
|
||||
|
||||
if (child->GetIndirectTxAttempts() < kMaxPollTriggeredTxAttempts)
|
||||
{
|
||||
// We save the frame counter, key id, and data sequence number of
|
||||
|
||||
Reference in New Issue
Block a user