In this documentation you will be explained how to install the Antares ESP library with MQTT protocol and Wi-Fi connectivity on the Arduino IDE. This library is used to test the ESP32 Wi-Fi MQTT project in the Antares documentation. This library is suitable for ESP32 and ESP8266.
Follow These Steps
1. Download Library
The first step is to download the following library in .zip format.
Notes: The above library can be used for ESP 32 and ESP 8266 using Wi-Fi communication and MQTT communication protocol.
2. Install Zip Library
In this step you are asked to open the library manager by opening the Sketch menu> Include Library> Add .Zip Library as shown in the following image.
Image of the Sketch menu in the Arduino IDE.
Find the location of the library file that has been downloaded, then input the downloaded file as shown below.
Image Select Zip File in the Arduino IDE.
3. Success Indicators
If the library installation is successful, you can see the example programme in the File > Examples > Antares ESP MQTT menu. The result looks like the following image.
Figure Example of Antares ESP HTTP and MQTT in the Arduino IDE.