Skip to content

Transfer error - timeout (-7) altough everything works ok? #1

Description

@hllhll

DeviceProxy_LibUSB.cpp:

function :receive_data
case - USB_ENDPOINT_XFER_INT
This version reports a timeout, alrough older version code had a hack that implies that a timeout is a "ok" response. Older version code:

 if (rc==LIBUSB_ERROR_TIMEOUT){free(*dataptr);*dataptr=NULL;*length=0;return;}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions