|
Hi, I am trying to connect a Arduino to a Android mobile app using a USB Host shield. I am using a Arduino Uno and a Sparkfun Host Shield. This setup is working:
When I processess the usb_des sketch example in Arduino I got this printout: #################### Start
01 --
Device descriptor: Descriptor Length: 12 Descriptor type: 01 USB version: 0200 Device class: 00 Device Subclass: 00 Device Protocol: 00 Max.packet size: 40 Vendor ID: 0FCE Product ID: 5167 Revision ID: 0226 Mfg.string index: 01 Prod.string index: 02 Serial number index: 03 Number of conf.: 01
Configuration descriptor: Total length: 0043 Num.intf: 02 Conf.value: 01 Conf.string: 00 Attr.: 80 Max.pwr: FA Unknown descriptor: Length: 05 Type: 09 Contents: 0300020904
Interface descriptor: Intf.number: 00 Alt.: 00 Endpoints: 03 Intf. Class: 06 Intf. Subclass: 01 Intf. Protocol: 01 Intf.string: 00
Endpoint descriptor: Endpoint address: 85 Attr.: 02 Max.pkt size: 0040 Polling interval: 00
Endpoint descriptor: Endpoint address: 05 Attr.: 02 Max.pkt size: 0040 Polling interval: 00
Endpoint descriptor: Endpoint address: 86 Attr.: 03 Max.pkt size: 0040 Polling interval: 05
Interface descriptor: Intf.number: 01 Alt.: 00 Endpoints: 02 Intf. Class: FF Intf. Subclass: 42 Intf. Protocol: 01 Intf.string: 00
Endpoint descriptor: Endpoint address: 87 Attr.: 02 Max.pkt size: 0040 Polling interval: 00
Endpoint descriptor: Endpoint address: 06 Attr.: 02 Max.pkt size: 0040 Polling interval: 00
Addr:1(0.0.1)
I have problems connecting to the Android phone. I have downloaded the ArduinoTerminalSrc into the Eclipse with Android SDK installed but I get compiling errors in Eclipse....
|