Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes Class Reference

List of all members.


class  AcmUsbEndpoints

Public Member Functions

 AcmDevice (UsbDeviceConnection usbDeviceConnection, UsbDevice usbDevice)
void close ()
InputStream getInputStream ()
OutputStream getOutputStream ()
UsbDevice getUsbDevice ()
UsbInterface getUsbInterface ()
void setLineCoding (BitRate bitRate, StopBits stopBits, Parity parity, DataBits dataBits)

Private Member Functions

AcmUsbEndpoints getAcmEndpoints (UsbInterface usbInterface)
void setLineCoding (byte[] lineCoding)

Private Attributes

final InputStream inputStream
final OutputStream outputStream
final UsbDevice usbDevice
final UsbDeviceConnection usbDeviceConnection
final UsbInterface usbInterface
final UsbRequestPool usbRequestPool

Static Private Attributes

static final int CONTROL_TRANSFER_TIMEOUT = 3000
static final Log log = LogFactory.getLog(AcmDevice.class)

Detailed Description

Author: (Damon Kohler)

Definition at line 40 of file

Constructor & Destructor Documentation ( UsbDeviceConnection  usbDeviceConnection,
UsbDevice  usbDevice 
) [inline]

Definition at line 75 of file

Member Function Documentation

Definition at line 166 of file

AcmUsbEndpoints ( UsbInterface  usbInterface) [inline, private]

Goes through the given UsbInterface's endpoints and finds the incoming and outgoing bulk transfer endpoints.

Array with incoming (first) and outgoing (second) USB endpoints
null in case either of the endpoints is not found

Definition at line 109 of file

Definition at line 158 of file

Definition at line 162 of file

Definition at line 150 of file

Definition at line 154 of file

void ( BitRate  bitRate,
StopBits  stopBits,
Parity  parity,
DataBits  dataBits 
) [inline]

Definition at line 132 of file

void ( byte[]  lineCoding) [inline, private]

Definition at line 142 of file

Member Data Documentation

Definition at line 42 of file

Definition at line 47 of file

final Log = LogFactory.getLog(AcmDevice.class) [static, private]

Definition at line 51 of file

Definition at line 48 of file

Definition at line 45 of file

Definition at line 44 of file

Definition at line 46 of file

Definition at line 49 of file

The documentation for this class was generated from the following file:

Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07