Search found 28 matches

by Gaston1980
Sun Nov 17, 2024 2:48 am
Forum: ESP-IDF
Topic: WiFi connection and memory error main program
Replies: 1
Views: 278

Re: WiFi connection and memory error main program

By the way ...Im using esp32 32E wroom kit to take pics with ov7670 and just to be sure...could this be related to a memory heap issue due to WiFi? using ov7670 and res 320x240 seem to be a problem with this esp32.
by Gaston1980
Sun Nov 17, 2024 2:03 am
Forum: ESP-IDF
Topic: WiFi connection and memory error main program
Replies: 1
Views: 278

WiFi connection and memory error main program

Hi to all, I tested a WiFi connection in a project with success and everything works like a charm!!! Now I'm trying to use this peace of code with a main program and memory problems came up. This is the memory map of the program. memory.png I use this peace of code to init the wifi: nvs_flash_init()...
by Gaston1980
Wed Nov 13, 2024 1:24 pm
Forum: ESP-IDF
Topic: esp32 http POST question
Replies: 7
Views: 1219

Re: esp32 http POST question

hi @chegewara and thanks for your time to write the php code. It is necessary to write to a file the data incoming from POST request to be able to use it later. Thanks again for your help also ESP_sprite.
Regards
Gastón
by Gaston1980
Wed Nov 13, 2024 12:46 pm
Forum: ESP-IDF
Topic: wifi message on connection
Replies: 2
Views: 624

Re: wifi message on connection

Hi, I tried to run the client example and when the example finish I got this too

Image

How to know if this is something related to the router?
Regards
Gastón
by Gaston1980
Mon Nov 11, 2024 10:42 pm
Forum: ESP-IDF
Topic: wifi message on connection
Replies: 2
Views: 624

wifi message on connection

I was able to connect to wifi router but every time I got this message on terminal: wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:0(recipient) It seems that the esp32 disconnect from router and ask for new IP address. This is the code I use to connect to wifi: esp_netif_init(); // TCP/IP ...
by Gaston1980
Mon Nov 11, 2024 5:10 pm
Forum: ESP-IDF
Topic: http post data question
Replies: 0
Views: 400

http post data question

Hi to all,
is it possible to sent uint16 with a post request to server? To send large data I must use chunk of this data to send so I need to change the buffer in the client, what is the max size I can use?
Thanks
Gastón
by Gaston1980
Mon Nov 11, 2024 10:10 am
Forum: ESP-IDF
Topic: esp32 http POST question
Replies: 7
Views: 1219

Re: esp32 http POST question

yes, it was the json content-type. I tred to use the header Content-Lenght with the json and also with some random array but throws error.
Regards
Gastón
by Gaston1980
Sun Nov 10, 2024 11:58 pm
Forum: ESP-IDF
Topic: esp32 http POST question
Replies: 7
Views: 1219

Re: esp32 http POST question

Hi, I found this thread in the forum https://esp32.com/viewtopic.php?t=7939 could this be related to Content-Lenght not been included in the headers?
Gastón
by Gaston1980
Sun Nov 10, 2024 1:54 pm
Forum: ESP-IDF
Topic: esp32 http POST question
Replies: 7
Views: 1219

Re: esp32 http POST question

Hi ESP_Sprite, yes the php code is just: <?php phpinfo(INFO_VARIABLES); ?> I also tried this peace of code too: <?php if ($_SERVER["REQUEST_METHOD"] == "POST") { echo "<h1>Hello User, </h1> <p>Welcome to {$name}</p>"; } ?> and many others php script, just to know if the POST request send something f...
by Gaston1980
Sun Nov 10, 2024 2:37 am
Forum: ESP-IDF
Topic: esp32 http POST question
Replies: 7
Views: 1219

esp32 http POST question

Hi to all, I'm using esp32 wroom kit to get familiar with the http protocol, try to use the POST request to send values to a server running on ubuntu machine. I'm able to connect to wifi router and using this code: esp_http_client_config_t config_post = { .url = "http://192.168.0.4/index.php", .meth...