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/11 23:50:30 UTC
[40/50] [abbrv] incubator-mynewt-core git commit: bletiny - use new
rssi function.
bletiny - use new rssi function.
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/4cb430ac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4cb430ac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4cb430ac
Branch: refs/heads/ble_hs_api
Commit: 4cb430acb9b0371e425ca6ae041f235549dbdec5
Parents: 98181d7
Author: Christopher Collins <cc...@apache.org>
Authored: Fri Jul 8 19:46:56 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Jul 11 16:43:34 2016 -0700
----------------------------------------------------------------------
apps/bletiny/src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4cb430ac/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index b8a1fbe..e7aab28 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -1512,7 +1512,7 @@ bletiny_rssi(uint16_t conn_handle, int8_t *out_rssi)
{
int rc;
- rc = ble_hci_util_read_rssi(conn_handle, out_rssi);
+ rc = ble_gap_conn_rssi(conn_handle, out_rssi);
if (rc != 0) {
return rc;
}