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/07/26 19:24:15 UTC
incubator-mynewt-core git commit: bletiny - Register ANS and
security-test svcs.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop a6dcf427f -> 7e47b2db6
bletiny - Register ANS and security-test svcs.
Registration of these services was mistakenly removed when the gATT
registration process was changed
(fb6b480413e7f019f32e3bab3ad4836d7cbc92b6).
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/7e47b2db
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/7e47b2db
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/7e47b2db
Branch: refs/heads/develop
Commit: 7e47b2db69ab2cd4ad153433f85e0a75ed097ed9
Parents: a6dcf42
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Jul 26 12:23:13 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Jul 26 12:23:28 2016 -0700
----------------------------------------------------------------------
apps/bletiny/src/gatt_svr.c | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7e47b2db/apps/bletiny/src/gatt_svr.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/gatt_svr.c b/apps/bletiny/src/gatt_svr.c
index 6a0176d..ca920e2 100644
--- a/apps/bletiny/src/gatt_svr.c
+++ b/apps/bletiny/src/gatt_svr.c
@@ -335,5 +335,10 @@ gatt_svr_init(struct ble_hs_cfg *cfg)
return rc;
}
+ rc = ble_gatts_add_svcs(gatt_svr_svcs);
+ if (rc != 0) {
+ return rc;
+ }
+
return 0;
}