org.universAAL.lddi.fs20.connect
Class FHZ1000PC.JD2XXFHZ1000Device
java.lang.Object
org.universAAL.lddi.fs20.connect.FHZ1000PC.JD2XXFHZ1000Device
- All Implemented Interfaces:
- EventListener, jd2xx.JD2XXEventListener, FHZ1000PC.FHZ1000Device
- Enclosing class:
- FHZ1000PC
public class FHZ1000PC.JD2XXFHZ1000Device
- extends Object
- implements jd2xx.JD2XXEventListener, FHZ1000PC.FHZ1000Device
When running on Windows, we access the USB-device via FTDI-specific drivers to access
the device. This is done via this class.
- Author:
- Stefan Strömberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_Device
protected jd2xx.JD2XX m_Device
DEVICE_DESCRIPTION
protected final String DEVICE_DESCRIPTION
- See Also:
- Constant Field Values
FHZ1000PC.JD2XXFHZ1000Device
public FHZ1000PC.JD2XXFHZ1000Device()
throws IOException
- Throws:
IOException
activate
public void activate()
throws IOException
- Specified by:
activate
in interface FHZ1000PC.FHZ1000Device
- Throws:
IOException
write
public int write(byte[] data)
throws IOException
- Specified by:
write
in interface FHZ1000PC.FHZ1000Device
- Throws:
IOException
read
public byte[] read(int length)
throws IOException
- Specified by:
read
in interface FHZ1000PC.FHZ1000Device
- Throws:
IOException
jd2xxEvent
public void jd2xxEvent(jd2xx.JD2XXEvent ev)
- Specified by:
jd2xxEvent
in interface jd2xx.JD2XXEventListener
deactivate
public void deactivate()
throws IOException
- Specified by:
deactivate
in interface FHZ1000PC.FHZ1000Device
- Throws:
IOException
Copyright © 2014 universAAL Consortium. All Rights Reserved.