Search found 392 matches

by fly135
Tue Oct 16, 2018 4:21 pm
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 7
Views: 187

Re: File upload using socket succeeds but not with esp_http_client

Your file appears to have changed size from 3040 to 2838 (i.e. Content-Length). Maybe that's a clue.

John A
by fly135
Sun Oct 14, 2018 3:59 pm
Forum: ESP32 IDF
Topic: File upload from esp32 using esp_http_client possible?
Replies: 2
Views: 104

Re: File upload from esp32 using esp_http_client possible?

I upload recorded audio data to a server as octet content in my project using esp_http_client. Not exactly file content though I guess.
by fly135
Thu Oct 11, 2018 3:53 pm
Forum: ESP32 IDF
Topic: I2S to WIFI
Replies: 3
Views: 109

Re: I2S to WIFI

Along with 1024 buffer sizes I recommend using queues to move data between an I2S reading task and an IP sending task. Also you failed to mention the type of socket. It should be TCP. My experience with the ESP32 is that you can expect a lot of lost packets in a congested wifi environment. So if you...
by fly135
Tue Oct 09, 2018 4:00 pm
Forum: ESP32 IDF
Topic: V3.1 Release pings at 10x over older IDF
Replies: 7
Views: 195

Re: V3.1 Release pings at 10x over older IDF

If you call esp_wifi_set_ps(WIFI_PS_NONE); , does the ping behaviour start matching v3.0 again? Hi Angus, Thanks for the info. Calling that function has lowered pings latency back to v3.0/v3.1 times. Is there any downside to going to WIFI_PS_NONE? We are plugged into the wall so power isn't an issu...
by fly135
Mon Oct 08, 2018 8:51 pm
Forum: ESP32 IDF
Topic: V3.1 Release pings at 10x over older IDF
Replies: 7
Views: 195

Re: V3.1 Release pings at 10x over older IDF

WiFive wrote:
davdav wrote:Check v3.1 release note on esp-idf github.

They changed time scale (ms to sec)for ping.

That doesn't affect the measured result just the timeout value passed to the function.

Those are pings from a computer to the ESP32. Would that have an effect on them?
by fly135
Mon Oct 08, 2018 7:19 pm
Forum: ESP32 IDF
Topic: V3.1 Release pings at 10x over older IDF
Replies: 7
Views: 195

Re: V3.1 Release pings at 10x over older IDF

Just ran the test with 3.0.2 release. It also pings at a much lower value. Issue seems to be introduced in 3.1 release.
by fly135
Mon Oct 08, 2018 7:09 pm
Forum: ESP32 IDF
Topic: V3.1 Release pings at 10x over older IDF
Replies: 7
Views: 195

V3.1 Release pings at 10x over older IDF

The testing dept for my project just hit me with a complaint that the latest version had huge ping latency compared to an older version of my code release. At first I thought that maybe CPU utilization was different, but investigations in that area led to a dead end. So I took the SNTP example and d...
by fly135
Mon Oct 08, 2018 4:15 pm
Forum: ESP32 IDF
Topic: NVS storage
Replies: 1
Views: 82

Re: NVS storage

I open and leave it open, then write whenever I want.
by fly135
Mon Oct 08, 2018 3:36 pm
Forum: ESP32 IDF
Topic: Getting ECONNABORTED when trying to connect()
Replies: 12
Views: 1496

Re: Getting ECONNABORTED when trying to connect()

I can't help but wonder why you don't try building with the latest stable release and check the results yourself. I am able to communicate with HTTP servers just fine with v3.1.
by fly135
Mon Oct 08, 2018 3:29 pm
Forum: General Discussion
Topic: Downlaod from HTTPS
Replies: 3
Views: 156

Re: Downlaod from HTTPS

Copy the code in IDF_PATH/components/esp-https_ota, then remove anything working with OTA, and store the data in your own buffer.

Go to advanced search