Function esp_idf_hal::sys::esp_mesh_set_capacity_num

source ยท
pub unsafe extern "C" fn esp_mesh_set_capacity_num(num: i32) -> i32
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