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

acsoprana
Posts: 17
Joined: Mon Oct 14, 2024 1:50 pm

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

Postby acsoprana » Tue Nov 05, 2024 9:02 pm

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!

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

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

Postby ESP_bignacio » Wed Nov 06, 2024 12:14 am

Hi there !

So I think it would be best to post your question in ESP-IDF forums instead of this forum. Here's why:

* ESP-IDF extension for VSCode is using commands that call the ESP-IDF framework (instead of Arduino). VSCode in itself doesn't have any program logic.

What you are looking for is to implement a communication to google sheets from your esp32h2 using http. For example this video uses http get request in Arduino to connect to google sheets. You can follow this esp-idf http request example to achieve the same.

acsoprana
Posts: 17
Joined: Mon Oct 14, 2024 1:50 pm

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

Postby acsoprana » Wed Nov 06, 2024 1:43 pm

ok, I'll repost on ESP-IDF, thanks for your attention..

Who is online

Users browsing this forum: No registered users and 55 guests