Function esp_idf_svc::hal::sys::esp_mesh_set_topology

source ยท
pub unsafe extern "C" fn esp_mesh_set_topology(topo: u32) -> i32
Expand description

@brief Set mesh topology. The default value is MESH_TOPO_TREE - MESH_TOPO_CHAIN supports up to 1000 layers

@attention This API shall be called before mesh is started.

@param[in] topo MESH_TOPO_TREE or MESH_TOPO_CHAIN

@return

  • ESP_OK
  • ESP_MESH_ERR_ARGUMENT
  • ESP_ERR_MESH_NOT_ALLOWED