|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.pc.comm.NXTCommUSB
lejos.pc.comm.NXTCommLibnxt
public class NXTCommLibnxt
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.
| Field Summary |
|---|
| Fields inherited from interface lejos.pc.comm.NXTComm |
|---|
LCP, PACKET, RAW |
| Constructor Summary | |
|---|---|
NXTCommLibnxt()
|
|
| Method Summary | |
|---|---|
void |
jlibnxt_close(long nxt)
|
java.lang.String[] |
jlibnxt_find()
|
long |
jlibnxt_open(java.lang.String nxt)
|
int |
jlibnxt_read_data(long nxt,
byte[] data,
int offset,
int len)
|
int |
jlibnxt_send_data(long nxt,
byte[] message,
int offset,
int len)
|
| Methods inherited from class lejos.pc.comm.NXTCommUSB |
|---|
available, close, getInputStream, getOutputStream, open, open, read, search, sendRequest, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NXTCommLibnxt()
| Method Detail |
|---|
public java.lang.String[] jlibnxt_find()
public long jlibnxt_open(java.lang.String nxt)
public void jlibnxt_close(long nxt)
public int jlibnxt_send_data(long nxt,
byte[] message,
int offset,
int len)
public int jlibnxt_read_data(long nxt,
byte[] data,
int offset,
int len)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||