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

Getting vendor IDs #22

Open
Mauville opened this issue Jan 18, 2022 · 0 comments
Open

Getting vendor IDs #22

Mauville opened this issue Jan 18, 2022 · 0 comments

Comments

@Mauville
Copy link

I've got a bootleg Arduino with the CH340G chip. I had some difficulty finding the correct vendorID for my board (it ran perfectly on the CH34x apk), but I managed to find it by scruffily printing every USB device on the TextView:

    @Override
    protected void onStart() {
        super.onStart();
        arduino.setArduinoListener(this);
        UsbManager usbManager = (UsbManager) this.getSystemService(Context.USB_SERVICE);
        display(usbManager.getDeviceList().toString());
    }

I don't know enough about Android development to create a pull request and not botch the app, but I think the project could benefit from helping new people find their vendor ID. It could also help with GH-16 or GH-19.

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

No branches or pull requests

1 participant