com.ionetrics.lib.annotatorcomm.ftd2xx
Class FTD2XXDeviceInfo

java.lang.Object
  extended by com.ionetrics.lib.annotatorcomm.ftd2xx.FTD2XXDeviceInfo

public class FTD2XXDeviceInfo
extends java.lang.Object

FTD2XX Device Enumeration Information


Method Summary
 java.lang.String getDescription()
          Get the device's description.
 int getId()
          Get the device VID/PID.
 int getPID()
          Get the device's Product ID (PID).
 java.lang.String getSerialNumber()
          Get the device's serial number.
 int getType()
          Get the device type.
 int getVID()
          Get the device's Vendor ID (VID).
 boolean isOpen()
          Check is the device was open when this object was constructed.
 java.lang.String toString()
          Get a String representation of the device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isOpen

public boolean isOpen()
Check is the device was open when this object was constructed.

Returns:
device open/closed flag

getType

public int getType()
Get the device type.

Returns:
device type

getId

public int getId()
Get the device VID/PID. The VID is the upper two bytes, and the PID is the lower two bytes.

Returns:
device ID

getVID

public int getVID()
Get the device's Vendor ID (VID).

Returns:
VID

getPID

public int getPID()
Get the device's Product ID (PID).

Returns:
PID

getSerialNumber

public java.lang.String getSerialNumber()
Get the device's serial number.

Returns:
serial number

getDescription

public java.lang.String getDescription()
Get the device's description.

Returns:
description

toString

public java.lang.String toString()
Get a String representation of the device.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the device


Copyright © 2006 Ionetrics Corp. All Rights Reserved.