← Choose language | Выберите язык
Wi-Fi access point with a static site web server, http/https page emulation, and file operations on the SD card. Host static websites, emulate basic authentication, various services, and simple APIs, and share files across different devices within a dedicated Wi-Fi network.
- Wi-Fi access point mode; SSID and password can be changed in the file
Setup.inion the SD card; - Static site web server with support for any domains. Domains and folders are listed in the file
Hosts.txt. To open the domain as a website rather than a folder of files, place theindex.htmlfile in the root directory; - Emulation of individual http/https web pages, sites. Specify in the file
Emulation.txtthe list of pages, URLs, http status codes, response types, and the response itself as a file or string. To get the required values and addresses, use Wireshark on Windows and PCAPdroid on Android (with Wireshark). Don’t forget to share popular emulations; - File management on the SD card: create folders, upload files, and delete them;
- Logging device requests to the file Logs.txt. To enable it, set the parameter
logsto1in theSetup.inifile;
- Connection to external Wi-Fi networks;
- Security certificates for HTTPS on the SD card;
- Fixing bugs with names (probably URL encoding issues);
- Install Arduino IDE.
- Go to
Tools→Manage Libraries...and install theesp32 library by Espressif System, version 2.0.6 (this older version is important for HTTPS support). If a newer version is installed, remove it and install the old one. - Extract the ESP32 HTTPS Server into the folder:
%userprofile%\AppData\Local\Arduino15\libraries. - Go to
Tools→Board→esp32→ESP32C3 Dev Moduleand select the board'sCOM port. - Flash the sketch.
- Format the SD card to FAT32 using Rufus or another utility, and extract the contents of the
SDCardfolder to SD card. - Connect to the Wi-Fi network
TheLastHostwith the password12345678and go tohttp://i.meorhttp://192.168.4.1. - Edit the configuration files:
Setup.ini,Hosts.txt,Emulation.txt.
r57zone[at]gmail.com

