Function esp_idf_sys::esp_mesh_set_capacity_num

source ยท
pub unsafe extern "C" fn esp_mesh_set_capacity_num(
    num: c_int,
) -> esp_err_t
Expand description

@brief Set mesh network capacity (max:1000, default:300)

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

@param[in] num mesh network capacity

@return

  • ESP_OK
  • ESP_ERR_MESH_NOT_ALLOWED
  • ESP_MESH_ERR_ARGUMENT