public class UsbSerialEntry
extends java.lang.Object
Constructor and Description |
---|
UsbSerialEntry(int ttyUsbPortNo,
java.lang.String vendor,
java.lang.String product,
int numPorts,
int portEnum,
java.lang.String path)
UsbSerialEntry constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfPorts()
Reports total number of ports.
|
java.lang.String |
getPath2usbDevice()
Reports path to USB device
|
int |
getPortEnumeration()
Reports port enumeration
|
java.lang.String |
getProductID()
Reports product ID
|
int |
getTtyUsbPortNo()
Reports ttyUSB port number
|
java.lang.String |
getVendorID()
Reports vendor ID
|
public UsbSerialEntry(int ttyUsbPortNo, java.lang.String vendor, java.lang.String product, int numPorts, int portEnum, java.lang.String path)
ttyUsbPortNo
- - ttyUSB port numbervendor
- - vendor IDproduct
- - product IDportEnum
- - port enumerationpath
- - path to USB devicepublic int getTtyUsbPortNo()
int
public java.lang.String getVendorID()
String
public java.lang.String getProductID()
String
public int getNumberOfPorts()
int
public int getPortEnumeration()
int
public java.lang.String getPath2usbDevice()
String
Copyright © 2009 Eurotech Inc. All rights reserved.