Package jmri.jmrix.lenz
Class XNetConstants
- java.lang.Object
-
- jmri.jmrix.lenz.XNetConstants
-
public final class XNetConstants extends java.lang.Object
Constants to represent values seen in XpressNet traffic.Variable prefix abreviation keys: ACC_ is for accessory messages BC_ is for broadcast messages CS_ is for command station messages PROG_ is for programming related messages LOCO_ is for locomotive related commands OPS_MODE_ is for operations mode programming commands LI_ is for commands that are for messages to and from the computer interface LI101_ is for commands specific to the LI101.
A few variables don't have a prefix. The name should be self explanitory, but a prefix may be added later.
-
-
Field Summary
-
-
-
Field Detail
-
CS_INFO
public static final int CS_INFO
- See Also:
- Constant Field Values
-
BC_NORMAL_OPERATIONS
public static final int BC_NORMAL_OPERATIONS
- See Also:
- Constant Field Values
-
BC_EVERYTHING_OFF
public static final int BC_EVERYTHING_OFF
- See Also:
- Constant Field Values
-
BC_SERVICE_MODE_ENTRY
public static final int BC_SERVICE_MODE_ENTRY
- See Also:
- Constant Field Values
-
PROG_SHORT_CIRCUIT
public static final int PROG_SHORT_CIRCUIT
- See Also:
- Constant Field Values
-
PROG_BYTE_NOT_FOUND
public static final int PROG_BYTE_NOT_FOUND
- See Also:
- Constant Field Values
-
PROG_CS_BUSY
public static final int PROG_CS_BUSY
- See Also:
- Constant Field Values
-
PROG_CS_READY
public static final int PROG_CS_READY
- See Also:
- Constant Field Values
-
CS_TRANSFER_ERROR
public static final int CS_TRANSFER_ERROR
- See Also:
- Constant Field Values
-
CS_BUSY
public static final int CS_BUSY
- See Also:
- Constant Field Values
-
CS_NOT_SUPPORTED
public static final int CS_NOT_SUPPORTED
- See Also:
- Constant Field Values
-
CS_DH_ERROR_NON_OP
public static final int CS_DH_ERROR_NON_OP
- See Also:
- Constant Field Values
-
CS_DH_ERROR_IN_USE
public static final int CS_DH_ERROR_IN_USE
- See Also:
- Constant Field Values
-
CS_DH_ERROR_ALREADY_DH
public static final int CS_DH_ERROR_ALREADY_DH
- See Also:
- Constant Field Values
-
CS_DH_ERROR_NONZERO_SPD
public static final int CS_DH_ERROR_NONZERO_SPD
- See Also:
- Constant Field Values
-
CS_SERVICE_MODE_RESPONSE
public static final int CS_SERVICE_MODE_RESPONSE
- See Also:
- Constant Field Values
-
CS_SERVICE_DIRECT_RESPONSE
public static final int CS_SERVICE_DIRECT_RESPONSE
- See Also:
- Constant Field Values
-
CS_SERVICE_REG_PAGE_RESPONSE
public static final int CS_SERVICE_REG_PAGE_RESPONSE
- See Also:
- Constant Field Values
-
CS_SOFTWARE_VERSION
public static final int CS_SOFTWARE_VERSION
- See Also:
- Constant Field Values
-
CS_REQUEST_RESPONSE
public static final int CS_REQUEST_RESPONSE
- See Also:
- Constant Field Values
-
CS_STATUS_RESPONSE
public static final int CS_STATUS_RESPONSE
- See Also:
- Constant Field Values
-
CS_TYPE_LZ100
public static final int CS_TYPE_LZ100
- See Also:
- Constant Field Values
-
CS_TYPE_LH200
public static final int CS_TYPE_LH200
- See Also:
- Constant Field Values
-
CS_TYPE_COMPACT
public static final int CS_TYPE_COMPACT
- See Also:
- Constant Field Values
-
CS_TYPE_LOKMAUSII
public static final int CS_TYPE_LOKMAUSII
- See Also:
- Constant Field Values
-
CS_TYPE_LDH35
public static final int CS_TYPE_LDH35
- See Also:
- Constant Field Values
-
CS_TYPE_MULTIMAUS
public static final int CS_TYPE_MULTIMAUS
- See Also:
- Constant Field Values
-
CS_TYPE_Z21
public static final int CS_TYPE_Z21
- See Also:
- Constant Field Values
-
BC_EMERGENCY_STOP
public static final int BC_EMERGENCY_STOP
- See Also:
- Constant Field Values
-
BC_EVERYTHING_STOP
public static final int BC_EVERYTHING_STOP
- See Also:
- Constant Field Values
-
BC_FEEDBACK
public static final int BC_FEEDBACK
- See Also:
- Constant Field Values
-
ACC_INFO_RESPONSE
public static final int ACC_INFO_RESPONSE
- See Also:
- Constant Field Values
-
LOCO_AVAILABLE_V1
public static final int LOCO_AVAILABLE_V1
- See Also:
- Constant Field Values
-
LOCO_NOT_AVAILABLE_V1
public static final int LOCO_NOT_AVAILABLE_V1
- See Also:
- Constant Field Values
-
LOCO_AVAILABLE_V2
public static final int LOCO_AVAILABLE_V2
- See Also:
- Constant Field Values
-
LOCO_NOT_AVAILABLE_V2
public static final int LOCO_NOT_AVAILABLE_V2
- See Also:
- Constant Field Values
-
LOCO_INFO_NORMAL_UNIT
public static final int LOCO_INFO_NORMAL_UNIT
- See Also:
- Constant Field Values
-
LOCO_INFO_MUED_UNIT
public static final int LOCO_INFO_MUED_UNIT
- See Also:
- Constant Field Values
-
LOCO_INFO_MU_ADDRESS
public static final int LOCO_INFO_MU_ADDRESS
- See Also:
- Constant Field Values
-
LOCO_INFO_DH_UNIT
public static final int LOCO_INFO_DH_UNIT
- See Also:
- Constant Field Values
-
LOCO_INFO_RESPONSE
public static final int LOCO_INFO_RESPONSE
- See Also:
- Constant Field Values
-
LOCO_NOT_AVAILABLE
public static final int LOCO_NOT_AVAILABLE
- See Also:
- Constant Field Values
-
LOCO_FUNCTION_STATUS
public static final int LOCO_FUNCTION_STATUS
- See Also:
- Constant Field Values
-
LOCO_FUNCTION_STATUS_HIGH
public static final int LOCO_FUNCTION_STATUS_HIGH
- See Also:
- Constant Field Values
-
LOCO_FUNCTION_STATUS_HIGH_MOM
public static final int LOCO_FUNCTION_STATUS_HIGH_MOM
- See Also:
- Constant Field Values
-
LOCO_SEARCH_RESPONSE_N
public static final int LOCO_SEARCH_RESPONSE_N
- See Also:
- Constant Field Values
-
LOCO_SEARCH_RESPONSE_DH
public static final int LOCO_SEARCH_RESPONSE_DH
- See Also:
- Constant Field Values
-
LOCO_SEARCH_RESPONSE_MU_BASE
public static final int LOCO_SEARCH_RESPONSE_MU_BASE
- See Also:
- Constant Field Values
-
LOCO_SEARCH_RESPONSE_MU
public static final int LOCO_SEARCH_RESPONSE_MU
- See Also:
- Constant Field Values
-
LOCO_SEARCH_NO_RESULT
public static final int LOCO_SEARCH_NO_RESULT
- See Also:
- Constant Field Values
-
LOCO_DH_INFO_V1
public static final int LOCO_DH_INFO_V1
- See Also:
- Constant Field Values
-
LOCO_DH_INFO_V2
public static final int LOCO_DH_INFO_V2
- See Also:
- Constant Field Values
-
LOCO_DH_AVAILABLE
public static final int LOCO_DH_AVAILABLE
- See Also:
- Constant Field Values
-
LOCO_DH_NOT_AVAILABLE
public static final int LOCO_DH_NOT_AVAILABLE
- See Also:
- Constant Field Values
-
LOCO_MU_DH_ERROR
public static final int LOCO_MU_DH_ERROR
- See Also:
- Constant Field Values
-
CS_REQUEST
public static final int CS_REQUEST
- See Also:
- Constant Field Values
-
EMERGENCY_OFF
public static final int EMERGENCY_OFF
- See Also:
- Constant Field Values
-
RESUME_OPS
public static final int RESUME_OPS
- See Also:
- Constant Field Values
-
SERVICE_MODE_CSRESULT
public static final int SERVICE_MODE_CSRESULT
- See Also:
- Constant Field Values
-
CS_VERSION
public static final int CS_VERSION
- See Also:
- Constant Field Values
-
CS_STATUS
public static final int CS_STATUS
- See Also:
- Constant Field Values
-
CS_SET_POWERMODE
public static final int CS_SET_POWERMODE
- See Also:
- Constant Field Values
-
CS_POWERMODE_AUTO
public static final int CS_POWERMODE_AUTO
- See Also:
- Constant Field Values
-
CS_POWERMODE_MANUAL
public static final int CS_POWERMODE_MANUAL
- See Also:
- Constant Field Values
-
ALL_ESTOP
public static final int ALL_ESTOP
- See Also:
- Constant Field Values
-
EMERGENCY_STOP_XNETV1V2
public static final int EMERGENCY_STOP_XNETV1V2
- See Also:
- Constant Field Values
-
EMERGENCY_STOP
public static final int EMERGENCY_STOP
- See Also:
- Constant Field Values
-
PROG_READ_REQUEST
public static final int PROG_READ_REQUEST
- See Also:
- Constant Field Values
-
PROG_READ_MODE_REGISTER
public static final int PROG_READ_MODE_REGISTER
- See Also:
- Constant Field Values
-
PROG_READ_MODE_CV
public static final int PROG_READ_MODE_CV
- See Also:
- Constant Field Values
-
PROG_READ_MODE_PAGED
public static final int PROG_READ_MODE_PAGED
- See Also:
- Constant Field Values
-
PROG_READ_MODE_CV_V36
public static final int PROG_READ_MODE_CV_V36
- See Also:
- Constant Field Values
-
PROG_WRITE_REQUEST
public static final int PROG_WRITE_REQUEST
- See Also:
- Constant Field Values
-
PROG_WRITE_MODE_REGISTER
public static final int PROG_WRITE_MODE_REGISTER
- See Also:
- Constant Field Values
-
PROG_WRITE_MODE_CV
public static final int PROG_WRITE_MODE_CV
- See Also:
- Constant Field Values
-
PROG_WRITE_MODE_PAGED
public static final int PROG_WRITE_MODE_PAGED
- See Also:
- Constant Field Values
-
PROG_WRITE_MODE_CV_V36
public static final int PROG_WRITE_MODE_CV_V36
- See Also:
- Constant Field Values
-
ACC_INFO_REQ
public static final int ACC_INFO_REQ
- See Also:
- Constant Field Values
-
ACC_OPER_REQ
public static final int ACC_OPER_REQ
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_V1
public static final int LOCO_INFO_REQ_V1
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_V2
public static final int LOCO_INFO_REQ_V2
- See Also:
- Constant Field Values
-
LOCO_STATUS_REQ
public static final int LOCO_STATUS_REQ
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_V3
public static final int LOCO_INFO_REQ_V3
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_FUNC
public static final int LOCO_INFO_REQ_FUNC
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_FUNC_HI_ON
public static final int LOCO_INFO_REQ_FUNC_HI_ON
- See Also:
- Constant Field Values
-
LOCO_INFO_REQ_FUNC_HI_MOM
public static final int LOCO_INFO_REQ_FUNC_HI_MOM
- See Also:
- Constant Field Values
-
LOCO_STACK_SEARCH_FWD
public static final int LOCO_STACK_SEARCH_FWD
- See Also:
- Constant Field Values
-
LOCO_STACK_SEARCH_BKWD
public static final int LOCO_STACK_SEARCH_BKWD
- See Also:
- Constant Field Values
-
LOCO_STACK_DELETE
public static final int LOCO_STACK_DELETE
- See Also:
- Constant Field Values
-
LOCO_OPER_REQ_V1
public static final int LOCO_OPER_REQ_V1
- See Also:
- Constant Field Values
-
LOCO_OPER_REQ_V2
public static final int LOCO_OPER_REQ_V2
- See Also:
- Constant Field Values
-
LOCO_OPER_REQ
public static final int LOCO_OPER_REQ
- See Also:
- Constant Field Values
-
LOCO_SPEED_14
public static final int LOCO_SPEED_14
- See Also:
- Constant Field Values
-
LOCO_SPEED_27
public static final int LOCO_SPEED_27
- See Also:
- Constant Field Values
-
LOCO_SPEED_28
public static final int LOCO_SPEED_28
- See Also:
- Constant Field Values
-
LOCO_SPEED_128
public static final int LOCO_SPEED_128
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP1
public static final int LOCO_SET_FUNC_GROUP1
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP2
public static final int LOCO_SET_FUNC_GROUP2
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP3
public static final int LOCO_SET_FUNC_GROUP3
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP4
public static final int LOCO_SET_FUNC_GROUP4
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP5
public static final int LOCO_SET_FUNC_GROUP5
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP6
public static final int LOCO_SET_FUNC_GROUP6
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP7
public static final int LOCO_SET_FUNC_GROUP7
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP8
public static final int LOCO_SET_FUNC_GROUP8
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP9
public static final int LOCO_SET_FUNC_GROUP9
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP10
public static final int LOCO_SET_FUNC_GROUP10
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP1_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP1_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP2_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP2_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP3_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP3_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP4_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP4_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP5_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP5_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP6_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP6_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP7_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP7_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP8_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP8_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP9_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP9_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_SET_FUNC_GROUP10_MOMENTARY
public static final int LOCO_SET_FUNC_GROUP10_MOMENTARY
- See Also:
- Constant Field Values
-
LOCO_ADD_MULTI_UNIT_REQ
public static final int LOCO_ADD_MULTI_UNIT_REQ
- See Also:
- Constant Field Values
-
LOCO_REM_MULTI_UNIT_REQ
public static final int LOCO_REM_MULTI_UNIT_REQ
- See Also:
- Constant Field Values
-
LOCO_IN_MULTI_UNIT_SEARCH_REQ
public static final int LOCO_IN_MULTI_UNIT_SEARCH_REQ
- See Also:
- Constant Field Values
-
LOCO_IN_MULTI_UNIT_REQ_FORWARD
public static final int LOCO_IN_MULTI_UNIT_REQ_FORWARD
- See Also:
- Constant Field Values
-
LOCO_IN_MULTI_UNIT_REQ_BACKWARD
public static final int LOCO_IN_MULTI_UNIT_REQ_BACKWARD
- See Also:
- Constant Field Values
-
LOCO_DOUBLEHEAD_V1
public static final int LOCO_DOUBLEHEAD_V1
- See Also:
- Constant Field Values
-
LOCO_ESTABLISH_DH_V1
public static final int LOCO_ESTABLISH_DH_V1
- See Also:
- Constant Field Values
-
LOCO_DISOLVE_DH_V1
public static final int LOCO_DISOLVE_DH_V1
- See Also:
- Constant Field Values
-
LOCO_DOUBLEHEAD
public static final int LOCO_DOUBLEHEAD
- See Also:
- Constant Field Values
-
LOCO_DOUBLEHEAD_BYTE2
public static final int LOCO_DOUBLEHEAD_BYTE2
- See Also:
- Constant Field Values
-
OPS_MODE_PROG_REQ
public static final int OPS_MODE_PROG_REQ
- See Also:
- Constant Field Values
-
OPS_MODE_PROG_WRITE_REQ
public static final int OPS_MODE_PROG_WRITE_REQ
- See Also:
- Constant Field Values
-
CS_MULTI_UNIT_REQ
public static final int CS_MULTI_UNIT_REQ
- See Also:
- Constant Field Values
-
CS_MULTI_UNIT_REQ_FWD
public static final int CS_MULTI_UNIT_REQ_FWD
- See Also:
- Constant Field Values
-
CS_MULTI_UNIT_REQ_BKWD
public static final int CS_MULTI_UNIT_REQ_BKWD
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_HEADER
public static final int LI_MESSAGE_RESPONSE_HEADER
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_PC_DATA_ERROR
public static final int LI_MESSAGE_RESPONSE_PC_DATA_ERROR
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_CS_DATA_ERROR
public static final int LI_MESSAGE_RESPONSE_CS_DATA_ERROR
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_UNKNOWN_DATA_ERROR
public static final int LI_MESSAGE_RESPONSE_UNKNOWN_DATA_ERROR
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_SEND_SUCCESS
public static final int LI_MESSAGE_RESPONSE_SEND_SUCCESS
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_TIMESLOT_ERROR
public static final int LI_MESSAGE_RESPONSE_TIMESLOT_ERROR
- See Also:
- Constant Field Values
-
LI_MESSAGE_RESPONSE_BUFFER_OVERFLOW
public static final int LI_MESSAGE_RESPONSE_BUFFER_OVERFLOW
- See Also:
- Constant Field Values
-
LI_VERSION_REQUEST
public static final int LI_VERSION_REQUEST
- See Also:
- Constant Field Values
-
LI_VERSION_RESPONSE
public static final int LI_VERSION_RESPONSE
- See Also:
- Constant Field Values
-
LI101_REQUEST
public static final int LI101_REQUEST
- See Also:
- Constant Field Values
-
LI101_REQUEST_ADDRESS
public static final int LI101_REQUEST_ADDRESS
- See Also:
- Constant Field Values
-
LI101_REQUEST_BAUD
public static final int LI101_REQUEST_BAUD
- See Also:
- Constant Field Values
-
LIUSB_TIMESLOT_RESTORED
public static final int LIUSB_TIMESLOT_RESTORED
- See Also:
- Constant Field Values
-
LIUSB_REQUEST_SENT_WHILE_NO_TIMESLOT
public static final int LIUSB_REQUEST_SENT_WHILE_NO_TIMESLOT
- See Also:
- Constant Field Values
-
LIUSB_BAD_DATA_IN_REQUEST
public static final int LIUSB_BAD_DATA_IN_REQUEST
- See Also:
- Constant Field Values
-
LIUSB_RETRANSMIT_REQUEST
public static final int LIUSB_RETRANSMIT_REQUEST
- See Also:
- Constant Field Values
-
-