Wi-Fi Examples
This document organizes several Wi-Fi related examples provided by the official ESP-IDF, mainly including typical application scenarios such as Station mode, SoftAP mode, and Scan.
Some ESP32 chip series only support 2.4 GHz Wi-Fi networks. If you want to connect to a 5 GHz (5G) network, you can choose the ESP32-C5 chip that supports both 2.4 G & 5G dual-band. For more comparisons of chip Wi-Fi performance, please refer to the ESP selection tool.
For ease of understanding and use, the content of the document is divided into two parts:
General Steps Document: Summarizes the common processes of various Wi-Fi modes (such as initialization, configuration, startup, event handling, etc.), and provides unified step instructions and API references.
Example Document: Explains the implementation of each example by function, avoids repetition by referencing the common parts in the general steps document, and only retains the logic and parameter settings unique to the example.
This layered structure facilitates understanding the overall process in the general steps document first, and then learning the implementation details of specific functions in the example document, thereby understanding the working principle and design method of the Wi-Fi module more efficiently. For more content on Wi-Fi programming, please refer to Wi-Fi Driver.