Skip to content

Conversation

hjf
Copy link

@hjf hjf commented Mar 2, 2018

When sending large packets with ESP8266's WiFiClient, the library prints a couple hundred bytes and then garbage. The Adafruit library sends 250 bytes at a time to publish the packet. This is where it fails. Fortunately, ESP8266's implementation of Client supports large packets by itself. It will take care of splitting data even beyond the IP packet's MTU.

This fix conditionally enables sending the complete package to WiFiClient with a simple IFDEF ESP8266.

Tested on Arduino 1.8.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant