cyusb_bulk_transfer return status -7

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

HI everyone, I want to ask off for a problem.Under the android 5.1.1  use cypress 6801 chips, communication mainly use cyusb lib library, but the device communication always cyusb_bulk_transfer function returns -7 when the status value. I want to consult everybody, this is what causes.  thank you !

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello

- cyusb_bulk_transfer returning -7 indicates that there is a timeout in the data transfer. Please refer to the following link.

libusb.h Source File

- To avoid this, make sure that data is transferred within the specified timeout interval or the timeout value can be increased. Even if the error occurs, data transfer following that transfer could clear the issue.

Best regards,

Srinath S

View solution in original post

0 Likes
1 Reply
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello

- cyusb_bulk_transfer returning -7 indicates that there is a timeout in the data transfer. Please refer to the following link.

libusb.h Source File

- To avoid this, make sure that data is transferred within the specified timeout interval or the timeout value can be increased. Even if the error occurs, data transfer following that transfer could clear the issue.

Best regards,

Srinath S

0 Likes