01 Overview
The ESP32 operates as a SoftAP, broadcasting an SSID and allowing stations to connect. This is a common approach for first-time setup or environments without a router.
Use it for out-of-box setup, factory floor LAN, or device debugging. A phone or laptop can connect directly to the hotspot and access services hosted on the device.
Avoid it when the device is already on the customer's router and only needs cloud access. SoftAP consumes Wi-Fi resources and an open hotspot is a security risk.
The official example verifies SSID broadcast, STA association, and DHCP IP assignment. It does not implement a captive portal, auto-shutdown, or AP+STA coexistence policy.
For production, you must implement a configuration page, password authentication, and timeout shutdown yourself.