請教我參考st網站,利用echotool驗証
(TOOL: www.st.com/.../en.DM00026013.pdf)
C:\>echotool 192.168.30.15 /p tcp /r 7 /n 5 /t 2 /d aabbccddeeff
Hostname 192.168.30.15 resolved as 192.168.30.15
Reply from 192.168.30.15:7, time 0 ms OK
已經可以通,但小弟trace了好久還是debug不到資料
程式在 static err_t tcp_echoserver_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err),下的
else if (es->state == ES_RECEIVED)
{
/* more data received from client and previous data has been already sent*/
if(es->p == NULL)
在pcb payload還是看不到丟過來的"aabbccddeeff"資料
請教各位該怎麼把資料抓出來, 謝謝!