I am trying to modify the ESP32 WebSerial (Web-based Remote Serial Monitor) example to be AP or SoftAP, also guiding me from your esp32-access-point-ap-web-server example, but I still have no success as there are several parts in which I do not know what function to use, for example if I define the server using ... WiFiServer server (80); or AsyncWebServer server (80); Since defining it in one way or another, I get different errors in the following lines. On the other hand, I do not know if it is correct to define ... WiFi.mode (WIFI_AP); WiFi.softAP (ssid, password); since I can't get to raise a listening AP server to be able to access it. I don't even know whether or not I should include #include <Arduino.h> since including it throws me an error Could you give me some guidance? Thanks
Can you tell me the exact errors that you’re getting?
Are you programming your boards using Arduino IDE or platformIO?
The following line should be included at the top of your sketch when your using platformIO.However, it should also work fine when using Arduino IDE.