org.ros.android.android_acm_serial
Class AcmDevice

java.lang.Object
  extended by org.ros.android.android_acm_serial.AcmDevice

public class AcmDevice
extends java.lang.Object


Constructor Summary
AcmDevice(UsbDeviceConnection usbDeviceConnection, UsbInterface usbInterface)
           
 
Method Summary
 void close()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 void setLineCoding(BitRate bitRate, StopBits stopBits, Parity parity, DataBits dataBits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcmDevice

public AcmDevice(UsbDeviceConnection usbDeviceConnection,
                 UsbInterface usbInterface)
Method Detail

setLineCoding

public void setLineCoding(BitRate bitRate,
                          StopBits stopBits,
                          Parity parity,
                          DataBits dataBits)

getInputStream

public java.io.InputStream getInputStream()

getOutputStream

public java.io.OutputStream getOutputStream()

close

public void close()