component/bt: change the esp_ble_gattc_cache_refresh API return value from esp_gatt_status_t to esp_err_t.

This commit is contained in:
Yulong 2017-05-18 02:11:42 -04:00
parent 8f1a6989ee
commit b401bbc4d6
2 changed files with 3 additions and 3 deletions

View file

@ -482,7 +482,7 @@ esp_gatt_status_t esp_ble_gattc_unregister_for_notify (esp_gatt_if_t gattc_if,
return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gattc_args_t), NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
}
esp_gatt_status_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda)
esp_err_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda)
{
btc_msg_t msg;
btc_ble_gattc_args_t arg;

View file

@ -636,11 +636,11 @@ esp_gatt_status_t esp_ble_gattc_unregister_for_notify (esp_gatt_if_t gattc_if,
* @param[in] remote_bda: remote device BD address.
*
* @return
* - ESP_OK: unregister succeeds
* - ESP_OK: success
* - other: failed
*
*/
esp_gatt_status_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda);
esp_err_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda);
#ifdef __cplusplus
}