Config file and wificonfig

esp32_begginer
Posts: 1
Joined: Sat Jul 18, 2020 11:03 pm

Config file and wificonfig

Postby esp32_begginer » Sat Jul 18, 2020 11:14 pm

Hello,

Sorry, I'm a complete beginer, I have a question. I'm using a ESP32 for a university project. How can I program that device to provide a file upload web page to submit a config file to send all the configuration parameters (SSID, password and all the parameters that the program needs)?

The idea is to send all the configuration for each device this way. is there any already solution or something that can I reuse to do that?

Thanks in advance!!

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

Re: Config file and wificonfig

Postby zliudr » Thu Jul 23, 2020 3:21 pm

There is a server file upload sample code located inside ESP-IDF. There's also a http client sample code that connects to wifi so you will see how to use ssid:pass to connect. Then you need to write a program to read the info from your file to use for wifi. Each piece isn't hard by itself but you need to combine them, which becomes harder. I'm sure someone will provide some help after YOU put in some effort in writing your code. It's YOUR uni. project.

Who is online

Users browsing this forum: No registered users and 88 guests