Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430 HID Datapipe detection delay in Android

$
0
0
What is the usbhost.c file you are referring to? I don't see any file by that name in MSP430USBDevelopersPackage. I was already looking at the ACTION_USB_DEVICE_ATTACHED inside a BroadcastReceiver (I copied that code from the sample TI MSP430 HID Android app). I added some logging to get the relative timing of when ACTION_USB_DEVICE_ATTACHED is received vs when the getDeviceList() function on my UsbManager object (polled in a background thread) returns a device with my Vendor ID and Product ID. The timing is almost identical. As in: it is taking on the order of 10 seconds from when I actually plug in the MSP430 HID datapipe device before ACTION_USB_DEVICE_ATTACHED is broadcast. Is there anything earlier in the driver chain I can look for? Also I'm curious, is there anyone out there who has ever used any MSP430 HID datapipe device with Android and gotten their device to be detected in less than 10 seconds?

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>