mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccoll...@apache.org
Subject [26/50] [abbrv] incubator-mynewt-core git commit: ble apps - Use latest GATT server API.
Date Mon, 11 Jul 2016 23:50:16 GMT
ble apps - Use latest GATT server API.


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

Branch: refs/heads/ble_hs_api
Commit: bad2b6a6829d10b9023ce3408ee4ac6cfa99cb1b
Parents: 2447ea0
Author: Christopher Collins <ccollins@apache.org>
Authored: Thu Jun 30 10:12:02 2016 -0700
Committer: Christopher Collins <ccollins@apache.org>
Committed: Mon Jul 11 16:43:32 2016 -0700

----------------------------------------------------------------------
 apps/bleprph/src/gatt_svr.c | 6 ++----
 apps/bletiny/src/gatt_svr.c | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bad2b6a6/apps/bleprph/src/gatt_svr.c
----------------------------------------------------------------------
diff --git a/apps/bleprph/src/gatt_svr.c b/apps/bleprph/src/gatt_svr.c
index 6386663..595a0d9 100644
--- a/apps/bleprph/src/gatt_svr.c
+++ b/apps/bleprph/src/gatt_svr.c
@@ -442,11 +442,9 @@ gatt_svr_register_cb(uint8_t op, union ble_gatt_register_ctxt *ctxt,
void *arg)
         break;
 
     case BLE_GATT_REGISTER_OP_DSC:
-        BLEPRPH_LOG(DEBUG, "registering descriptor %s with handle=%d "
-                           "chr_handle=%d\n",
+        BLEPRPH_LOG(DEBUG, "registering descriptor %s with handle=%d\n",
                     gatt_svr_uuid_to_s(ctxt->dsc.dsc_def->uuid128, buf),
-                    ctxt->dsc.dsc_handle,
-                    ctxt->dsc.chr_def_handle);
+                    ctxt->dsc.handle);
         break;
 
     default:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bad2b6a6/apps/bletiny/src/gatt_svr.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/gatt_svr.c b/apps/bletiny/src/gatt_svr.c
index 19b3a8b..0b20f8e 100644
--- a/apps/bletiny/src/gatt_svr.c
+++ b/apps/bletiny/src/gatt_svr.c
@@ -442,11 +442,9 @@ gatt_svr_register_cb(uint8_t op, union ble_gatt_register_ctxt *ctxt,
void *arg)
         break;
 
     case BLE_GATT_REGISTER_OP_DSC:
-        BLETINY_LOG(DEBUG, "registering descriptor %s with handle=%d "
-                           "chr_handle=%d\n",
+        BLETINY_LOG(DEBUG, "registering descriptor %s with handle=%d\n",
                     gatt_svr_uuid_to_s(ctxt->dsc.dsc_def->uuid128, buf),
-                    ctxt->dsc.dsc_handle,
-                    ctxt->dsc.chr_def_handle);
+                    ctxt->dsc.handle);
         break;
 
     default:


Mime
View raw message