From 8f1a6989eefd9edb1dc3f1f689cb3af6aa3a28f1 Mon Sep 17 00:00:00 2001 From: Yulong Date: Thu, 18 May 2017 02:07:16 -0400 Subject: [PATCH] component/bt: Added the declaration for esp_ble_gattc_cache_refresh in the gattc api header file. --- components/bt/bluedroid/api/include/esp_gattc_api.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/components/bt/bluedroid/api/include/esp_gattc_api.h b/components/bt/bluedroid/api/include/esp_gattc_api.h index ae53bf5751..43267f311e 100644 --- a/components/bt/bluedroid/api/include/esp_gattc_api.h +++ b/components/bt/bluedroid/api/include/esp_gattc_api.h @@ -629,6 +629,19 @@ esp_gatt_status_t esp_ble_gattc_unregister_for_notify (esp_gatt_if_t gattc_if, esp_gatt_srvc_id_t *srvc_id, esp_gatt_id_t *char_id); + +/** +* @brief Refresh the server cache store in the gattc stack of the remote device +* +* @param[in] remote_bda: remote device BD address. +* +* @return +* - ESP_OK: unregister succeeds +* - other: failed +* +*/ +esp_gatt_status_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda); + #ifdef __cplusplus } #endif