1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-07 07:56:20 +00:00

284 Commits

Author SHA1 Message Date
Felix Hädicke
2bdcbfd16e Device support: PL2303.
This change consolidates changes made by Felix Hädicke:
  https://code.google.com/r/felixhaedicke-usb-serial-for-android/

Upstream changes merged (newest first):
  3b6fb7f Rename parameter variables
  74d858f Remove unused constant
  bab0691 Make consts private
  381f28c Remove test code
  bdd9a64 Suppport for reading CTS / DSR / CD / RI status
  ccf807a Remove "Untested" TODO comment (no longer true)
  1b1ccce Remove unneeded commented out function ctrlIn
  5f853db Make parameter fields private
  d8c6758 Fix for wrong constant being used when turning off DTR
  05ff566 Fix for NullPointerException
  9d2c9af Reenabled device type detection
  307ce72 Device support: PL2303.

Original commit message:
  New driver for Prolific PL2303

  A new driver for Prolific PL2303 devices, which is more or less a port
  of the "pyprolific" driver from https://github.com/eblot/pyftdi
2013-10-28 16:41:57 -07:00
mike w
4b4499f369 Update README.md 2013-09-13 09:34:09 -07:00
mike w
d7ba0be9d4 Update README.md 2013-09-13 09:33:53 -07:00
mike w
e2c042fc89 Update README.md 2013-09-13 09:29:42 -07:00
Felix Hädicke
eca40d6b11 FTDI driver: Filter status bytes
Filter status bytes at the beginning of every USB package received from
FTDI serial adapters
2013-05-22 13:08:05 -07:00
mike wakerly
b709823906 Update demo activity.
Demo now consists of two activities:
  - DeviceListActivity shows all usb devices (including unsupported ones)
    in a ListView.
  - SerialConsoleActivity dumps the data stream for a device selected in
    DeviceListActivity.
2013-05-22 13:04:05 -07:00
mike wakerly
b07bbcf292 Eclipse settings: adjust import order to match Android style. 2013-05-22 12:58:24 -07:00
mike wakerly
386b98ac46 UsbSerialProber: API cleanup; support multi-port devices.
acquire() is renamed and deprecated in favor of findFirstDevice().

findAllDevices() is added as new functionality.

Internally, probe() now returns a list, allow a (future) multi-port
device to return multiple drivers, one for each port (googlecode
issue #14).
2013-05-22 11:45:20 -07:00
mike wakerly
3991b2c7c7 Fix typo. 2013-05-22 10:47:45 -07:00
mike wakerly
22c4c9b280 CDC: fix incorrect stop bits (thanks vovkab). 2013-04-07 23:06:30 -07:00
mike wakerly
beccfbb409 Add Leaflabs Maple to CDC probe table. 2013-04-07 22:53:21 -07:00
mike wakerly
f73b485418 Remove setBaudRate(); do not touch line config in open().
Callers should call setParameters() after open() (and now have the option of
skipping this step where feasible.)
2013-04-07 22:42:40 -07:00
mike wakerly
fe2eb8278b UsbSerialDriver is an interface once again.
Code shared among the existing drivers is moved into CommonUsbSerialDriver.
2013-02-19 13:28:26 -08:00
ducky-hong
2b3528b425 added support for cp2102 device 2013-02-07 15:05:13 -08:00
mike wakerly
c3ac464ab3 Rename LUFA ids (which use Ateml's vendor code) to match Linux usb.ids 2013-01-16 09:49:21 -08:00
Elliot Smith
890e543e0c Added support for LUFA Virtual Serial Example
Closes issue #8.

Signed-off-by: mike wakerly <opensource@hoho.com>
2013-01-15 17:59:23 -08:00
mike wakerly
dfea06412f Remove stray 'R' import. 2012-12-10 10:41:51 -08:00
mike wakerly
f35468e0f8 Rewind output buffer before copying. 2012-12-07 17:47:17 -08:00
mike wakerly
3f271aab81 Add setParameters() method and deprecate setBaudRate().
Interface is similar to javax.comm.
2012-12-07 14:08:03 -08:00
mike wakerly
0424133e58 Update changelog; add BuildInfo. 2012-11-28 10:35:56 -08:00
mike wakerly
111707c92f Driver interface: add methods for CD, CTS, DSR, DTR, RI, and RTS. 2012-11-28 10:24:47 -08:00
mike wakerly
a3b9c27f84 Update Eclipse prefs. 2012-11-13 10:54:35 -08:00
mike wakerly
3812fbcb55 cdc: Remove spurious readAmt line from previous commit. v0.1.0 2012-10-12 09:04:27 -07:00
mike wakerly
b328f3cbc9 Increase default read/write buffer sizes; allow tuning. 2012-10-11 19:40:54 -07:00
mike wakerly
c5e9955b01 Update device support; change interface to abstract base class.
Adds support for Teensyduino and a few more Arduino CDC devices.
2012-10-10 22:52:02 -07:00
mike wakerly
28054ab154 Add gitignore. 2012-10-10 21:45:48 -07:00
mike wakerly
9cf6e4e0b3 Add example arduino program. 2012-08-30 17:08:44 -07:00
mike wakerly
b96d43639e FTDI driver: Experimental async support.
Disabled due to Android bug.
2012-08-09 15:32:25 -07:00
mike wakerly
fbf2607124 Cdc driver: probe all Arduinos. 2012-07-15 22:19:28 -07:00
mike wakerly
f2ff56ba51 cdc driver: swallow exception for now. 2012-07-08 21:40:14 -07:00
mike wakerly
b4b6d147ea Initial CDC ACM support.
Tested on Arduino Uno.
2012-06-26 23:15:56 -07:00
mike wakerly
f801b31997 Add new interface method: getDevice(). 2012-06-26 23:15:29 -07:00
mike wakerly
7a690f3ad2 SerialInputOutputManager: fix write butter synchronization 2012-01-09 13:49:37 -08:00
mike wakerly
bd50024ebc Initial commit. 2011-12-28 16:29:17 -08:00