
|Ĭopies of both the General Public License and Lesser General Public License are in the provided archive. The usb-serial-for-android project and therefore also this library is licensed under the GNU Lesser General Public License v3. The FTDI "status byte" bug on reading input that existed in version 1.0 of this library is hopefully fixed. Silicon Labs CP210x support is added - maybe only the CP2102 as I have no hardware to test. This works for slave devices only.Īndroid Accessories, which are host mode devices, are recognised and can be used in the same way as the other slave mode devices. SetParameters, which must be used after Open(), and the constants for SetParameters provides acess to all the serial line parameters instead of just baud rate.ĭeviceInfo provides a string containing information about a device.

UsbPresent, HasPermission and RequestPermission are added to identify any attached device or Accessory available to the library and deal with permission to access it.

The specific enhancements to the library over the original UsbSerial library are : The library is based on the same open source project Android USB host serial driver library as the existing UsbSerial library but no longer needs a separate jar file as the project source code is incorporated in the library. Note that AsyncStreams prefix mode is not supported. All devices use the same simple interface intended to be used with AsyncStreams and AsyncStreamsText. It has added support for Prolific PL2303 USB to serial converters, Android ADK devices and USB permissions. This is an expanded version of the original UsbSerial library.
