The requirement is to communicate Clover Mini with android tablet. Directly ( Plug Data cable one end into clover USB port and other end to android tablet charger jack ) clover Acts as a USB host and Android tablet work as a Accessory. I am able to find the USB Device, verify the VID/PID, get permission, open the connection, get the interface, claim the interface, and get the endpoints. But when I attempt to send data using the following code:connection.bulkTransfer(endpoint, dataArray, dataArray.length, USB_TIMEOUT);
it returns -1
Following are the components i am using
connection => UsbDeviceConnection,
endpoint => UsbEndpoint (out),
data Array => byte[]
USB_TIMEOUT => 1000
App Does not crashes, it also does not Print any log etc.
below is the stackoverflow link where i have posted question with attachment of required model
https://stackoverflow.com/questions/45420374/usb-c...
i have contacted support they dont have any example to which they can point me. so i need community help to get me actual implementation
if any one work on it please assist me
any help would be highly appreciated