lejos.nxt.comm
Class NXTComm
java.lang.Object
lejos.nxt.comm.NXTComm
public class NXTComm
- extends Object
Initiates communication to a remote NXT. Used by NXTCommand
to implement the Lego Communications Protocol (LCP).
NXTComm
public NXTComm()
open
public boolean open(String name)
throws IOException
- Throws:
IOException
sendData
public void sendData(byte[] data)
throws IOException
- Throws:
IOException
readData
public byte[] readData()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException