Uses of Class
com.ftdi.FTD2XXException
Packages that use FTD2XXException
-
Uses of FTD2XXException in com.ftdi
Methods in com.ftdi that throw FTD2XXExceptionModifier and TypeMethodDescriptionvoidFTDevice.close()Close connection with device.protected voidAbstractDataHandler.configureDevice(FTDevice ftDevice) voidFTDevice.cyclePort()Send a cycle command to the USB port.FTDevice.getBitMode()Gets the instantaneous value of the data bus.intFTDevice.getComPortNumber()Gets the com port number of the device.FTDevice.getDevices()Get the connected FTDI devices.FTDevice.getDevices(boolean isIncludeOpenedDevices) Get the connected FTDI devices.FTDevice.getDevicesByDescription(String description) Get the connected FTDI devices.FTDevice.getDevicesByDeviceType(DeviceType deviceType) Get the connected FTDI devices.FTDevice.getDevicesBySerialNumber(String serialNumber) Get the connected FTDI devices.FTDevice.getDeviceStatus()Gets the modem status and line status from the device.intFTDevice.getEEPROMUserAreaSize()Get the available size of the EEPROM user areashortFTDevice.getLatencyTimer()Get the current value of the latency timer.byteFTDevice.getPins()Gets current state of pins.intFTDevice.getQueueStatus()Gets the number of bytes in the receive queue.int[]FTDevice.getStatus()Gets the modem status and line status from the device.voidFTDevice.open()Open connection with device.voidFTDevice.purgeBuffer(boolean rxBuffer, boolean txBuffer) Purge receive or transmit buffers in the device.intFTDevice.read()Read a byte from device.intFTDevice.read(byte[] bytes) Read bytes from device.intFTDevice.read(byte[] bytes, int offset, int lenght) Read bytes from device.byte[]FTDevice.read(int number) Read given bytes from device.protected abstract intprotected intFTDevice.readEEPROM()Read device EEPROM dataFTDevice.readEEPROM_X()Read X series device EEPROM data Check D2xx Programmer's Guide Appendix A for detailsbyte[]FTDevice.readEEPROMUserArea(int numberOfBytes) Read the contents of the EEPROM user areabyte[]FTDevice.readFullEEPROMUserArea()Read all contents of the EEPROM user areaprotected abstract voidAbstractDataHandler.registerEventHandle(FTDevice ftDevice, int eventMask) voidFTDevice.resetDevice()Send a reset command to the device.voidFTDevice.setBaudRate(long baudRate) Set desired baud rate.voidFTDevice.setBitMode(byte ucMask, BitModes bitMode) Enables different chip modes.voidFTDevice.setBreakOff()Resets the BREAK condition for the device.voidFTDevice.setBreakOn()Sets the BREAK condition for the device.voidFTDevice.setChars(byte uEventChar, byte uEventCharEn, byte uErrorChar, byte uErrorCharEn) Set the special characters for the device.voidFTDevice.setDataCharacteristics(WordLength wordLength, StopBits stopBits, Parity parity) This function sets the data characteristics for the devicevoidFTDevice.setDivisor(int divisor) Set device divisor.voidFTDevice.setDtr(boolean status) Set the Data Terminal Ready (DTR) control signal.voidFTDevice.SetEventNotification(com.sun.jna.Pointer eventHandler, int eventMask) Set the event notification handler.voidFTDevice.setFlowControl(FlowControl flowControl) Sets the flow control for the device.voidFTDevice.setFlowControl(FlowControl flowControl, byte uXon, byte uXoff) Sets the flow control for the device.voidFTDevice.setLatencyTimer(short timer) Set the latency timer value.voidFTDevice.setRts(boolean status) Set the Request To Send (RTS) control signalvoidFTDevice.setTimeouts(long readTimeout, long writeTimeout) Set the read and write timeouts for the device.voidFTDevice.setUSBParameters(int inTransferSize, int outTransferSize) Set the USB request transfer size.static voidFTDevice.setVidPid(int dwVID, int dwPID) A command to include a custom VID and PID combination within the internal device list table.protected abstract voidAbstractDataHandler.waitForNotificationEvent(FTDevice ftDevice) intFTDevice.write(byte[] bytes) Write bytes to device.intFTDevice.write(byte[] bytes, int offset, int length) Write bytes to device.booleanFTDevice.write(int b) Write byte to device.voidFTDevice.writeEEPROM(EEPROMData programData) Program the EEPROM datavoidFTDevice.writeEEPROM_X(EepromX eeprom) Write X series device EEPROM data Check D2xx Programmer's Guide Appendix A for detailsvoidFTDevice.writeEEPROMUserArea(byte[] data) Write data into the EEPROM user areavoidFTDevice.writeEEPROMUserArea(String data) Write string into the EEPROM user area -
Uses of FTD2XXException in com.ftdi.handler
Methods in com.ftdi.handler that throw FTD2XXExceptionModifier and TypeMethodDescriptionprotected voidBlockingReaderHandler.configureDevice(FTDevice ftDevice) protected intprotected voidBlockingReaderHandler.registerEventHandle(FTDevice ftDevice, int eventMask) protected voidEventNotificationHandlerLinux.registerEventHandle(FTDevice ftDevice, int eventMask) protected voidEventNotificationHandlerWindows.registerEventHandle(FTDevice ftDevice, int eventMask) protected voidBlockingReaderHandler.waitForNotificationEvent(FTDevice ftDevice) protected voidEventNotificationHandlerLinux.waitForNotificationEvent(FTDevice ftDevice) protected voidEventNotificationHandlerWindows.waitForNotificationEvent(FTDevice ftDevice)