# ESP32 (Wi-Fi)

This documentation will explain how the **ESP32** can connect with the Antares platform. The **ESP32** can read data from several sensors and can send data to the Antares platform. This documentation uses the **Lynx-32 Antares Development Board** as the board. Before starting the documentation, make sure you fulfil the prerequisites on the following page.

{% content-ref url="/pages/Zpk3iTltrVZubNhHlGNm" %}
[General Prerequisites ESP32 Wi-Fi](/en/code-and-library-examples/esp32-wi-fi/general-prerequisites-esp32-wi-fi.md)
{% endcontent-ref %}

After fulfilling the **General Prerequisites** you can select the protocol you want to use. There are two protocols, **HTTP** and **MQTT**, that can be used on **ESP32 Wi-Fi**. You can follow the documentation of each protocol on the following page.

{% content-ref url="/pages/pfHe0O5vZTsRSUPZAuKs" %}
[ESP32 (Wi-Fi) HTTP Protocol](/en/code-and-library-examples/esp32-wi-fi/esp32-wi-fi-http-protocol.md)
{% endcontent-ref %}

{% content-ref url="/pages/sRFbJiqh2LJRoqVKjAyt" %}
[ESP32 (Wi-Fi) MQTT Protocol](/en/code-and-library-examples/esp32-wi-fi/esp32-wi-fi-mqtt-protocol.md)
{% endcontent-ref %}

{% hint style="info" %}
If you still need further explanation about **MQTT** and **HTTP** protocols, please visit the following page.

[HTTP & MQTT Protocol](/en/code-and-library-examples/esp32-wi-fi/http-and-mqtt-protocol.md)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.antares.id/en/code-and-library-examples/esp32-wi-fi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
