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/07/24 20:30:34 UTC

[2/2] incubator-mynewt-core git commit: BLE Host - Update unit tests to use new dflt cfg.

BLE Host - Update unit tests to use new dflt cfg.


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/bcbfb412
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bcbfb412
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/bcbfb412

Branch: refs/heads/develop
Commit: bcbfb4129b1d702dc235b68303500d780c5d3dd1
Parents: 64e2ccb
Author: Christopher Collins <cc...@apache.org>
Authored: Sun Jul 24 13:29:22 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Sun Jul 24 13:29:22 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/src/test/ble_hs_test_util.c | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bcbfb412/net/nimble/host/src/test/ble_hs_test_util.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/test/ble_hs_test_util.c b/net/nimble/host/src/test/ble_hs_test_util.c
index d517f86..3877174 100644
--- a/net/nimble/host/src/test/ble_hs_test_util.c
+++ b/net/nimble/host/src/test/ble_hs_test_util.c
@@ -1201,6 +1201,12 @@ ble_hs_test_util_init(void)
 
     cfg = ble_hs_cfg_dflt;
     cfg.max_connections = 8;
+    cfg.max_l2cap_chans = 3 * cfg.max_connections;
+    cfg.max_services = 16;
+    cfg.max_client_configs = 32;
+    cfg.max_attrs = 64;
+    cfg.max_gattc_procs = 16;
+
     rc = ble_hs_init(&ble_hs_test_util_evq, &cfg);
     TEST_ASSERT_FATAL(rc == 0);