Hi, I’ve forked lv_examples and added an Alpha Version into it (https://github.com/husky-koglhof/lv_examples).
Sorry for the “bad” code, but I’ve extracted from my RC Receiver and tried to build it with an “WiFi Mock” to use it with Simulator.
Please have a look on it and give me a short feedback.
In the meantime I will clean up the code.
For testing with the simulator you have to implement following within main.c
What you can do in these version:
Activate / Deactivate WiFi HW
Activate / Deactivate AP Mode/STA Mode
Search for WiFi’s nearby
Select a WiFi, if it is secured, Password prompt will be available
Login with correct Password, if correct “Label” will be changed to connected
If in AP Mode, Button will be changed to “Active” and “Label” will be changed to “Activated”
Within “Info” Entry, you can see the current Informations about IP, Netmask, GW, DNS , WiFi and Clientname
I’ve tested these Settings with my ESP32, TFT_ESPI, ILI3941 and XPT2046.