diff --git a/aqhome/serial.c b/aqhome/serial.c index fb41b69..2caa291 100644 --- a/aqhome/serial.c +++ b/aqhome/serial.c @@ -460,6 +460,7 @@ int _readFromFd(AQH_SERIAL *sr) else if (rv>0) { if (!AQH_Msg_IsChecksumValid(sr->currentlyReceivedMsg)) { DBG_ERROR(NULL, "Invalid checksum, discarding message"); + GWEN_Text_DumpString(AQH_Msg_GetBuffer(sr->currentlyReceivedMsg), AQH_Msg_GetBytesInBuffer(sr->currentlyReceivedMsg), 6); AQH_Msg_free(sr->currentlyReceivedMsg); sr->currentlyReceivedMsg=NULL; rv=_discardInput(sr);