From e7764f17acb871e96305c3564598ab5ee09ea1b5 Mon Sep 17 00:00:00 2001 From: tuxphone <67556506+tuxphone@users.noreply.github.com> Date: Tue, 29 Sep 2020 12:41:36 +0200 Subject: [PATCH] Hexadecimal payload dump --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 623aec0..5a68d0a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -148,6 +148,12 @@ void RxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ) MSG(" Packet ID: "); HEXMSG(thePacket.id); MSG(" Flags: WANT_ACK="); MSG((thePacket.want_ack) ? "YES " : "NO "); MSG(" HOP_LIMIT=%i\n", thePacket.hop_limit); + MSG("Payload:"); + for (int i=0; iencrypted.size; i++){ + MSG(" "); + HEXMSG(p->encrypted.bytes[i]); + } + MSG("\n"); #endif if ( !(lastreceivedID == thePacket.id) ){ // will repeat package