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/03/25 23:27:43 UTC

[9/9] incubator-mynewt-core git commit: Change BLE apps to account for host SM changes.

Change BLE apps to account for host SM changes.


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

Branch: refs/heads/develop
Commit: e971b93c0211d0e05b1916154afe654d3e9d03e5
Parents: fc17488
Author: Christopher Collins <cc...@apache.org>
Authored: Fri Mar 25 14:44:39 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Fri Mar 25 15:25:50 2016 -0700

----------------------------------------------------------------------
 apps/bleprph/src/main.c | 2 +-
 apps/bletiny/src/main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e971b93c/apps/bleprph/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bleprph/src/main.c b/apps/bleprph/src/main.c
index b9e2d6d..e99c624 100755
--- a/apps/bleprph/src/main.c
+++ b/apps/bleprph/src/main.c
@@ -170,7 +170,7 @@ bleprph_on_connect(int event, int status, struct ble_gap_conn_ctxt *ctxt,
 
     case BLE_GAP_EVENT_CONN_UPDATE_REQ:
         BLEPRPH_LOG(INFO, "connection update request; status=%d ", status);
-        *ctxt->self_params = *ctxt->peer_params;
+        *ctxt->update.self_params = *ctxt->update.peer_params;
         break;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e971b93c/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index caa5d4a..59301bc 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -925,7 +925,7 @@ bletiny_on_connect(int event, int status, struct ble_gap_conn_ctxt *ctxt,
 
     case BLE_GAP_EVENT_CONN_UPDATE_REQ:
         BLETINY_LOG(INFO, "connection update request; status=%d ", status);
-        *ctxt->self_params = *ctxt->peer_params;
+        *ctxt->update.self_params = *ctxt->update.peer_params;
         break;
     }