1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android USB Bulk Transfer returning -1

Discussion in 'Android Development' started by Raksha Agrawal, Mar 12, 2020.

  1. Raksha Agrawal

    Thread Starter

    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


Share This Page