Search found 5 matches

by devesp32
Wed Sep 11, 2024 7:35 pm
Forum: Hardware
Topic: ESP32-S3, wifi disconnects during downloading
Replies: 8
Views: 2103

Re: ESP32-S3, wifi disconnects during downloading

Are you sure filePartSize has the correct value? Yes, for now I test on files only that I know the exact size of. Do you check for premature end-of-stream? As I understand it, stream->available() may also intermittently return 0, which may be worth explicitly dealing with, e.g. by a short delay bef...
by devesp32
Wed Sep 11, 2024 10:11 am
Forum: Hardware
Topic: ESP32-S3, wifi disconnects during downloading
Replies: 8
Views: 2103

Re: ESP32-S3, wifi disconnects during downloading

What file system are you using? Where is it stored? Internal flash? Do you close and re-open the file repeatedly for appending? File system is FAT32. It uses SD NAND as a storage: SD NAND consists of NAND flash and a high-performance controller. 3.3V supply voltage is required for the NAND area (VC...
by devesp32
Tue Sep 10, 2024 6:30 pm
Forum: Hardware
Topic: ESP32-S3, wifi disconnects during downloading
Replies: 8
Views: 2103

Re: ESP32-S3, wifi disconnects during downloading

The question is what is different at the start. Where do those megabytes go? Could you be exhausting some resource (RAM or CPU) by accumulating some stuff over the transfer? Thank you for the reasonable question. The data is immediately written to the file, the buffer is in static memory, i.e. the ...
by devesp32
Sun Sep 08, 2024 6:34 am
Forum: Hardware
Topic: ESP32-S3, wifi disconnects during downloading
Replies: 8
Views: 2103

Re: ESP32-S3, wifi disconnects during downloading

Check your router's settings, specifically the DTIM (Delivery Traffic Indication Message) interval. A lower DTIM interval can improve connectivity for IoT devices. aliarifat794, thank you for your involvement! Unfortunately, my router (Huawei B311-221) doesn't have DTIM or any similar setting. And ...
by devesp32
Thu Sep 05, 2024 1:03 pm
Forum: Hardware
Topic: ESP32-S3, wifi disconnects during downloading
Replies: 8
Views: 2103

ESP32-S3, wifi disconnects during downloading

I am experiencing an issue with the ESP32-S3 while downloading a file using the following code: WiFiClient* stream = http.getStreamPtr(); stream->readBytes(); The download starts off well, with the first few MB being downloaded quickly and efficiently. However, as the download progresses, the speed ...