You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/06/07 14:41:15 UTC

[08/12] incubator-mynewt-core git commit: Increase max_conns and max_sm_procs for UPF.

Increase max_conns and max_sm_procs for UPF.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/c57853c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/c57853c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/c57853c9

Branch: refs/heads/upf54
Commit: c57853c97b56da0eea01af756f3fcd68d94794f5
Parents: c7345cc
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Jun 7 18:44:56 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Jun 7 22:40:34 2016 +0800

----------------------------------------------------------------------
 apps/bletiny/src/main.c                | 1 +
 net/nimble/include/nimble/nimble_opt.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c57853c9/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index e9c5b9b..c6c93eb 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -1630,6 +1630,7 @@ main(void)
     cfg.max_gattc_procs = 2;
     cfg.max_l2cap_chans = NIMBLE_OPT(MAX_CONNECTIONS) * 3;
     cfg.max_l2cap_sig_procs = 2;
+    cfg.max_l2cap_sm_procs = 2,
     cfg.store_read_cb = store_read;
     cfg.store_write_cb = store_write;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c57853c9/net/nimble/include/nimble/nimble_opt.h
----------------------------------------------------------------------
diff --git a/net/nimble/include/nimble/nimble_opt.h b/net/nimble/include/nimble/nimble_opt.h
index 4aad463..5739e39 100644
--- a/net/nimble/include/nimble/nimble_opt.h
+++ b/net/nimble/include/nimble/nimble_opt.h
@@ -23,7 +23,7 @@
 /** HOST / CONTROLLER: Maximum number of concurrent connections. */
 
 #ifndef NIMBLE_OPT_MAX_CONNECTIONS
-#define NIMBLE_OPT_MAX_CONNECTIONS              1
+#define NIMBLE_OPT_MAX_CONNECTIONS              2
 #endif