Is there something about the AStar Micro’s USB port that would be worth knowing? I seem to be able to get it only partially working. Here is my situation:
I’ve written code so that my Android device can talk to an Arduino (or compatible) device over USB.
It works 100% for several boards I have including Arduino Uno, OSEPP Nano, and Node MCU. I can read and write to the device. I am using the following library: https://github.com/mik3y/usb-serial-for-android and I have the AStar configured to use the CdcAcmSerialDriver
Now with the AStar, I am able to read incoming messages (I know because it responds to commands I pass it such as turn LED on/off, etc.) but when I try to write data to its port, I never seem to receive anything at the Android. Whats even weirder is that it also seems to prefer only specific cables. One cable that I’ve used on all the other boards (and again seems to be working 100% with them) does not work at all with the AStar. Neither send nor receive nor even detect that its plugged in. But when I use a different cable I do get affirmative detection and I do get data travelling in one direction.
And yes I am using OTG adapters and specialized OTG USB cables.
Any ideas what I might do to get the AStar to work?
Maybe it’s not fully compliant with the CdcAcmSerialDriver? What driver would it be compliant with? Is there a white paper on the specifications of the AStar’s port?
Some other info:
I don’t have any problems at all using the AStar with the Arduino SDK. It sends and receives all data packets as expected.