Page 1 of 1

debuging http_client and LWIP

Posted: Mon May 10, 2021 1:26 pm
by pdemianczuk
I have some problem with downloading files from server.
Do anyone knows what does mean log tcp_recved:(in LWIP comopnent);
esspecialy the last value in (ZZZ)
I think that wnd does mean size availe window_buffor for TCP;
tcp_recved: received XXX bytes, wnd YYYY, (ZZZ)
Zrzut ekranu z 2021-05-10 14-23-37.png
Zrzut ekranu z 2021-05-10 14-23-37.png (181.74 KiB) Viewed 2953 times
Zrzut ekranu z 2021-05-10 14-23-27.png
Zrzut ekranu z 2021-05-10 14-23-27.png (151.47 KiB) Viewed 2953 times

Re: debuging http_client and LWIP

Posted: Thu May 13, 2021 2:16 pm
by pdemianczuk
Any could help me, and know what it mean?

I have problem with packet or rather fragments of packet.
for example (screen 2nd) I have recieved 11799 B of 48000.
And debug logs isn't tell me anything or I cant read logs appropriate

is ZZZ value says how many Bytes I have already read?
but it dosnt make sens becasue on 2nd picture I have 0B (0 value)

Re: debuging http_client and LWIP

Posted: Mon Jun 07, 2021 3:59 am
by ESP_YJM
ZZZ means the data size in you WND. ZZZ = MAX WND( in your config is 44200) - current WND.