How to add wifi to a project

Started by campestring, November 30, 2020, 04:37:06 PM

Previous topic - Next topic

campestring

Hello everyone,
I would like to add wifi to a complex program, but I Don't have anything in the menu-config to configure the wifi. I am looking for a quick guide to provide wifi to any programs. I am working on visual studio code using esp-idf.
Thank you,
best regards,

Arnaud

LubOlimex

Adding WIFI with ESP32 board and ESP-IDF is easy, because the WIFI is part of the ESP32 module, and there isn't any variables in regards of pinout, different wiring and so on.

Just use the ESP-IDF WIFI settings for the exact module.

What ESP32 board exactly do you have?
Technical support and documentation manager at Olimex

campestring

Thank you for your reply,
I am using the esp32-EVB. I want to understand how to add the option to configure the wifi SSID and password in the menu-config like in wifi example.
Thank you !

LubOlimex

You can set SSID and password using fuction: esp_wifi_set_config()

The ESP IDF documentation is good enough:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html

Technical support and documentation manager at Olimex