From 7e964e265324d69ae2cdc60eacb365ca3e5bab1f Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 11 Oct 2024 18:10:53 +0200 Subject: [PATCH] gatt_service_client: remove gatt_service_client_att_status_to_error_code --- src/ble/gatt_service_client.c | 3 --- src/ble/gatt_service_client.h | 8 -------- 2 files changed, 11 deletions(-) diff --git a/src/ble/gatt_service_client.c b/src/ble/gatt_service_client.c index 49868b0f7..25c0479b6 100644 --- a/src/ble/gatt_service_client.c +++ b/src/ble/gatt_service_client.c @@ -141,9 +141,6 @@ uint8_t gatt_service_client_characteristic_index_for_value_handle(const gatt_ser return GATT_SERVICE_CLIENT_INVALID_INDEX; } -uint8_t gatt_service_client_att_status_to_error_code(uint8_t att_error_code){ - return gatt_client_att_status_to_error_code(att_error_code); -} static void gatt_service_client_emit_connected(btstack_packet_handler_t event_callback, hci_con_handle_t con_handle, uint16_t cid, uint8_t status){ btstack_assert(event_callback != NULL); diff --git a/src/ble/gatt_service_client.h b/src/ble/gatt_service_client.h index 8e3c3581d..3f1bcd14f 100644 --- a/src/ble/gatt_service_client.h +++ b/src/ble/gatt_service_client.h @@ -280,14 +280,6 @@ void gatt_service_client_dump_characteristic_value_handles(const gatt_service_cl void gatt_service_client_deinit(void); -/** - * @brief Map ATT Error Code to (extended) Error Codes - * @param att_error_code - * @return - */ -uint8_t gatt_service_client_att_status_to_error_code(uint8_t att_error_code); - - /* API_END */ #if defined __cplusplus