1# Wi-Fi SoftAP Example 2 3(See the README.md file in the upper level 'examples' directory for more information about examples.) 4 5This example shows how to use the Wi-Fi SoftAP functionality of the Wi-Fi driver of ESP for serving as an Access Point. 6 7## How to use example 8 9### Configure the project 10 11Open the project configuration menu (`idf.py menuconfig`). 12 13In the `Example Configuration` menu: 14 15* Set the Wi-Fi configuration. 16 * Set `WiFi SSID`. 17 * Set `WiFi Password`. 18 19Optional: If you need, change the other options according to your requirements. 20 21### Build and Flash 22 23Build the project and flash it to the board, then run the monitor tool to view the serial output: 24 25Run `idf.py -p PORT flash monitor` to build, flash and monitor the project. 26 27(To exit the serial monitor, type ``Ctrl-]``.) 28 29See the Getting Started Guide for all the steps to configure and use the ESP-IDF to build projects. 30 31* [ESP-IDF Getting Started Guide on ESP32](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html) 32* [ESP-IDF Getting Started Guide on ESP32-S2](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/get-started/index.html) 33* [ESP-IDF Getting Started Guide on ESP32-C3](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/index.html) 34 35## Example Output 36 37There is the console output for this example: 38 39``` 40I (917) phy: phy_version: 3960, 5211945, Jul 18 2018, 10:40:07, 0, 0 41I (917) wifi: mode : softAP (30:ae:a4:80:45:69) 42I (917) wifi softAP: wifi_init_softap finished.SSID:myssid password:mypassword 43I (26457) wifi: n:1 0, o:1 0, ap:1 1, sta:255 255, prof:1 44I (26457) wifi: station: 70:ef:00:43:96:67 join, AID=1, bg, 20 45I (26467) wifi softAP: station:70:ef:00:43:96:67 join, AID=1 46I (27657) tcpip_adapter: softAP assign IP to station,IP is: 192.168.4.2 47``` 48 49## Troubleshooting 50 51For any technical queries, please open an [issue](https://github.com/espressif/esp-idf/issues) on GitHub. We will get back to you soon. 52