mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 06:22:48 +00:00
Harden USB logging and persist watchdog events in management reports
This commit is contained in:
1 parent
bd55369aa9
commit
3add4695cc
98 files changed
+7207
-372
No files matched your search
@@ -963,7 +963,7 @@ void SensorMesh::onPeerDataRecv(mesh::Packet* packet, uint8_t type, int sender_i
|
||||
bool SensorMesh::handleIncomingMsg(ClientInfo& from, uint32_t timestamp, uint8_t* data, uint8_t flags, size_t len) {
|
||||
MESH_DEBUG_PRINT("handleIncomingMsg: unhandled msg from ");
|
||||
#ifdef MESH_DEBUG
|
||||
if (mesh::isUsbLoggingEnabled()) {
|
||||
if (mesh::isUsbDebugLoggingEnabled()) {
|
||||
Stream& logging_port = mesh::usbLoggingPort();
|
||||
mesh::Utils::printHex(logging_port, from.id.pub_key, PUB_KEY_SIZE);
|
||||
logging_port.printf(": %s\n", data);
|
||||
|
||||
Reference in new issue
Block a user