Skip to content

Commit 1c329d9

Browse files
committed
Log more information about ignored packet
1 parent 1daf5aa commit 1c329d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mesh/RadioLibInterface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ void RadioLibInterface::handleReceiveInterrupt()
422422
}
423423
#endif
424424
if (state != RADIOLIB_ERR_NONE) {
425-
LOG_ERROR("Ignore received packet due to error=%d", state);
425+
LOG_ERROR("Ignore received packet due to error=%d (maybe to=0x%08x, from=0x%08x, flags=0x%02x)", state,
426+
radioBuffer.header.to, radioBuffer.header.from, radioBuffer.header.flags);
426427
rxBad++;
427428

428429
airTime->logAirtime(RX_ALL_LOG, xmitMsec);

0 commit comments

Comments
 (0)