Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61ba972a authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove unused API GATTS_AddHandleRange

Bug: 191555414
Tag: #refactor
Test: gd/cert/run

Change-Id: I04519f1762f316b9e0411378ab9b2140046170f9
parent add59888
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -65,22 +65,6 @@ tGATT_HDL_LIST_ELEM& gatt_add_an_item_to_list(uint16_t s_handle) {
 *                  GATT SERVER API
 *
 *****************************************************************************/
/*******************************************************************************
 *
 * Function         GATTS_AddHandleRange
 *
 * Description      This function add the allocated handles range for the
 *                  specified application UUID, service UUID and service
 *                  instance
 *
 * Parameter        p_hndl_range:   pointer to allocated handles information
 *
 **/

void GATTS_AddHandleRange(tGATTS_HNDL_RANGE* p_hndl_range) {
  gatt_add_an_item_to_list(p_hndl_range->s_handle);
}

/*******************************************************************************
 *
 * Function         GATTS_NVRegister
+0 −12
Original line number Diff line number Diff line
@@ -758,18 +758,6 @@ typedef struct {
/******************************************************************************/
/* GATT Profile Server Functions */
/******************************************************************************/
/*******************************************************************************
 *
 * Function         GATTS_AddHandleRange
 *
 * Description      This function add the allocated handles range for the
 *                  specified application UUID, service UUID and service
 *                  instance
 *
 * Parameter        p_hndl_range:   pointer to allocated handles information
 ******************************************************************************/

extern void GATTS_AddHandleRange(tGATTS_HNDL_RANGE* p_hndl_range);

/*******************************************************************************
 *
+0 −3
Original line number Diff line number Diff line
@@ -145,9 +145,6 @@ tGATT_STATUS GATT_Disconnect(uint16_t conn_id) {
  mock_function_count_map[__func__]++;
  return GATT_SUCCESS;
}
void GATTS_AddHandleRange(tGATTS_HNDL_RANGE* p_hndl_range) {
  mock_function_count_map[__func__]++;
}
void GATTS_StopService(uint16_t service_handle) {
  mock_function_count_map[__func__]++;
}