lejos.pc.comm
Class NXTCommLibnxt
java.lang.Object
lejos.pc.comm.NXTCommUSB
lejos.pc.comm.NXTCommLibnxt
- All Implemented Interfaces:
- NXTCommRequest, NXTComm
public class NXTCommLibnxt
- extends NXTCommUSB
Implementation of NXTComm over USB using libnxt.
Should not be used directly - use NXTCommFactory to create
an appropriate NXTComm object for your system and the protocol
you are using.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NXTCommLibnxt
public NXTCommLibnxt()
jlibnxt_find
public java.lang.String[] jlibnxt_find()
jlibnxt_open
public long jlibnxt_open(java.lang.String nxt)
jlibnxt_close
public void jlibnxt_close(long nxt)
jlibnxt_send_data
public int jlibnxt_send_data(long nxt,
byte[] message,
int offset,
int len)
jlibnxt_read_data
public int jlibnxt_read_data(long nxt,
byte[] data,
int offset,
int len)