public class EsfSerialPort
extends java.lang.Object
Constructor and Description |
---|
EsfSerialPort(java.lang.String deviceNode)
Contsructor for a serial device that is not a USB based serial port
|
EsfSerialPort(java.lang.String deviceNode,
java.lang.String usbPort)
Constructor for a serial device that is a USB based serial port
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceNode()
returns the device node as a
String |
java.lang.String |
getUsbPort()
returns the USB port name as a
String if this is a USB based serial port. |
boolean |
isUsbToSerialPort()
returns whether or not this is a USB based serial port
|
public EsfSerialPort(java.lang.String deviceNode)
deviceNode
- the device node of the serial portpublic EsfSerialPort(java.lang.String deviceNode, java.lang.String usbPort)
deviceNode
- the device node of the serial portusbPort
- the usb port name of the devicepublic java.lang.String getDeviceNode()
String
public boolean isUsbToSerialPort()
public java.lang.String getUsbPort()
String
if this is a USB based serial port.Copyright © 2009 Eurotech Inc. All rights reserved.