component/bt: Added the declaration for esp_ble_gattc_cache_refresh in the gattc api header file.

This commit is contained in:
Yulong 2017-05-18 02:07:16 -04:00
parent 00cdf62ce7
commit 8f1a6989ee

View file

@ -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_srvc_id_t *srvc_id,
esp_gatt_id_t *char_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 #ifdef __cplusplus
} }
#endif #endif