pfalcon / yaota8266

Yet another OTA solution for ESP8266, this time supporting large (>512KB) firmwares even on 1MB devices (repo is rebased)
120 stars 33 forks source link

UDP datagram size issues #15

Open pfalcon opened 7 years ago

pfalcon commented 7 years ago

@dpgeorge at https://github.com/micropython/micropython/issues/2535#issuecomment-282644457 reported a strange issue that even though his wifi network interface has MTU of 1500, UDP packets larger than another known MTU value, 548, don't get thru to ESP8266. On my side, I didn't see such issue.

This issue was worked around by setting conservative data block size of each packet to 256: https://github.com/pfalcon/yaota8266/commit/6a395adbb6a9052e4ccf1398c2b1866a8b012e10 . Would be nice to understand what's happening there.