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/08/01 20:59:44 UTC

[7/8] incubator-mynewt-core git commit: renamed on_gap_event to on_gap_disconnect to better describe functionality

renamed on_gap_event to on_gap_disconnect to better describe functionality


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

Branch: refs/heads/develop
Commit: 47b955283e585fd8363ce22d33863cffba09be73
Parents: 4f13d68
Author: Brian Giori <br...@gmail.com>
Authored: Fri Jul 29 09:46:08 2016 -0700
Committer: Brian Giori <br...@gmail.com>
Committed: Fri Jul 29 09:46:08 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h | 2 +-
 net/nimble/host/profiles/lls/src/ble_svc_lls.c                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/47b95528/net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h b/net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h
index 637dec8..8dee779 100644
--- a/net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h
+++ b/net/nimble/host/profiles/lls/include/profiles/lls/ble_svc_lls.h
@@ -34,7 +34,7 @@ typedef int ble_svc_lls_event_fn(uint8_t alert_level);
 
 uint8_t ble_svc_lls_alert_level_get(void);
 int ble_svc_lls_alert_level_set(uint8_t alert_level);
-void ble_svc_lls_on_gap_event(int reason); 
+void ble_svc_lls_on_gap_disconnect(int reason); 
 
 int ble_svc_lls_init(struct ble_hs_cfg *cfg, 
                      uint8_t initial_alert_level,

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/47b95528/net/nimble/host/profiles/lls/src/ble_svc_lls.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/profiles/lls/src/ble_svc_lls.c b/net/nimble/host/profiles/lls/src/ble_svc_lls.c
index 9a8e9db..c4be140 100644
--- a/net/nimble/host/profiles/lls/src/ble_svc_lls.c
+++ b/net/nimble/host/profiles/lls/src/ble_svc_lls.c
@@ -129,7 +129,7 @@ ble_svc_lls_access(uint16_t conn_handle, uint16_t attr_handle,
  *                              event.
  */
 void
-ble_svc_lls_on_gap_event(int reason)
+ble_svc_lls_on_gap_disconnect(int reason)
 {
     if (reason == BLE_HS_HCI_ERR(BLE_ERR_CONN_SPVN_TMO)) {
             cb_fn(ble_svc_lls_alert_level);