Set debug log level for beacon and data poll prints. (#1258)

This commit is contained in:
Vaas Krishnamurthy
2017-02-03 17:19:36 -08:00
committed by Jonathan Hui
parent a7dba66838
commit 5a258ef052
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -618,7 +618,7 @@ void Mac::SendBeaconRequest(Frame &aFrame)
aFrame.SetDstAddr(kShortAddrBroadcast);
aFrame.SetCommandId(Frame::kMacCmdBeaconRequest);
otLogInfoMac("Sent Beacon Request");
otLogDebgMac("Sent Beacon Request");
}
void Mac::SendBeacon(Frame &aFrame)
@@ -654,7 +654,7 @@ void Mac::SendBeacon(Frame &aFrame)
aFrame.SetPayloadLength(sizeof(*beacon));
otLogInfoMac("Sent Beacon");
otLogDebgMac("Sent Beacon");
}
void Mac::HandleBeginTransmit(void *aContext)
@@ -960,7 +960,7 @@ void Mac::HandleReceiveTimer(void *aContext)
void Mac::HandleReceiveTimer(void)
{
otLogInfoMac("data poll timeout!");
otLogDebgMac("data poll timeout!");
if (mState == kStateIdle)
{
@@ -1459,7 +1459,7 @@ ThreadError Mac::HandleMacCommand(Frame &aFrame)
{
case Frame::kMacCmdBeaconRequest:
mCounters.mRxBeaconRequest++;
otLogInfoMac("Received Beacon Request");
otLogDebgMac("Received Beacon Request");
mTransmitBeacon = true;
+1 -1
View File
@@ -933,7 +933,7 @@ ThreadError MeshForwarder::SendMacDataRequest(void)
if (error == kThreadError_None)
{
otLogInfoMac("Sent poll");
otLogDebgMac("Sent poll");
// restart the polling timer
mPollTimer.Start(mPollPeriod);