From c5ed4dd32d720334eb54db47b9b3cb0c026090a4 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Mon, 8 May 2017 20:54:02 -0700 Subject: [PATCH] Add log to indicate when a data poll is received. (#1739) --- src/core/thread/mesh_forwarder.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/thread/mesh_forwarder.cpp b/src/core/thread/mesh_forwarder.cpp index 67a14cee0..632f4db89 100644 --- a/src/core/thread/mesh_forwarder.cpp +++ b/src/core/thread/mesh_forwarder.cpp @@ -2085,6 +2085,9 @@ void MeshForwarder::HandleDataRequest(const Mac::Address &aMacSource, const Thre mScheduleTransmissionTask.Post(); + otLogInfoMac(GetInstance(), "Rx data poll, from:0x%04x, qed_msgs:%d", child->GetRloc16(), + child->GetIndirectMessageCount()); + exit: return; }