Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinguino does not connect to Android #26

Open
GoogleCodeExporter opened this issue May 20, 2015 · 0 comments
Open

Pinguino does not connect to Android #26

GoogleCodeExporter opened this issue May 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Win-XP(SP3)
Pinguino-IDE,rev468
Emperor 460
Android 2.2 phones/tablet

void setup()
{
    Adb.init();

}


void loop()
{
    unsigned char connected = Adb.refresh();
}


The variable "connected" never becomes TRUE. However, it should change to TRUE 
as soon as an Android device is attached to the USB host port.

I have tested with two different Android 2.2 phones and one Android 2.2 tablet.
Please note: All three Android devices connect via ADB, and work perfectly when 
plugged into the USB host port of an Arduino Mega ADK board.

Is the connection from the Pinguino rejected because the Android device 
requests the maximum current (500mA)? How much current does the 
Pinguino-generated code permit?

Must be a certain VIP/PID specified, or will the Pinguino-generated firmware 
connect to all possible VIDs/PIDs? 

Thank you for any advice.

Original issue reported on code.google.com by chai.sir...@yahoo.com on 7 Jun 2012 at 1:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant