You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2017/04/26 22:41:01 UTC

[13/50] [abbrv] incubator-mynewt-core git commit: MYNEWT-732: Fix ble_gattc_disc_svc_by_uuid

MYNEWT-732: Fix ble_gattc_disc_svc_by_uuid

Broken in a refactor in 191acab73c9c77c157a806d8871b653f3c64cbc9.


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

Branch: refs/heads/bluetooth5
Commit: 1ae17576b9d9c48c659397afd03d053a8b896a00
Parents: 73c8953
Author: Simon Ratner <si...@probablyprime.net>
Authored: Wed Apr 19 10:48:34 2017 -0700
Committer: Simon Ratner <si...@probablyprime.net>
Committed: Wed Apr 19 10:51:34 2017 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_att_clt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1ae17576/net/nimble/host/src/ble_att_clt.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_att_clt.c b/net/nimble/host/src/ble_att_clt.c
index 9ff9b53..23e140d 100644
--- a/net/nimble/host/src/ble_att_clt.c
+++ b/net/nimble/host/src/ble_att_clt.c
@@ -295,7 +295,7 @@ ble_att_clt_tx_find_type_value(uint16_t conn_handle, uint16_t start_handle,
         return BLE_HS_EINVAL;
     }
 
-    req = ble_att_cmd_get(BLE_ATT_OP_FIND_INFO_REQ, sizeof(*req) + value_len,
+    req = ble_att_cmd_get(BLE_ATT_OP_FIND_TYPE_VALUE_REQ, sizeof(*req) + value_len,
                           &txom);
     if (req == NULL) {
         return BLE_HS_ENOMEM;