mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 02:32:09 +00:00
Logging tweaks
This commit is contained in:
parent
d9af4f46fa
commit
bdf3fe3f5c
@ -48,15 +48,13 @@ void FloodingRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtas
|
|||||||
traceRouteModule->updateRoute(tosend);
|
traceRouteModule->updateRoute(tosend);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_INFO("Rebroadcasting received floodmsg to neighbors", p);
|
LOG_INFO("Rebroadcasting received floodmsg to neighbors\n");
|
||||||
// Note: we are careful to resend using the original senders node id
|
// Note: we are careful to resend using the original senders node id
|
||||||
// We are careful not to call our hooked version of send() - because we don't want to check this again
|
// We are careful not to call our hooked version of send() - because we don't want to check this again
|
||||||
Router::send(tosend);
|
Router::send(tosend);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
LOG_DEBUG("Not rebroadcasting. Role = Role_ClientMute\n");
|
LOG_DEBUG("Not rebroadcasting. Role = Role_ClientMute\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
LOG_DEBUG("Ignoring a simple (0 id) broadcast\n");
|
LOG_DEBUG("Ignoring a simple (0 id) broadcast\n");
|
||||||
}
|
}
|
||||||
|
@ -453,7 +453,7 @@ void Router::handleReceived(meshtastic_MeshPacket *p, RxSource src)
|
|||||||
else
|
else
|
||||||
printPacket("handleReceived(REMOTE)", p);
|
printPacket("handleReceived(REMOTE)", p);
|
||||||
} else {
|
} else {
|
||||||
printPacket("packet decoding failed (no PSK?)", p);
|
printPacket("packet decoding failed or skipped (no PSK?)", p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// call modules here
|
// call modules here
|
||||||
|
Loading…
Reference in New Issue
Block a user