diff --git a/QnetModem.cpp b/QnetModem.cpp index 9a8891e..45224d3 100644 --- a/QnetModem.cpp +++ b/QnetModem.cpp @@ -408,8 +408,14 @@ MODEM_RESPONSE CQnetModem::GetModemData(unsigned char *buf, unsigned int size) offset += ret; } + if (LOG_DEBUG && TYPE_DATA==buf[2] && length>15U) { + fprintf(stderr, "Extra Data bytes: "); + for (unsigned int i=15U; i 8U) ? 8U : junk_count);