Search found 8 matches

by tionebrr
Tue Jan 16, 2024 3:10 pm
Forum: Hardware
Topic: ESP32 default I2C pins?
Replies: 4
Views: 10178

Re: ESP32 default I2C pins?

Just for accuracy, most of the RMII EMAC peripheral pins are fixed.
by tionebrr
Fri Oct 09, 2020 2:15 am
Forum: ESP-IDF
Topic: Basic authentication with the ESP-IDF HTTPS-Server
Replies: 12
Views: 14058

Basic authentication with the ESP-IDF HTTPS-Server

Hello folks. Does the ESP-IDF provides a way of securing webpages and websockets with password/login? I can find some documentation about authentication as client but not as server. I am developing a product that will be installed on public places and I need the embedded configuration pages to be so...
by tionebrr
Mon Aug 17, 2020 3:50 pm
Forum: General Discussion
Topic: Latest ESP-IDF compilation error
Replies: 12
Views: 19890

Re: Latest ESP-IDF compilation error

I have the same issue. I am using the docker esp-idf v4.2. ../components/webserver/webserver.c:57:5: error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation] strncpy(filename, filepath_prefix, strlen(filepath_prefix)); ^~...
by tionebrr
Sat Jul 25, 2020 10:17 am
Forum: ESP-IDF
Topic: Wi-Fi RX packets are available in a socket only every 250ms or so.
Replies: 5
Views: 5983

Re: Wi-Fi RX packets are available in a socket only every 250ms or so.

Are you sure there is no delay on the sender side? Check with Wireshark? I tried with different soft, and with different computers... I was sure there was no delay on this side. I was wrong indeed. The sender TCP socket is aggregating packets together (stream protocol) and I didn't knew that. There...
by tionebrr
Fri Jul 24, 2020 9:48 pm
Forum: ESP-IDF
Topic: Wi-Fi RX packets are available in a socket only every 250ms or so.
Replies: 5
Views: 5983

Re: Wi-Fi RX packets are available in a socket only every 250ms or so.

ESP_Sprite wrote:
Fri Jul 24, 2020 8:53 pm
Did you try to disable power saving mode?
Yes. The demo code I posted doesn't (because it uses connect example), but the code I am working on has power saving disabled. I tried both ways also.

Did you try my demo in the repo ?
by tionebrr
Fri Jul 24, 2020 12:34 pm
Forum: General Discussion
Topic: esp-idf httpd ethernet webserver performance is slow
Replies: 15
Views: 22861

Re: esp-idf httpd ethernet webserver performance is slow

EDIT: Sorry for the noise. It actually was the stream sender aggregating Tx packets, and not the ESP32 waiting for Rx packets. I had a *facepalm* moment when I found this =) =================ignore this==================== Hello folks, I encountered an issue with a TCP socket server on the esp32 on ...
by tionebrr
Fri Jul 24, 2020 12:04 pm
Forum: ESP-IDF
Topic: Wi-Fi RX packets are available in a socket only every 250ms or so.
Replies: 5
Views: 5983

Re: Wi-Fi RX packets are available in a socket only every 250ms or so.

Alright, this is a bit hard to explain and I am not good enough to guide you through my code. I have made a repo with a minimal test program showing exactly the problem I have.
https://github.com/tionebrr/ESP32_tcp-socket-test
by tionebrr
Fri Jul 24, 2020 9:28 am
Forum: ESP-IDF
Topic: Wi-Fi RX packets are available in a socket only every 250ms or so.
Replies: 5
Views: 5983

Wi-Fi RX packets are available in a socket only every 250ms or so.

Hello folks. I made a simple TCP socket (based on the example) and the client is pushing small packets about every 10ms to 50ms. The ESP32 is in STA mode, with Power saving set to WIFI_PS_NONE. The connection is made based on the get-started STA wifi example, any other config is default from the exa...