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

pull/439/merge
Yulong 2017-05-18 02:11:42 -04:00
rodzic 8f1a6989ee
commit b401bbc4d6
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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
}