Add packet length to printPacket() (#5672)

This commit is contained in:
Jonathan Bennett
2024-12-26 18:58:26 -06:00
committed by GitHub
parent cd198fcf3f
commit 8f8e304216

View File

@@ -313,6 +313,7 @@ void printPacket(const char *prefix, const meshtastic_MeshPacket *p)
out += DEBUG_PORT.mt_sprintf(" failId=%08x", s.ackVariant.fail_id); */
} else {
out += " encrypted";
out += DEBUG_PORT.mt_sprintf(" len=%d", p->encrypted.size + sizeof(PacketHeader));
}
if (p->rx_time != 0)