Back to project page usb-serial-for-android.
The source code is released under:
GNU Lesser General Public License
If you think the Android project usb-serial-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* Copyright 2012 Google Inc. *//from ww w . j av a2 s . c om * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. * * Project home page: http://code.google.com/p/usb-serial-for-android/ */ package com.hoho.android.usbserial.driver; /** * Registry of USB vendor/product ID constants. * * Culled from various sources; see * <a href="http://www.linux-usb.org/usb.ids">usb.ids</a> for one listing. * * @author mike wakerly (opensource@hoho.com) */ public final class UsbId { public static final int VENDOR_FTDI = 0x0403; public static final int FTDI_FT232R = 0x6001; public static final int VENDOR_ARDUINO = 0x2341; public static final int ARDUINO_UNO = 0x0001; public static final int ARDUINO_MEGA_2560 = 0x0010; public static final int ARDUINO_SERIAL_ADAPTER = 0x003b; public static final int ARDUINO_MEGA_ADK = 0x003f; public static final int ARDUINO_MEGA_2560_R3 = 0x0042; public static final int ARDUINO_UNO_R3 = 0x0043; public static final int ARDUINO_MEGA_ADK_R3 = 0x0044; public static final int ARDUINO_SERIAL_ADAPTER_R3 = 0x0044; public static final int ARDUINO_LEONARDO = 0x8036; public static final int VENDOR_VAN_OOIJEN_TECH = 0x16c0; public static final int VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL = 0x0483; private UsbId() { throw new IllegalAccessError("Non-instantiable class."); } }