(esp_http_client) WI-FI credentials input

eliasorggro
Posts: 4
Joined: Wed Jun 08, 2022 8:25 am

(esp_http_client) WI-FI credentials input

Postby eliasorggro » Sat Jul 16, 2022 7:36 pm

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...

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: (esp_http_client) WI-FI credentials input

Postby ESP_Sprite » Sun Jul 17, 2022 1:04 am

There's example configuration options in menuconfig; if you're using the command line you can get to that by running 'idf.py menuconfig'.

eliasorggro
Posts: 4
Joined: Wed Jun 08, 2022 8:25 am

Re: (esp_http_client) WI-FI credentials input

Postby eliasorggro » Thu Jul 28, 2022 8:21 am

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 :)

Who is online

Users browsing this forum: No registered users and 119 guests