hello,
I also want to fetch data from Telosb sensor.And my host device is Lenovo
thinkpad tablet(Android 3.1).I want to know can your host device
distinguish Telosb. can you give me a hand?Think you!!!
在 2012年4月4日星期三UTC+8上午2时14分30秒,ashish sharma写道:
Hello,
I am working with Lenovo tablet
64 is the _max_ packet size. A single transfer may be shorter; it does not
matter if the rest of the buffer is filled with zeros or some garbage since
the data transfered is contained in just the first x bytes of the buffer
where x is the return value from bulkTransfer. For continuous transfer,
Hello,
Thanks for the reply. I tried calling bulkTransfer multiple times, but
I get the same values again. The code is as follows:
byte[] buffer =new byte[2];
int length= 2;
int TIMEOUT= 0;
UsbDeviceConnection connection= ourUsbManager.openDevice(device);
connection.claimInterface(intf, true);
3 matches
Mail list logo