diff --git a/buban104.cpp b/buban104.cpp index caca5eb..84f55cc 100644 --- a/buban104.cpp +++ b/buban104.cpp @@ -187,6 +187,10 @@ void Buban104RecvData(int commid, u_char *buf, int len)// return; pPortParam = (pBUBAN104PORTPARAM)SioParam[commid].ExtInfo; + printf("recvbuf: "); + for (i = 0; i < len; i++) + printf("%02X ", buf[i]); + printf("\n"); for(i=0; iMsgData[plen], slen, 0); if(len > 0) { + printf("TcpSend: "); + for (i = 0; i < len; i++) + printf("%02X ", SioParam[commid].WriteData->MsgData[plen + i]); + printf("\n"); if(len < slen) { if(EINPROGRESS != errno)