The ESP32 is finally starting to become compatible with more and more popular Arduino libraries.
In the video I demonstrate using the WiFi Manager library for ESP32 in the Arduino IDE as well as the SPIFFS file system for the ESP32. It allows people to avoid having to hard code wifi credentials but in the video I show that it can also be used to add several other variables and parameters. Adding a few lines of code to the WiFiAP.cpp file allows the configuration screen to automatically pop up on a phone or computer when logging into the ESP32 set up SSID. Also, in the video I show the 3 lines of code that you can use to reset the wifi credentials and wipe the memory so you could make a physical reset button for a product.
Here are the main github libraries needed:
ESP32 Arduino Core:
https://github.com/espressif/arduino-esp32WiFi Manager:
https://github.com/zhouhan0126/WIFIMANAGER-ESP32WebServer:
https://github.com/zhouhan0126/WebServer-esp32DNSServer:
https://github.com/zhouhan0126/DNSServer---esp32Add these 3 lines of code to line 95 of WiFiAP.cpp to automatically pop up the configuration screen after connecting to the access point:
tcpip_adapter_dns_info_t dns_info;
dns_info.ip.u_addr.ip4.addr = IPAddress(192,168,4,1);
tcpip_adapter_set_dns_info(TCPIP_ADAPTER_IF_AP, TCPIP_ADAPTER_DNS_MAIN, &dns_info);