Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D F G H I J K L M N O P R S T U V W

## A

addLogListener(NXTCommLogListener) - Method in class lejos.pc.comm.NXTCommand
  register log listener
ANGLE - Static variable in interface lejos.pc.comm.NXTProtocol
ANGLESTEPSMODE - Static variable in interface lejos.pc.comm.NXTProtocol
available() - Method in interface lejos.pc.comm.NXTComm
  Request the number of bytes available to read.
available() - Method in class lejos.pc.comm.NXTCommBluecove
available() - Method in class lejos.pc.comm.NXTCommBluez
available() - Method in class lejos.pc.comm.NXTCommFantom
available() - Method in class lejos.pc.comm.NXTCommInputStream
  returns the number of bytes in the input buffer - can be read without blocking
available() - Method in class lejos.pc.comm.NXTCommLibnxt

## B

blockTachoCount - Variable in class lejos.pc.comm.OutputState
  Current position relative to last programmed movement
BLUETOOTH - Static variable in class lejos.pc.comm.NXTCommFactory
BlueZException - Exception in lejos.pc.comm
  Exception thrown by the jbluez library.
BlueZException() - Constructor for exception lejos.pc.comm.BlueZException
BlueZException(String) - Constructor for exception lejos.pc.comm.BlueZException
BOOLEANMODE - Static variable in interface lejos.pc.comm.NXTProtocol
BOOT - Static variable in interface lejos.pc.comm.NXTProtocol
BRAKE - Static variable in interface lejos.pc.comm.NXTProtocol
  Use run/brake instead of run/float in PWM
btDeviceAddress - Variable in class lejos.pc.comm.NXTInfo
  The Bluetooth address.
btResourceString - Variable in class lejos.pc.comm.NXTInfo
  A string used to locate the NXT.

## C

calibratedValue - Variable in class lejos.pc.comm.InputValues
  Currently unused.
CELSIUSMODE - Static variable in interface lejos.pc.comm.NXTProtocol
close() - Method in interface lejos.pc.comm.NXTComm
  Closes the connection to the NXT.
close() - Method in class lejos.pc.comm.NXTCommand
  Call the close() command when your program ends, otherwise you will have to turn the NXT brick off/on before you run another program.
close() - Method in class lejos.pc.comm.NXTCommBluecove
close() - Method in class lejos.pc.comm.NXTCommBluez
close() - Method in class lejos.pc.comm.NXTCommFantom
close() - Method in class lejos.pc.comm.NXTCommInputStream
  Close the stream
close() - Method in class lejos.pc.comm.NXTCommLibnxt
CLOSE - Static variable in interface lejos.pc.comm.NXTProtocol
closeFile(byte) - Method in class lejos.pc.comm.NXTCommand
  Closes an open file.
createNXTComm(int) - Static method in class lejos.pc.comm.NXTCommFactory
CUSTOM - Static variable in interface lejos.pc.comm.NXTProtocol

## D

defrag() - Method in class lejos.pc.comm.NXTCommand
delete(String) - Method in class lejos.pc.comm.NXTCommand
DELETE - Static variable in interface lejos.pc.comm.NXTProtocol
DELETE_USER_FLASH - Static variable in interface lejos.pc.comm.NXTProtocol
deviceDiscovered(RemoteDevice, DeviceClass) - Method in class lejos.pc.comm.NXTCommBluecove
DIRECT_COMMAND_NOREPLY - Static variable in interface lejos.pc.comm.NXTProtocol
DIRECT_COMMAND_REPLY - Static variable in interface lejos.pc.comm.NXTProtocol

## F

FAHRENHEITMODE - Static variable in interface lejos.pc.comm.NXTProtocol
fileHandle - Variable in class lejos.pc.comm.FileInfo
  The handle for accessing the file.
FileInfo - Class in lejos.pc.comm
  Structure that gives information about a leJOS NXJ file.
FileInfo(String) - Constructor for class lejos.pc.comm.FileInfo
fileName - Variable in class lejos.pc.comm.FileInfo
  The name of the file - up to 20 characters.
fileSize - Variable in class lejos.pc.comm.FileInfo
  The size of the file in bytes.
FIND_FIRST - Static variable in interface lejos.pc.comm.NXTProtocol
FIND_NEXT - Static variable in interface lejos.pc.comm.NXTProtocol
findFirst(String) - Method in class lejos.pc.comm.NXTCommand
findNext(byte) - Method in class lejos.pc.comm.NXTCommand
flush() - Method in class lejos.pc.comm.NXTCommOutputStream

## G

GET_BATTERY_LEVEL - Static variable in interface lejos.pc.comm.NXTProtocol
GET_CURRENT_PROGRAM_NAME - Static variable in interface lejos.pc.comm.NXTProtocol
GET_DEVICE_INFO - Static variable in interface lejos.pc.comm.NXTProtocol
GET_FIRMWARE_VERSION - Static variable in interface lejos.pc.comm.NXTProtocol
GET_INPUT_VALUES - Static variable in interface lejos.pc.comm.NXTProtocol
GET_OUTPUT_STATE - Static variable in interface lejos.pc.comm.NXTProtocol
getBatteryLevel() - Method in class lejos.pc.comm.NXTCommand
getFriendlyName() - Method in class lejos.pc.comm.NXTCommand
getInputStream() - Method in interface lejos.pc.comm.NXTComm
  Return an InputStream for reading a stream of data from the NXT over this connection.
getInputStream() - Method in class lejos.pc.comm.NXTCommBluecove
getInputStream() - Method in class lejos.pc.comm.NXTCommBluez
getInputStream() - Method in class lejos.pc.comm.NXTCommFantom
getInputStream() - Method in class lejos.pc.comm.NXTCommLibnxt
getInputValues(int) - Method in class lejos.pc.comm.NXTCommand
getLocalAddress() - Method in class lejos.pc.comm.NXTCommand
getMessage() - Method in exception lejos.pc.comm.NXTCommException
getOutputState(int) - Method in class lejos.pc.comm.NXTCommand
  Retrieves the current output state for a port.
getOutputStream() - Method in interface lejos.pc.comm.NXTComm
  Return an OutputStream for writing a stream of data to the NXT over this connection.
getOutputStream() - Method in class lejos.pc.comm.NXTCommBluecove
getOutputStream() - Method in class lejos.pc.comm.NXTCommBluez
getOutputStream() - Method in class lejos.pc.comm.NXTCommFantom
getOutputStream() - Method in class lejos.pc.comm.NXTCommLibnxt
getSingleton() - Static method in class lejos.pc.comm.NXTCommand

## H

HIGH_SPEED_BUFFER - Static variable in interface lejos.pc.comm.NXTProtocol

## I

inputPort - Variable in class lejos.pc.comm.InputValues
  The number ofd the port (0 - 3)
InputValues - Class in lejos.pc.comm
  Structure that gives information about a NXT sensor.
InputValues() - Constructor for class lejos.pc.comm.InputValues
inquiryCompleted(int) - Method in class lejos.pc.comm.NXTCommBluecove
isCalibrated - Variable in class lejos.pc.comm.InputValues
  Indicates whether the sensor has been calibrated - not currently used.

## J

jfantom_close(long) - Method in class lejos.pc.comm.NXTCommFantom
jfantom_find() - Method in class lejos.pc.comm.NXTCommFantom
jfantom_open(String) - Method in class lejos.pc.comm.NXTCommFantom
jfantom_read_data(long, int) - Method in class lejos.pc.comm.NXTCommFantom
jfantom_send_data(long, byte[], int, int) - Method in class lejos.pc.comm.NXTCommFantom
jlibnxt_close(long) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_find(int) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_name(long) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_open(long) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_read_data(long, int) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_send_data(long, byte[]) - Method in class lejos.pc.comm.NXTCommLibnxt
jlibnxt_serial(long) - Method in class lejos.pc.comm.NXTCommLibnxt

## K

KEEP_ALIVE - Static variable in interface lejos.pc.comm.NXTProtocol

## L

lejos.pc.comm - package lejos.pc.comm
  Communication from the PC to the NXT
LIGHT_ACTIVE - Static variable in interface lejos.pc.comm.NXTProtocol
LIGHT_INACTIVE - Static variable in interface lejos.pc.comm.NXTProtocol
logEvent(String) - Method in interface lejos.pc.comm.NXTCommLogListener
logEvent(Throwable) - Method in interface lejos.pc.comm.NXTCommLogListener
LOWSPEED - Static variable in interface lejos.pc.comm.NXTProtocol
LOWSPEED_9V - Static variable in interface lejos.pc.comm.NXTProtocol
LS_GET_STATUS - Static variable in interface lejos.pc.comm.NXTProtocol
LS_READ - Static variable in interface lejos.pc.comm.NXTProtocol
LS_WRITE - Static variable in interface lejos.pc.comm.NXTProtocol

## M

MESSAGE_READ - Static variable in interface lejos.pc.comm.NXTProtocol
MESSAGE_WRITE - Static variable in interface lejos.pc.comm.NXTProtocol
messageRead(byte, byte, boolean) - Method in class lejos.pc.comm.NXTCommand
mode - Variable in class lejos.pc.comm.OutputState
  The motor mode - see NXTProtocol for enumeration
MODEMASK - Static variable in interface lejos.pc.comm.NXTProtocol
MOTOR_RUN_STATE_IDLE - Static variable in interface lejos.pc.comm.NXTProtocol
  Output will be idle
MOTOR_RUN_STATE_RAMPDOWN - Static variable in interface lejos.pc.comm.NXTProtocol
  Output will ramp-down
MOTOR_RUN_STATE_RAMPUP - Static variable in interface lejos.pc.comm.NXTProtocol
  Output will ramp-up
MOTOR_RUN_STATE_RUNNING - Static variable in interface lejos.pc.comm.NXTProtocol
  Output will be running
MOTORON - Static variable in interface lejos.pc.comm.NXTProtocol
  Turn on the specified motor

## N

name - Variable in class lejos.pc.comm.NXTInfo
  Friendly name of the NXT.
NO_OF_SENSOR_TYPES - Static variable in interface lejos.pc.comm.NXTProtocol
NO_SENSOR - Static variable in interface lejos.pc.comm.NXTProtocol
normalizedADValue - Variable in class lejos.pc.comm.InputValues
  The normalized value from the Analog to Digital (AD) converter.
NXJ_DEFRAG - Static variable in interface lejos.pc.comm.NXTProtocol
NXJ_DISCONNECT - Static variable in interface lejos.pc.comm.NXTProtocol
NXJ_FIND_FIRST - Static variable in interface lejos.pc.comm.NXTProtocol
NXJ_FIND_NEXT - Static variable in interface lejos.pc.comm.NXTProtocol
NXTComm - Interface in lejos.pc.comm
  Interface that all NXTComm implementation classes must implement for low-level communication with the NXT.
NXTCommand - Class in lejos.pc.comm
  Sends LCP requests to the NXT and receives replies.
NXTCommBluecove - Class in lejos.pc.comm
  Implementation of NXTComm using the Bluecove libraries on Microsoft Windows.
NXTCommBluecove() - Constructor for class lejos.pc.comm.NXTCommBluecove
NXTCommBluez - Class in lejos.pc.comm
  Implementation of NXTComm using the the jbluez library on Linux or Unix systems.
NXTCommBluez() - Constructor for class lejos.pc.comm.NXTCommBluez
NXTCommException - Exception in lejos.pc.comm
  An exception thrown by a NXTComm implementation.
NXTCommException() - Constructor for exception lejos.pc.comm.NXTCommException
NXTCommException(String, Throwable) - Constructor for exception lejos.pc.comm.NXTCommException
NXTCommException(String) - Constructor for exception lejos.pc.comm.NXTCommException
NXTCommException(Throwable) - Constructor for exception lejos.pc.comm.NXTCommException
NXTCommFactory - Class in lejos.pc.comm
  Creates a version of NTComm appropriate to the OS in use and protocol (Bluetooth or USB) that is requested.
NXTCommFactory() - Constructor for class lejos.pc.comm.NXTCommFactory
NXTCommFantom - Class in lejos.pc.comm
  Implementation of NXTComm using the the LEGO Fantom API.
NXTCommFantom() - Constructor for class lejos.pc.comm.NXTCommFantom
NXTCommInputStream - Class in lejos.pc.comm
  Implementation of InputStream over NXTComm using Bluetooth.
NXTCommInputStream(NXTComm) - Constructor for class lejos.pc.comm.NXTCommInputStream
NXTCommLibnxt - Class in lejos.pc.comm
  Implementation of NXTComm over USB using libnxt.
NXTCommLibnxt() - Constructor for class lejos.pc.comm.NXTCommLibnxt
NXTCommLogListener - Interface in lejos.pc.comm
  Listener for log events
NXTCommOutputStream - Class in lejos.pc.comm
  Implementation of OutputStream over NXTComm using Bluetooth.
NXTCommOutputStream(NXTComm) - Constructor for class lejos.pc.comm.NXTCommOutputStream
NXTInfo - Class in lejos.pc.comm
  Structure containing information about a specific NXT and the potential connections to it.
NXTInfo() - Constructor for class lejos.pc.comm.NXTInfo
NXTInfo(String, String) - Constructor for class lejos.pc.comm.NXTInfo
  Create a NXTInfo that is used to connect to a NXT via Bluetooth using the Bluetooth address.
NXTProtocol - Interface in lejos.pc.comm
  LEGO Communication Protocol constants.
nxtPtr - Variable in class lejos.pc.comm.NXTInfo
  A pointer to the NXT.

## O

open(NXTInfo) - Method in interface lejos.pc.comm.NXTComm
  Connect to a NXT found by a search or created from mname and address.
open(NXTInfo) - Method in class lejos.pc.comm.NXTCommand
open(NXTInfo) - Method in class lejos.pc.comm.NXTCommBluecove
open(NXTInfo) - Method in class lejos.pc.comm.NXTCommBluez
open(NXTInfo) - Method in class lejos.pc.comm.NXTCommFantom
open(NXTInfo) - Method in class lejos.pc.comm.NXTCommLibnxt
OPEN_APPEND_DATA - Static variable in interface lejos.pc.comm.NXTProtocol
OPEN_READ - Static variable in interface lejos.pc.comm.NXTProtocol
OPEN_READ_LINEAR - Static variable in interface lejos.pc.comm.NXTProtocol
OPEN_WRITE - Static variable in interface lejos.pc.comm.NXTProtocol
OPEN_WRITE_DATA - Static variable in interface lejos.pc.comm.NXTProtocol
OPEN_WRITE_LINEAR - Static variable in interface lejos.pc.comm.NXTProtocol
openRead(String) - Method in class lejos.pc.comm.NXTCommand
  Opens a file on the NXT for reading.
openWrite(String, int) - Method in class lejos.pc.comm.NXTCommand
  Opens a file on the NXT for writing.
outputPort - Variable in class lejos.pc.comm.OutputState
  The port number - range: 0 to 2
OutputState - Class in lejos.pc.comm
  Container for holding the output state values.
OutputState(int) - Constructor for class lejos.pc.comm.OutputState

## P

PCTFULLSCALEMODE - Static variable in interface lejos.pc.comm.NXTProtocol
PERIODCOUNTERMODE - Static variable in interface lejos.pc.comm.NXTProtocol
PLAY_SOUND_FILE - Static variable in interface lejos.pc.comm.NXTProtocol
PLAY_TONE - Static variable in interface lejos.pc.comm.NXTProtocol
POLL - Static variable in interface lejos.pc.comm.NXTProtocol
POLL_BUFFER - Static variable in interface lejos.pc.comm.NXTProtocol
POLL_LENGTH - Static variable in interface lejos.pc.comm.NXTProtocol
powerSetpoint - Variable in class lejos.pc.comm.OutputState
  The power setting : -100 to 100
protocol - Variable in class lejos.pc.comm.NXTInfo
  The protocol used to conect to the NXT: USB or BLUETOOTH.

## R

rawADValue - Variable in class lejos.pc.comm.InputValues
  The raw value from the Analog to Digital (AD) converter.
RAWMODE - Static variable in interface lejos.pc.comm.NXTProtocol
rcSocketRecv(int) - Method in class lejos.pc.comm.NXTCommBluez
rcSocketSend(int, byte[]) - Method in class lejos.pc.comm.NXTCommBluez
read() - Method in interface lejos.pc.comm.NXTComm
  Read data from a NXT that has an open connection.
read() - Method in class lejos.pc.comm.NXTCommBluecove
read() - Method in class lejos.pc.comm.NXTCommBluez
read() - Method in class lejos.pc.comm.NXTCommFantom
read() - Method in class lejos.pc.comm.NXTCommInputStream
  Returns one byte as an integer between 0 and 255.
read() - Method in class lejos.pc.comm.NXTCommLibnxt
READ - Static variable in interface lejos.pc.comm.NXTProtocol
readFile(byte, int) - Method in class lejos.pc.comm.NXTCommand
  Returns requested number of bytes from a file.
REFLECTION - Static variable in interface lejos.pc.comm.NXTProtocol
REGULATED - Static variable in interface lejos.pc.comm.NXTProtocol
  Turns on the regulation
REGULATION_MODE_IDLE - Static variable in interface lejos.pc.comm.NXTProtocol
  No regulation will be enabled
REGULATION_MODE_MOTOR_SPEED - Static variable in interface lejos.pc.comm.NXTProtocol
  Power control will be enabled on specified output
REGULATION_MODE_MOTOR_SYNC - Static variable in interface lejos.pc.comm.NXTProtocol
  Synchronization will be enabled (Needs enabled on two output)
regulationMode - Variable in class lejos.pc.comm.OutputState
  The regulation mode - see NXTProtocol for enumeration
removeLogListener(NXTCommLogListener) - Method in class lejos.pc.comm.NXTCommand
  unregister log listener
REPLY_COMMAND - Static variable in interface lejos.pc.comm.NXTProtocol
RESET_MOTOR_POSITION - Static variable in interface lejos.pc.comm.NXTProtocol
RESET_SCALED_INPUT_VALUE - Static variable in interface lejos.pc.comm.NXTProtocol
rotationCount - Variable in class lejos.pc.comm.OutputState
  Current position relative to last reset of the rotation sensor for this motor)
runState - Variable in class lejos.pc.comm.OutputState
  The run state - see NXTProtocol for enumeration

## S

scaledValue - Variable in class lejos.pc.comm.InputValues
  The scaled value starts working after the first call to the sensor.
search(String, int) - Method in interface lejos.pc.comm.NXTComm
  Search for NXTs over USB, Bluetooth or both
search(String, int) - Method in class lejos.pc.comm.NXTCommand
search(String, int) - Method in class lejos.pc.comm.NXTCommBluecove
search(String, int) - Method in class lejos.pc.comm.NXTCommBluez
search(String, int) - Method in class lejos.pc.comm.NXTCommFantom
search(String, int) - Method in class lejos.pc.comm.NXTCommLibnxt
sendRequest(byte[], int) - Method in interface lejos.pc.comm.NXTComm
  Send an LCP message to the NXT and receive a reply
sendRequest(byte[], int) - Method in class lejos.pc.comm.NXTCommBluecove
  Sends a request to the NXT brick.
sendRequest(byte[], int) - Method in class lejos.pc.comm.NXTCommBluez
sendRequest(byte[], int) - Method in class lejos.pc.comm.NXTCommFantom
sendRequest(byte[], int) - Method in class lejos.pc.comm.NXTCommLibnxt
sensorMode - Variable in class lejos.pc.comm.InputValues
  The mode of the sensor - see NXTProtocol.
sensorType - Variable in class lejos.pc.comm.InputValues
  The type of the sensor - see NXTProtocol.
servicesDiscovered(int, ServiceRecord[]) - Method in class lejos.pc.comm.NXTCommBluecove
serviceSearchCompleted(int, int) - Method in class lejos.pc.comm.NXTCommBluecove
SET_BRICK_NAME - Static variable in interface lejos.pc.comm.NXTProtocol
SET_INPUT_MODE - Static variable in interface lejos.pc.comm.NXTProtocol
SET_OUTPUT_STATE - Static variable in interface lejos.pc.comm.NXTProtocol
setFriendlyName(String) - Method in class lejos.pc.comm.NXTCommand
setNXTCommBlueTooth() - Method in class lejos.pc.comm.NXTCommand
setVerify(boolean) - Method in class lejos.pc.comm.NXTCommand
SLOPEMASK - Static variable in interface lejos.pc.comm.NXTProtocol
SOUND_DB - Static variable in interface lejos.pc.comm.NXTProtocol
SOUND_DBA - Static variable in interface lejos.pc.comm.NXTProtocol
START_PROGRAM - Static variable in interface lejos.pc.comm.NXTProtocol
startPage - Variable in class lejos.pc.comm.FileInfo
  The start page of the file in flash memory.
startProgram(String) - Method in class lejos.pc.comm.NXTCommand
  Starts a program already on the NXT.
status - Variable in class lejos.pc.comm.FileInfo
  The status of the file - not used.
status - Variable in class lejos.pc.comm.OutputState
  Status of the NXTCommand.getOutputState command.
STOP_PROGRAM - Static variable in interface lejos.pc.comm.NXTProtocol
STOP_SOUND_PLAYBACK - Static variable in interface lejos.pc.comm.NXTProtocol
stripColons(String) - Method in class lejos.pc.comm.NXTCommBluecove
SWITCH - Static variable in interface lejos.pc.comm.NXTProtocol
SYSTEM_COMMAND_NOREPLY - Static variable in interface lejos.pc.comm.NXTProtocol
SYSTEM_COMMAND_REPLY - Static variable in interface lejos.pc.comm.NXTProtocol

## T

tachoCount - Variable in class lejos.pc.comm.OutputState
  Internal count.
tachoLimit - Variable in class lejos.pc.comm.OutputState
  Current limit on a movement in progress, if any
TEMPERATURE - Static variable in interface lejos.pc.comm.NXTProtocol
TRANSITIONCNTMODE - Static variable in interface lejos.pc.comm.NXTProtocol
turnRatio - Variable in class lejos.pc.comm.OutputState
  The turn ratio: -100 to 100

## U

USB - Static variable in class lejos.pc.comm.NXTCommFactory

## V

valid - Variable in class lejos.pc.comm.InputValues
  NXT indicates if it thinks the data is valid (as it has had time to stabilize)

## W

write(byte[]) - Method in interface lejos.pc.comm.NXTComm
  Write data to a NXT that has an open connection.
write(byte[]) - Method in class lejos.pc.comm.NXTCommBluecove
write(byte[]) - Method in class lejos.pc.comm.NXTCommBluez
write(byte[]) - Method in class lejos.pc.comm.NXTCommFantom
write(byte[]) - Method in class lejos.pc.comm.NXTCommLibnxt
write(int) - Method in class lejos.pc.comm.NXTCommOutputStream
WRITE - Static variable in interface lejos.pc.comm.NXTProtocol
writeFile(byte, byte[]) - Method in class lejos.pc.comm.NXTCommand

A B C D F G H I J K L M N O P R S T U V W

Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES