pub unsafe extern "C" fn esp_mesh_set_ap_connections(
    connections: c_int
) -> esp_err_t
Expand description

@brief Set mesh max connection value - Set mesh softAP max connection = mesh max connection + non-mesh max connection

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

@param[in] connections the number of max connections

@return

  • ESP_OK
  • ESP_ERR_MESH_ARGUMENT