|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.pc.comm.NXTInfo
public class NXTInfo
Structure containing information about a specific NXT and the potential connections to it. Returned from the NXTComm search method.
Field Summary | |
---|---|
java.lang.String |
btDeviceAddress
The Bluetooth address. |
java.lang.String |
btResourceString
A string used to locate the NXT. |
java.lang.String |
name
Friendly name of the NXT. |
long |
nxtPtr
A pointer to the NXT. |
int |
protocol
The protocol used to conect to the NXT: USB or BLUETOOTH. |
Constructor Summary | |
---|---|
NXTInfo()
|
|
NXTInfo(java.lang.String name,
java.lang.String address)
Create a NXTInfo that is used to connect to a NXT via Bluetooth using the Bluetooth address. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public java.lang.String btDeviceAddress
public java.lang.String btResourceString
public long nxtPtr
public int protocol
Constructor Detail |
---|
public NXTInfo()
public NXTInfo(java.lang.String name, java.lang.String address)
name
- the name of the NXTaddress
- the Bluetooth address with optional colons between hex pairs.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |