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:
parent
8f1a6989ee
commit
b401bbc4d6
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
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_msg_t msg;
|
||||||
btc_ble_gattc_args_t arg;
|
btc_ble_gattc_args_t arg;
|
||||||
|
|
|
@ -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.
|
* @param[in] remote_bda: remote device BD address.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* - ESP_OK: unregister succeeds
|
* - ESP_OK: success
|
||||||
* - other: failed
|
* - 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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue