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 2017/03/28 22:41:52 UTC

[55/67] [abbrv] incubator-mynewt-newtmgr git commit: newtmgr - allow blehostd 2 seconds for accept tmo.

newtmgr - allow blehostd 2 seconds for accept tmo.


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

Branch: refs/heads/master
Commit: d24f04015b97cc9ed36f89b8e567c4a8f2fa262c
Parents: f58e088
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Mar 27 11:52:48 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Mar 28 15:38:36 2017 -0700

----------------------------------------------------------------------
 newtmgr/config/ble_config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/blob/d24f0401/newtmgr/config/ble_config.go
----------------------------------------------------------------------
diff --git a/newtmgr/config/ble_config.go b/newtmgr/config/ble_config.go
index aeb80c7..dbdf3dc 100644
--- a/newtmgr/config/ble_config.go
+++ b/newtmgr/config/ble_config.go
@@ -116,7 +116,7 @@ func BuildBleXport(bc *BleConfig) (*nmble.BleXport, error) {
 	params.SockPath = "/tmp/blehostd-uds"
 	params.BlehostdPath = bc.BlehostdPath
 	params.DevPath = bc.ControllerPath
-	params.BlehostdAcceptTimeout = time.Second / 10
+	params.BlehostdAcceptTimeout = 2 * time.Second
 	params.BlehostdRestart = false
 
 	bx, err := nmble.NewBleXport(params)