From 7827bc486d67fec23fe45e3d5bddb1197bd5e0e7 Mon Sep 17 00:00:00 2001 From: Yulong Date: Mon, 18 Sep 2017 23:15:32 -0400 Subject: [PATCH] component/bt: Fiexd the bug of the gattc cannot get the db properties. --- components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c b/components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c index 37f17fcca..57be19c6f 100644 --- a/components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c +++ b/components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c @@ -554,6 +554,7 @@ esp_gatt_status_t btc_ble_gattc_get_db(uint16_t conn_id, uint16_t start_handle, db[i].attribute_handle = get_db[i].id; db[i].start_handle = get_db[i].start_handle; db[i].end_handle = get_db[i].end_handle; + db[i].properties = get_db[i].properties; btc128_to_bta_uuid(&bta_uuid, get_db[i].uuid.uu); bta_to_btc_uuid(&db[i].uuid, &bta_uuid); }