]> granicus.if.org Git - esp-idf/commitdiff
component/bt: Fiexd the bug of the gattc cannot get the db properties.
authorYulong <huangyulong@espressif.com>
Tue, 19 Sep 2017 03:15:32 +0000 (23:15 -0400)
committerYulong <huangyulong@espressif.com>
Tue, 19 Sep 2017 03:15:32 +0000 (23:15 -0400)
components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c

index 37f17fcca2f1350b4993c38f0472874504e78b44..57be19c6f6ccf33bc77309b66101ff9f7b5f9e0d 100644 (file)
@@ -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);
     }