char buf[32];
int len;
while (len = webFile.read((uint8_t *)buf, 32)) {
client.write((const char*)buf, len);
}
Sirquil wrote:Try making char buf[1024] into char buf[32]
The serial printing may not like the long print....
RichardS
Still drops characters with char buf[32].Code: Select allchar buf[32];
int len;
while (len = webFile.read(buf, 32)) {
client.write((const char*)buf, len);
}
Produces compiler error: invalid conversion from 'char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
Thank you for the suggestions.
William
https://epartsconnect.com
Live realtime stock market prediction website. https://www.stocksignalslive.com my latest creation. Uses AI and machine learning.
New site featuring ESP8266 and ESP32 projects. tutorials, and news.
http://EverythingESP.com
ESP8266.com Founder and Administrator
The Mind Factory (get more from your 3D printer)
Home of the ESP8266, ESP8285, and ESP32 microcontrollers....