B Bert Oudshoorn Member Licensed User Sep 18, 2016 #1 Tried to receive an UDP packet of 4096 bytes, but about 1200 bytes seems to be a maximum. My StackBufferSize has been set to 5000. I looked in the wifi libraries but could not find maximum settings. Are packets of 4096 bytes possible? Ans also sending packets of that size?
Tried to receive an UDP packet of 4096 bytes, but about 1200 bytes seems to be a maximum. My StackBufferSize has been set to 5000. I looked in the wifi libraries but could not find maximum settings. Are packets of 4096 bytes possible? Ans also sending packets of that size?
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2016 #2 It seems like the maximum size of received packets is 1460. Set the StackBufferSize to 1700+. The sending limit is either 512 or 1460. It is not exactly clear. See this issue: https://github.com/esp8266/Arduino/issues/1009 Upvote 0
It seems like the maximum size of received packets is 1460. Set the StackBufferSize to 1700+. The sending limit is either 512 or 1460. It is not exactly clear. See this issue: https://github.com/esp8266/Arduino/issues/1009