|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NXTProtocol
LEGO Communication Protocol constants.
Field Summary | |
---|---|
static byte |
ANGLE
|
static byte |
ANGLESTEPSMODE
|
static byte |
BOOLEANMODE
|
static byte |
BOOT
|
static byte |
BRAKE
Use run/brake instead of run/float in PWM |
static byte |
CELSIUSMODE
|
static byte |
CLOSE
|
static byte |
CUSTOM
|
static byte |
DELETE
|
static byte |
DELETE_USER_FLASH
|
static byte |
DIRECT_COMMAND_NOREPLY
|
static byte |
DIRECT_COMMAND_REPLY
|
static byte |
FAHRENHEITMODE
|
static byte |
FIND_FIRST
|
static byte |
FIND_NEXT
|
static byte |
GET_BATTERY_LEVEL
|
static byte |
GET_CURRENT_PROGRAM_NAME
|
static byte |
GET_DEVICE_INFO
|
static byte |
GET_FIRMWARE_VERSION
|
static byte |
GET_INPUT_VALUES
|
static byte |
GET_OUTPUT_STATE
|
static byte |
HIGH_SPEED_BUFFER
|
static byte |
KEEP_ALIVE
|
static byte |
LIGHT_ACTIVE
|
static byte |
LIGHT_INACTIVE
|
static byte |
LOWSPEED
|
static byte |
LOWSPEED_9V
|
static byte |
LS_GET_STATUS
|
static byte |
LS_READ
|
static byte |
LS_WRITE
|
static byte |
MESSAGE_READ
|
static byte |
MESSAGE_WRITE
|
static byte |
MODEMASK
|
static byte |
MOTOR_RUN_STATE_IDLE
Output will be idle |
static byte |
MOTOR_RUN_STATE_RAMPDOWN
Output will ramp-down |
static byte |
MOTOR_RUN_STATE_RAMPUP
Output will ramp-up |
static byte |
MOTOR_RUN_STATE_RUNNING
Output will be running |
static byte |
MOTORON
Turn on the specified motor |
static byte |
NO_OF_SENSOR_TYPES
|
static byte |
NO_SENSOR
|
static byte |
NXJ_DEFRAG
|
static byte |
NXJ_DISCONNECT
|
static byte |
NXJ_FIND_FIRST
|
static byte |
NXJ_FIND_NEXT
|
static byte |
NXJ_PACKET_MODE
|
static byte |
OPEN_APPEND_DATA
|
static byte |
OPEN_READ
|
static byte |
OPEN_READ_LINEAR
|
static byte |
OPEN_WRITE
|
static byte |
OPEN_WRITE_DATA
|
static byte |
OPEN_WRITE_LINEAR
|
static byte |
PCTFULLSCALEMODE
|
static byte |
PERIODCOUNTERMODE
|
static byte |
PLAY_SOUND_FILE
|
static byte |
PLAY_TONE
|
static byte |
POLL
|
static byte |
POLL_BUFFER
|
static byte |
POLL_LENGTH
|
static byte |
RAWMODE
|
static byte |
READ
|
static byte |
REFLECTION
|
static byte |
REGULATED
Turns on the regulation |
static byte |
REGULATION_MODE_IDLE
No regulation will be enabled |
static byte |
REGULATION_MODE_MOTOR_SPEED
Power control will be enabled on specified output |
static byte |
REGULATION_MODE_MOTOR_SYNC
Synchronization will be enabled (Needs enabled on two output) |
static byte |
REPLY_COMMAND
|
static byte |
RESET_MOTOR_POSITION
|
static byte |
RESET_SCALED_INPUT_VALUE
|
static byte |
SET_BRICK_NAME
|
static byte |
SET_INPUT_MODE
|
static byte |
SET_OUTPUT_STATE
|
static byte |
SLOPEMASK
|
static byte |
SOUND_DB
|
static byte |
SOUND_DBA
|
static byte |
START_PROGRAM
|
static byte |
STOP_PROGRAM
|
static byte |
STOP_SOUND_PLAYBACK
|
static byte |
SWITCH
|
static byte |
SYSTEM_COMMAND_NOREPLY
|
static byte |
SYSTEM_COMMAND_REPLY
|
static byte |
TEMPERATURE
|
static byte |
TRANSITIONCNTMODE
|
static byte |
WRITE
|
Field Detail |
---|
static final byte DIRECT_COMMAND_REPLY
static final byte SYSTEM_COMMAND_REPLY
static final byte REPLY_COMMAND
static final byte DIRECT_COMMAND_NOREPLY
static final byte SYSTEM_COMMAND_NOREPLY
static final byte OPEN_READ
static final byte OPEN_WRITE
static final byte READ
static final byte WRITE
static final byte CLOSE
static final byte DELETE
static final byte FIND_FIRST
static final byte FIND_NEXT
static final byte GET_FIRMWARE_VERSION
static final byte OPEN_WRITE_LINEAR
static final byte OPEN_READ_LINEAR
static final byte OPEN_WRITE_DATA
static final byte OPEN_APPEND_DATA
static final byte BOOT
static final byte SET_BRICK_NAME
static final byte GET_DEVICE_INFO
static final byte DELETE_USER_FLASH
static final byte POLL_LENGTH
static final byte POLL
static final byte NXJ_FIND_FIRST
static final byte NXJ_FIND_NEXT
static final byte NXJ_PACKET_MODE
static final byte POLL_BUFFER
static final byte HIGH_SPEED_BUFFER
static final byte START_PROGRAM
static final byte STOP_PROGRAM
static final byte PLAY_SOUND_FILE
static final byte PLAY_TONE
static final byte SET_OUTPUT_STATE
static final byte SET_INPUT_MODE
static final byte GET_OUTPUT_STATE
static final byte GET_INPUT_VALUES
static final byte RESET_SCALED_INPUT_VALUE
static final byte MESSAGE_WRITE
static final byte RESET_MOTOR_POSITION
static final byte GET_BATTERY_LEVEL
static final byte STOP_SOUND_PLAYBACK
static final byte KEEP_ALIVE
static final byte LS_GET_STATUS
static final byte LS_WRITE
static final byte LS_READ
static final byte GET_CURRENT_PROGRAM_NAME
static final byte MESSAGE_READ
static final byte NXJ_DISCONNECT
static final byte NXJ_DEFRAG
static final byte MOTORON
static final byte BRAKE
static final byte REGULATED
static final byte REGULATION_MODE_IDLE
static final byte REGULATION_MODE_MOTOR_SPEED
static final byte REGULATION_MODE_MOTOR_SYNC
static final byte MOTOR_RUN_STATE_IDLE
static final byte MOTOR_RUN_STATE_RAMPUP
static final byte MOTOR_RUN_STATE_RUNNING
static final byte MOTOR_RUN_STATE_RAMPDOWN
static final byte NO_SENSOR
static final byte SWITCH
static final byte TEMPERATURE
static final byte REFLECTION
static final byte ANGLE
static final byte LIGHT_ACTIVE
static final byte LIGHT_INACTIVE
static final byte SOUND_DB
static final byte SOUND_DBA
static final byte CUSTOM
static final byte LOWSPEED
static final byte LOWSPEED_9V
static final byte NO_OF_SENSOR_TYPES
static final byte RAWMODE
static final byte BOOLEANMODE
static final byte TRANSITIONCNTMODE
static final byte PERIODCOUNTERMODE
static final byte PCTFULLSCALEMODE
static final byte CELSIUSMODE
static final byte FAHRENHEITMODE
static final byte ANGLESTEPSMODE
static final byte SLOPEMASK
static final byte MODEMASK
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |