2020-10-19 04:45 AM
Hi,
I’m using STM32H7xx with LwIP.
My system works perfectly at my office, my home and even at my client in the US.
However, only one location, at one of my colleague house, there are some issues with downloading file via LwIP.
After instance investigation I’ve found out that the value of MTU (Maximum Transmission Unit) at the router’s configuration wasn’t the same as at my application.
At application the MTU defined to 1500, so as every other places.
Except my colleague’s place which was defined as MTU = 1200.
The question is how can I set the MTU in my application automatically to the defined MTU of the network?