# Wi-Fi Expansion

[中文]

ESP32-P4 does not support Wi-Fi functionality natively, but it is possible to use the same Wi-Fi API and features using Wi-Fi expansion.

## ESP32-P4 esp_wifi_remote

The principle of Wi-Fi Expansion operation is to add another ESP32 series, Wi-Fi capable, target connected to the ESP32-P4 in a pre-defined way. Your project could then include the esp_wifi_remote component using:

    idf.py add-dependency esp_wifi_remote

Please follow the instructions described in the component documentation which is linked in the above paragraph.

To explore the Wi‑Fi Expansion functionality on ESP32-P4, you can:

- Start with the built‑in MQTT over TLS example `examples/protocols/mqtt` (or the MQTT 5.0 variant `examples/protocols/mqtt5`) and choose Wi‑Fi connection in the project configuration menu;

## ESP32-P4 esp-extconn

The principle of esp-extconn operation is to add another supported target series connected to the ESP32-P4 in a pre-defined way. Compared to the esp_wifi_remote approach, the target side can operate without flash, as the firmware is delivered by the hosted side. Your project could then include the esp-extconn component using:

    idf.py add-dependency esp-extconn

Please follow the instructions described in the esp-extconn documentation.

To explore the esp-extconn functionality on ESP32-P4, you can get started with this example: examples/wifi/iperf/README.md and choose Wi-Fi connection in the project configuration menu.

此文档对您有帮助吗？

- 反馈已收到，谢谢！
- 如果您有其他意见，欢迎填写乐鑫文档反馈表。

- 我们重视您的反馈。
- 您可以填写乐鑫文档反馈表告诉我们如何改进该文档。