|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.nxt.remote.RemoteNXT
public class RemoteNXT
Provides an API similar to the leJOS API for accessing motors, sensors etc. on a remote NXT accessed over Bluetooth using LCP.
| Field Summary | |
|---|---|
Motor |
A
|
Motor |
B
|
RemoteBattery |
Battery
|
Motor |
C
|
RemoteSensorPort |
S1
|
RemoteSensorPort |
S2
|
RemoteSensorPort |
S3
|
RemoteSensorPort |
S4
|
| Constructor Summary | |
|---|---|
RemoteNXT(String name)
|
|
| Method Summary | |
|---|---|
byte |
deleteFlashMemory()
Deletes all user programs and data in FLASH memory |
String |
getBluetoothAddress()
Get the bluetooth address of the remorte device |
String |
getBrickName()
Get the name of the remote brick |
String |
getFirmwareVersion()
Return Lego firmware vserion |
int |
getFlashMemory()
|
String |
getProtocolVersion()
Return LCP protocol version |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Field Detail |
|---|
public Motor A
public Motor B
public Motor C
public RemoteBattery Battery
public RemoteSensorPort S1
public RemoteSensorPort S2
public RemoteSensorPort S3
public RemoteSensorPort S4
| Constructor Detail |
|---|
public RemoteNXT(String name)
throws IOException
IOException| Method Detail |
|---|
public String getBrickName()
public String getBluetoothAddress()
public int getFlashMemory()
public String getFirmwareVersion()
public String getProtocolVersion()
public byte deleteFlashMemory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||