Page 1 of 1

(esp_http_client) WI-FI credentials input

Posted: Sat Jul 16, 2022 7:36 pm
by eliasorggro
I have tried this example in esp-idf : https://github.com/espressif/esp-idf/tr ... ttp_client

the problem is I see nowhere to put ssid and password of WI-FI for esp32 to connect WI-FI.
that's why the message which I dont know where it is coming from in serial monitor pops constantly : Wi-Fi disconnected, trying to reconnect...

Re: (esp_http_client) WI-FI credentials input

Posted: Sun Jul 17, 2022 1:04 am
by ESP_Sprite
There's example configuration options in menuconfig; if you're using the command line you can get to that by running 'idf.py menuconfig'.

Re: (esp_http_client) WI-FI credentials input

Posted: Thu Jul 28, 2022 8:21 am
by eliasorggro
thanks I actually use sdkconfig file in project and add these two lines :
CONFIG_EXAMPLE_WIFI_SSID="Upmmm"
CONFIG_EXAMPLE_WIFI_PASSWORD="1234567x"
it worked :)