• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android USB Bulk Transfer returning -1

Hi,
I am sending USB bulk transfer to printer i am succesfully send command to printer
Printer is responding data for that command.
when i am trying to read data through usbbulk transfer changed endpoint to usbin(device to host).

I am keep getting -1.
Already tried
1.Increase buffer size
2.Increase Timeout
3.check endpoints.

I there any thing i am missing out.Please help stuck in this problem from so long
 
Back
Top Bottom