Page 1 of 1

How to incorporate Google library to OT_CLI of Esp32-h2 in VSCODE?

Posted: Wed Nov 06, 2024 1:45 pm
by acsoprana
Hello, everyone! I am venturing into the development of a Thread mesh network using ESP32 devices in the C6, H2 models and an edge router. Finally, the network is configured and functional, with devices in "child" mode, routers, a leader and the edge router for routing with the external Wi-Fi network. Communication between the devices works very well, and the mesh network is also stable; network management is perfect.

Now, I need to continue testing and create a programming routine to actually test the functionality of the Thread mesh network. I will give an example of what I implemented in another ESP32, only with regular Wi-Fi access: I created a routine to connect to Wi-Fi to send random data to a Google Sheets spreadsheet, using the "ESP-Google-Sheet-Client" library, and it worked perfectly. To do this, I used the Arduino IDE to make the ESP32 work.

Now, to work with the Thread network on the ESP32-C6 and H2, I am using VSCode. I am loading the settings related to the Thread OT_CLI for the ESP32-H2, and I would like to know how to incorporate the ESP_Google_Sheet_Client.h library into the OT_CLI code in VSCode to implement the code I previously created in the Arduino IDE.

Remember that I am not a programmer, just an enthusiast. :)

Thanks!