Function esp_idf_svc::sys::esp_mesh_set_ap_connections

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