From 5789a8a6e9061518964638d3d9cabe7e0b9a9b8d Mon Sep 17 00:00:00 2001 From: island Date: Thu, 16 Nov 2017 11:18:17 +0800 Subject: [PATCH] component/bt: delete gattc cache write operation --- components/bt/bluedroid/bta/gatt/bta_gattc_cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/bt/bluedroid/bta/gatt/bta_gattc_cache.c b/components/bt/bluedroid/bta/gatt/bta_gattc_cache.c index d9f67ef20..230f511ff 100644 --- a/components/bt/bluedroid/bta/gatt/bta_gattc_cache.c +++ b/components/bt/bluedroid/bta/gatt/bta_gattc_cache.c @@ -1967,7 +1967,8 @@ void bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id) } } - bta_gattc_cache_write(p_srvc_cb->server_bda, db_size, nv_attr); + /* Gattc cache write/read will be supported in IDF 3.1, so comment it temporarily*/ + //bta_gattc_cache_write(p_srvc_cb->server_bda, db_size, nv_attr); osi_free(nv_attr); }