esp_mesh_fix_root() function
Enable network Fixed Root Setting - Enabling fixed root disables automatic election of the root node via voting. - All devices in the network shall use the same Fixed Root Setting (enabled or disabled). - If Fixed Root is enabled, users should make sure a root node is designated for the network.
Return value
- ESP_OK