/* Handles a notification that a read-by-type response has been fully processed for the specified find-included-services proc.  */
static int ble_gattc_find_inc_svcs_rx_complete(struct ble_gattc_proc *proc, int status)
/* Handles a notification that a read-by-type response has been fully processed for the specified find-included-services proc.  */
static int ble_gattc_find_inc_svcs_rx_complete(struct ble_gattc_proc *proc, int status)
{
    int rc;
    ble_gattc_dbg_assert_proc_not_inserted(proc);
    if (status != 0) {
        ble_gattc_find_inc_svcs_cb(proc, status, 0, NULL);
        return BLE_HS_EDONE;
    }
    if (proc->find_inc_svcs.prev_handle == 0xffff) {
        ble_gattc_find_inc_svcs_cb(proc, BLE_HS_EDONE, 0, NULL);
        return BLE_HS_EDONE;
    }
    rc = ble_gattc_find_inc_svcs_resume(proc);
    if (rc != 0) {
        return BLE_HS_EDONE;
    }
    return 0;
}