ESP-Mesh: switch root in a no-router setting
Posted: Mon Nov 04, 2019 9:47 am
I'm trying to implement a no-router mesh with a bunch of ESP32s and ESP-MESH (ESP-IDF 4.0, not ESP-MDF). When I manually select a root, all the nodes come online in a few instants and everything works. What if, for whatever reason I want to select a different node as root and re-build the mesh? I tried to use the esp_mesh_waive_root API, but at least in routerless mode, it always answers with an error (can't remember the exact code, something like "vote in progress").
Thanks
Thanks