/* Handles an incoming handle-value-confirmation for the specified indication proc.  */
static void ble_gattc_indicate_rx_rsp(struct ble_gattc_proc *proc)
/* Handles an incoming handle-value-confirmation for the specified indication proc.  */
static void ble_gattc_indicate_rx_rsp(struct ble_gattc_proc *proc)
{
    int rc;
    ble_gattc_dbg_assert_proc_not_inserted(proc);
    rc = ble_gatts_rx_indicate_ack(proc->conn_handle,
                                   proc->indicate.chr_val_handle);
    if (rc != 0) {
        return;
    }
    ble_gap_notify_tx_event(BLE_HS_EDONE, proc->conn_handle,
                            proc->indicate.chr_val_handle, 1);
    ble_gatts_send_next_indicate(proc->conn_handle);
}