Page 1 of 1

Getting Started with ESP-IDF to create a ESP-MESH

Posted: Thu Apr 29, 2021 3:00 pm
by leo_espressivo
So I'm doing my internship at a small entreprise in France and me and a collegue have to create a ESP-MESH from scratch.
I came here with zero knowledge about the technology and have been reading part of the documentation (The Programming Guide included). I understand most of the functions, some of them may be confusing, also, I don't feel ready to create my own ESP-MESH network. So I thought that it would be a good idea to see some examples, analyse the structure and test them to then analyse it's behavior again.
I found this example, that seemed good to start with: https://github.com/espressif/esp-idf/b ... sh_main.c
For the moment, I copied and pasted the mesh_main.c file and tryied using PlatformIO framework in VS Code to flash this skecth into a ESP32 based card. However I got a problem with the mesh_light.h library while doing it. So I'm blocked for the moment.
The only reason I'm using PlatformIO is because my boss recommended me to use it. But I'm open for suggestions. I'm aware that there's a Espressif ESP-IDF framework available in VS Code, so it might be better to develop my ESP-MESH network.
Could someone give me some guidance about my problem? If you have additional suggestions, hacks, conseils, advice about ESP-MESH development, they are sincerely appreciated and welcomed.