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/05/17 18:02:21 UTC
[2/2] incubator-mynewt-core git commit: bleprph - Send the startup
sequence to controller.
bleprph - Send the startup sequence to controller.
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/5df4dc1e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5df4dc1e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5df4dc1e
Branch: refs/heads/develop
Commit: 5df4dc1e0908fdb4a3d43a6c0eb65f8dc0ead494
Parents: 935806b
Author: Christopher Collins <cc...@apache.org>
Authored: Tue May 17 11:01:48 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue May 17 11:01:48 2016 -0700
----------------------------------------------------------------------
apps/bleprph/src/main.c | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5df4dc1e/apps/bleprph/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bleprph/src/main.c b/apps/bleprph/src/main.c
index 3394c67..d03f8b5 100755
--- a/apps/bleprph/src/main.c
+++ b/apps/bleprph/src/main.c
@@ -185,6 +185,10 @@ bleprph_task_handler(void *unused)
{
struct os_event *ev;
struct os_callout_func *cf;
+ int rc;
+
+ rc = ble_hs_start();
+ assert(rc == 0);
/* Begin advertising. */
bleprph_advertise();