R
Raksha
Guest
Hi,
I have created one android app that communicate with printer through USB.
I am able to send command to printer using bulktransfer method .
Printer receives command succesfully and send response to usb
For reading response i am using Bulktransfer. i changed usb endpoint from device to host
.I am not able to read response as for reading bulk transfer always giving -1 .
I tried to increase buffer size for read response .
i tried to increase timeout for read response .
But nothing is working.Can anyone have idea whats going wrong.
I have created one android app that communicate with printer through USB.
I am able to send command to printer using bulktransfer method .
Printer receives command succesfully and send response to usb
For reading response i am using Bulktransfer. i changed usb endpoint from device to host
.I am not able to read response as for reading bulk transfer always giving -1 .
I tried to increase buffer size for read response .
i tried to increase timeout for read response .
But nothing is working.Can anyone have idea whats going wrong.