Hi,
I’m trying to connect to an Arduino compatible via usb, the connection from Android to the Arduino works ok, but nothing in return direction – it even seems that the usb connection is blocking the Arduino from transmitting as the tx led isn’t lighting. My Arduino code is just looping back what it receives.
When I connect the Arduino to PC and use hyperterminal everything works fine, tx led lights and messages are sent from Arduino to PC.
I’m using a Nexus 7 with an on-the-go cable and AGraham’s latest usb serial library v2.3
I’ve experimented with setting driver and pid based on my configuration, but that didn’t seem to help e.g.
I have a usb tracer, but I’m not sure what to look for e.g. I can see some differences in endpoints compared to PC case.
Any suggestions what I could try?
- Thanks!
I’m trying to connect to an Arduino compatible via usb, the connection from Android to the Arduino works ok, but nothing in return direction – it even seems that the usb connection is blocking the Arduino from transmitting as the tx led isn’t lighting. My Arduino code is just looping back what it receives.
When I connect the Arduino to PC and use hyperterminal everything works fine, tx led lights and messages are sent from Arduino to PC.
I’m using a Nexus 7 with an on-the-go cable and AGraham’s latest usb serial library v2.3
I’ve experimented with setting driver and pid based on my configuration, but that didn’t seem to help e.g.
B4X:
If (usb.HasPermission) Then
usb.SetCustomDevice(usb.DRIVER_CDCACM, 0x2341,0x8036)
Log(usb.DeviceInfo)
I have a usb tracer, but I’m not sure what to look for e.g. I can see some differences in endpoints compared to PC case.
Any suggestions what I could try?
- Thanks!