Hi Forum,
I use the sample "http_request" from ESP-IDF V4.2 and it works. But the Problem is that when I read a file e.g 1MB from a URL, the file reading process is delayed by about 1 second every once in a while and resumes again until read the entire file. This will make the download time be long. How can to download smoothly without delay?
Problem - ESP32-IDF Reading HTTP-GET response with delay
-
- Posts: 10
- Joined: Mon Mar 29, 2021 9:53 am
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem - ESP32-IDF Reading HTTP-GET response with delay
What are you downloading the file to?
-
- Posts: 10
- Joined: Mon Mar 29, 2021 9:53 am
Re: Problem - ESP32-IDF Reading HTTP-GET response with delay
From own server and also this two links:
https://class.ece.uw.edu/542/peckol/doc ... icture.bmp
https://www.timscbx.com/Gallery%20pics/jeff%20coker.bmp
-
- Posts: 10
- Joined: Mon Mar 29, 2021 9:53 am
Re: Problem - ESP32-IDF Reading HTTP-GET response with delay
Both send via SPI and just showing in Terminal.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem - ESP32-IDF Reading HTTP-GET response with delay
Okay, that implies the one second delay can't be on the output side. Hard to say then. You could try to see if you could sniff the WiFi traffic somewhere (e.g. hotspot on a laptop + Wireshark) to see if there's obvious badness going on.
Who is online
Users browsing this forum: Bing [Bot] and 61 guests