• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 WebSerial AP

Q&A Forum › Category: ESP32 › ESP32 WebSerial AP
0 Vote Up Vote Down
Javier Salazar Castro asked 4 years ago
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
Question Tags: AP WebSerial
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Javier.
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.

#include <Arduino.h>

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.