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_http_client) WI-FI credentials input
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: (esp_http_client) WI-FI credentials input
There's example configuration options in menuconfig; if you're using the command line you can get to that by running 'idf.py menuconfig'.
-
- Posts: 4
- Joined: Wed Jun 08, 2022 8:25 am
Re: (esp_http_client) WI-FI credentials input
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
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