jmri.jmrix.loconet
Class LnConstants
java.lang.Object
jmri.jmrix.loconet.LnConstants
public final class LnConstants
- extends Object
LnConstants.java
Description: Constants to represent values seen in LocoNet traffic
- Author:
- Bob Jacobsen Copyright (C) 2001, 2008
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRF_DIR
public static final int DIRF_DIR
- See Also:
- Constant Field Values
DIRF_F0
public static final int DIRF_F0
- See Also:
- Constant Field Values
DIRF_F4
public static final int DIRF_F4
- See Also:
- Constant Field Values
DIRF_F3
public static final int DIRF_F3
- See Also:
- Constant Field Values
DIRF_F2
public static final int DIRF_F2
- See Also:
- Constant Field Values
DIRF_F1
public static final int DIRF_F1
- See Also:
- Constant Field Values
SND_F8
public static final int SND_F8
- See Also:
- Constant Field Values
SND_F7
public static final int SND_F7
- See Also:
- Constant Field Values
SND_F6
public static final int SND_F6
- See Also:
- Constant Field Values
SND_F5
public static final int SND_F5
- See Also:
- Constant Field Values
OPC_SW_ACK_CLOSED
public static final int OPC_SW_ACK_CLOSED
- See Also:
- Constant Field Values
OPC_SW_ACK_OUTPUT
public static final int OPC_SW_ACK_OUTPUT
- See Also:
- Constant Field Values
OPC_INPUT_REP_CB
public static final int OPC_INPUT_REP_CB
- See Also:
- Constant Field Values
OPC_INPUT_REP_SW
public static final int OPC_INPUT_REP_SW
- See Also:
- Constant Field Values
OPC_INPUT_REP_HI
public static final int OPC_INPUT_REP_HI
- See Also:
- Constant Field Values
OPC_SW_REP_SW
public static final int OPC_SW_REP_SW
- See Also:
- Constant Field Values
OPC_SW_REP_HI
public static final int OPC_SW_REP_HI
- See Also:
- Constant Field Values
OPC_SW_REP_CLOSED
public static final int OPC_SW_REP_CLOSED
- See Also:
- Constant Field Values
OPC_SW_REP_THROWN
public static final int OPC_SW_REP_THROWN
- See Also:
- Constant Field Values
OPC_SW_REP_INPUTS
public static final int OPC_SW_REP_INPUTS
- See Also:
- Constant Field Values
OPC_SW_REQ_DIR
public static final int OPC_SW_REQ_DIR
- See Also:
- Constant Field Values
OPC_SW_REQ_OUT
public static final int OPC_SW_REQ_OUT
- See Also:
- Constant Field Values
OPC_LOCO_SPD_ESTOP
public static final int OPC_LOCO_SPD_ESTOP
- See Also:
- Constant Field Values
OPC_MULTI_SENSE_MSG
public static final int OPC_MULTI_SENSE_MSG
- See Also:
- Constant Field Values
OPC_MULTI_SENSE_PRESENT
public static final int OPC_MULTI_SENSE_PRESENT
- See Also:
- Constant Field Values
OPC_MULTI_SENSE_ABSENT
public static final int OPC_MULTI_SENSE_ABSENT
- See Also:
- Constant Field Values
OPC_MULTI_SENSE_POWER
public static final int OPC_MULTI_SENSE_POWER
- See Also:
- Constant Field Values
STAT1_SL_SPURGE
public static final int STAT1_SL_SPURGE
- D7-SL_SPURGE ; 1=SLOT purge en, *
; ALSO adrSEL (INTERNAL use only) (not seen on NET!) *
*
D6-SL_CONUP ; CONDN/CONUP: bit encoding-Control double linked Consist List *
; 11=LOGICAL MID CONSIST , Linked up AND down *
; 10=LOGICAL CONSIST TOP, Only linked downwards *
; 01=LOGICAL CONSIST SUB-MEMBER, Only linked upwards *
; 00=FREE locomotive, no CONSIST indirection/linking *
; ALLOWS "CONSISTS of CONSISTS". Uplinked means that *
; Slot SPD number is now SLOT adr of SPD/DIR and STATUS *
; of consist. i.e. is ;an Indirect pointer. This Slot *
; has same BUSY/ACTIVE bits as TOP of Consist. TOP is *
; loco with SPD/DIR for whole consist. (top of list). *
; BUSY/ACTIVE: bit encoding for SLOT activity *
*
D5-SL_BUSY ; 11=IN_USE loco adr in SLOT -REFRESHED *
*
D4-SL_ACTIVE ; 10=IDLE loco adr in SLOT -NOT refreshed *
; 01=COMMON loco adr IN SLOT -refreshed *
; 00=FREE SLOT, no valid DATA -not refreshed *
*
D3-SL_CONDN ; shows other SLOT Consist linked INTO this slot, see SL_CONUP *
*
D2-SL_SPDEX ; 3 BITS for Decoder TYPE encoding for this SLOT *
*
D1-SL_SPD14 ; 011=send 128 speed mode packets *
*
D0-SL_SPD28 ; 010=14 step MODE *
; 001=28 step. Generate Trinary packets for this *
; Mobile ADR *
; 000=28 step. 3 BYTE PKT regular mode *
; 111=128 Step decoder, Allow Advanced DCC consisting *
; 100=28 Step decoder ,Allow Advanced DCC consisting *
- See Also:
- Constant Field Values
STAT1_SL_CONUP
public static final int STAT1_SL_CONUP
- See Also:
- Constant Field Values
STAT1_SL_BUSY
public static final int STAT1_SL_BUSY
- See Also:
- Constant Field Values
STAT1_SL_ACTIVE
public static final int STAT1_SL_ACTIVE
- See Also:
- Constant Field Values
STAT1_SL_CONDN
public static final int STAT1_SL_CONDN
- See Also:
- Constant Field Values
STAT1_SL_SPDEX
public static final int STAT1_SL_SPDEX
- See Also:
- Constant Field Values
STAT1_SL_SPD14
public static final int STAT1_SL_SPD14
- See Also:
- Constant Field Values
STAT1_SL_SPD28
public static final int STAT1_SL_SPD28
- See Also:
- Constant Field Values
STAT2_SL_SUPPRESS
public static final int STAT2_SL_SUPPRESS
- See Also:
- Constant Field Values
STAT2_SL_NOT_ID
public static final int STAT2_SL_NOT_ID
- See Also:
- Constant Field Values
STAT2_SL_NOTENCOD
public static final int STAT2_SL_NOTENCOD
- See Also:
- Constant Field Values
STAT2_ALIAS_MASK
public static final int STAT2_ALIAS_MASK
- See Also:
- Constant Field Values
STAT2_ID_IS_ALIAS
public static final int STAT2_ID_IS_ALIAS
- See Also:
- Constant Field Values
CONSIST_MASK
public static final int CONSIST_MASK
- See Also:
- Constant Field Values
CONSIST_MID
public static final int CONSIST_MID
- See Also:
- Constant Field Values
CONSIST_TOP
public static final int CONSIST_TOP
- See Also:
- Constant Field Values
CONSIST_SUB
public static final int CONSIST_SUB
- See Also:
- Constant Field Values
CONSIST_NO
public static final int CONSIST_NO
- See Also:
- Constant Field Values
LOCOSTAT_MASK
public static final int LOCOSTAT_MASK
- See Also:
- Constant Field Values
LOCO_IN_USE
public static final int LOCO_IN_USE
- See Also:
- Constant Field Values
LOCO_IDLE
public static final int LOCO_IDLE
- See Also:
- Constant Field Values
LOCO_COMMON
public static final int LOCO_COMMON
- See Also:
- Constant Field Values
LOCO_FREE
public static final int LOCO_FREE
- See Also:
- Constant Field Values
DEC_MODE_MASK
public static final int DEC_MODE_MASK
- See Also:
- Constant Field Values
DEC_MODE_128A
public static final int DEC_MODE_128A
- See Also:
- Constant Field Values
DEC_MODE_28A
public static final int DEC_MODE_28A
- See Also:
- Constant Field Values
DEC_MODE_128
public static final int DEC_MODE_128
- See Also:
- Constant Field Values
DEC_MODE_14
public static final int DEC_MODE_14
- See Also:
- Constant Field Values
DEC_MODE_28TRI
public static final int DEC_MODE_28TRI
- See Also:
- Constant Field Values
DEC_MODE_28
public static final int DEC_MODE_28
- See Also:
- Constant Field Values
GTRK_PROG_BUSY
public static final int GTRK_PROG_BUSY
- See Also:
- Constant Field Values
GTRK_MLOK1
public static final int GTRK_MLOK1
- See Also:
- Constant Field Values
GTRK_IDLE
public static final int GTRK_IDLE
- See Also:
- Constant Field Values
GTRK_POWER
public static final int GTRK_POWER
- See Also:
- Constant Field Values
FC_SLOT
public static final int FC_SLOT
- See Also:
- Constant Field Values
PRG_SLOT
public static final int PRG_SLOT
- See Also:
- Constant Field Values
CFG_SLOT
public static final int CFG_SLOT
- See Also:
- Constant Field Values
PCMD_RW
public static final int PCMD_RW
- See Also:
- Constant Field Values
PCMD_BYTE_MODE
public static final int PCMD_BYTE_MODE
- See Also:
- Constant Field Values
PCMD_TY1
public static final int PCMD_TY1
- See Also:
- Constant Field Values
PCMD_TY0
public static final int PCMD_TY0
- See Also:
- Constant Field Values
PCMD_OPS_MODE
public static final int PCMD_OPS_MODE
- See Also:
- Constant Field Values
PCMD_RSVRD1
public static final int PCMD_RSVRD1
- See Also:
- Constant Field Values
PCMD_RSVRD0
public static final int PCMD_RSVRD0
- See Also:
- Constant Field Values
PCMD_MODE_MASK
public static final int PCMD_MODE_MASK
- See Also:
- Constant Field Values
PAGED_ON_SRVC_TRK
public static final int PAGED_ON_SRVC_TRK
- See Also:
- Constant Field Values
DIR_BYTE_ON_SRVC_TRK
public static final int DIR_BYTE_ON_SRVC_TRK
- See Also:
- Constant Field Values
DIR_BIT_ON_SRVC_TRK
public static final int DIR_BIT_ON_SRVC_TRK
- See Also:
- Constant Field Values
REG_BYTE_RW_ON_SRVC_TRK
public static final int REG_BYTE_RW_ON_SRVC_TRK
- See Also:
- Constant Field Values
SRVC_TRK_RESERVED
public static final int SRVC_TRK_RESERVED
- See Also:
- Constant Field Values
OPS_BYTE_NO_FEEDBACK
public static final int OPS_BYTE_NO_FEEDBACK
- See Also:
- Constant Field Values
OPS_BYTE_FEEDBACK
public static final int OPS_BYTE_FEEDBACK
- See Also:
- Constant Field Values
OPS_BIT_NO_FEEDBACK
public static final int OPS_BIT_NO_FEEDBACK
- See Also:
- Constant Field Values
OPS_BIT_FEEDBACK
public static final int OPS_BIT_FEEDBACK
- See Also:
- Constant Field Values
PSTAT_USER_ABORTED
public static final int PSTAT_USER_ABORTED
- See Also:
- Constant Field Values
PSTAT_READ_FAIL
public static final int PSTAT_READ_FAIL
- See Also:
- Constant Field Values
PSTAT_WRITE_FAIL
public static final int PSTAT_WRITE_FAIL
- See Also:
- Constant Field Values
PSTAT_NO_DECODER
public static final int PSTAT_NO_DECODER
- See Also:
- Constant Field Values
CVH_CV8_CV9
public static final int CVH_CV8_CV9
- See Also:
- Constant Field Values
CVH_CV7
public static final int CVH_CV7
- See Also:
- Constant Field Values
CVH_D7
public static final int CVH_D7
- See Also:
- Constant Field Values
OPC_GPBUSY
public static final int OPC_GPBUSY
- See Also:
- Constant Field Values
OPC_GPOFF
public static final int OPC_GPOFF
- See Also:
- Constant Field Values
OPC_GPON
public static final int OPC_GPON
- See Also:
- Constant Field Values
OPC_IDLE
public static final int OPC_IDLE
- See Also:
- Constant Field Values
OPC_LOCO_SPD
public static final int OPC_LOCO_SPD
- See Also:
- Constant Field Values
OPC_LOCO_DIRF
public static final int OPC_LOCO_DIRF
- See Also:
- Constant Field Values
OPC_LOCO_SND
public static final int OPC_LOCO_SND
- See Also:
- Constant Field Values
OPC_SW_REQ
public static final int OPC_SW_REQ
- See Also:
- Constant Field Values
OPC_SW_REP
public static final int OPC_SW_REP
- See Also:
- Constant Field Values
OPC_INPUT_REP
public static final int OPC_INPUT_REP
- See Also:
- Constant Field Values
OPC_UNKNOWN
public static final int OPC_UNKNOWN
- See Also:
- Constant Field Values
OPC_LONG_ACK
public static final int OPC_LONG_ACK
- See Also:
- Constant Field Values
OPC_SLOT_STAT1
public static final int OPC_SLOT_STAT1
- See Also:
- Constant Field Values
OPC_CONSIST_FUNC
public static final int OPC_CONSIST_FUNC
- See Also:
- Constant Field Values
OPC_UNLINK_SLOTS
public static final int OPC_UNLINK_SLOTS
- See Also:
- Constant Field Values
OPC_LINK_SLOTS
public static final int OPC_LINK_SLOTS
- See Also:
- Constant Field Values
OPC_MOVE_SLOTS
public static final int OPC_MOVE_SLOTS
- See Also:
- Constant Field Values
OPC_RQ_SL_DATA
public static final int OPC_RQ_SL_DATA
- See Also:
- Constant Field Values
OPC_SW_STATE
public static final int OPC_SW_STATE
- See Also:
- Constant Field Values
OPC_SW_ACK
public static final int OPC_SW_ACK
- See Also:
- Constant Field Values
OPC_LOCO_ADR
public static final int OPC_LOCO_ADR
- See Also:
- Constant Field Values
OPC_MULTI_SENSE
public static final int OPC_MULTI_SENSE
- See Also:
- Constant Field Values
OPC_PANEL_RESPONSE
public static final int OPC_PANEL_RESPONSE
- See Also:
- Constant Field Values
OPC_PANEL_QUERY
public static final int OPC_PANEL_QUERY
- See Also:
- Constant Field Values
OPC_LISSY_UPDATE
public static final int OPC_LISSY_UPDATE
- See Also:
- Constant Field Values
OPC_PEER_XFER
public static final int OPC_PEER_XFER
- See Also:
- Constant Field Values
OPC_ALM_READ
public static final int OPC_ALM_READ
- See Also:
- Constant Field Values
OPC_SL_RD_DATA
public static final int OPC_SL_RD_DATA
- See Also:
- Constant Field Values
OPC_IMM_PACKET
public static final int OPC_IMM_PACKET
- See Also:
- Constant Field Values
OPC_IMM_PACKET_2
public static final int OPC_IMM_PACKET_2
- See Also:
- Constant Field Values
OPC_WR_SL_DATA
public static final int OPC_WR_SL_DATA
- See Also:
- Constant Field Values
OPC_WR_SL_DATA_EXP
public static final int OPC_WR_SL_DATA_EXP
- See Also:
- Constant Field Values
OPC_ALM_WRITE
public static final int OPC_ALM_WRITE
- See Also:
- Constant Field Values
OPC_MASK
public static final int OPC_MASK
- See Also:
- Constant Field Values
EXP_MAST
public static final int EXP_MAST
- See Also:
- Constant Field Values
EXP_SLOT
public static final int EXP_SLOT
- See Also:
- Constant Field Values
EXPD_LENGTH
public static final int EXPD_LENGTH
- See Also:
- Constant Field Values
EXPD_STAT
public static final int EXPD_STAT
- See Also:
- Constant Field Values
EXPD_ADRL
public static final int EXPD_ADRL
- See Also:
- Constant Field Values
EXPD_ADRH
public static final int EXPD_ADRH
- See Also:
- Constant Field Values
EXPD_FLAGS
public static final int EXPD_FLAGS
- See Also:
- Constant Field Values
EXPD_SPD
public static final int EXPD_SPD
- See Also:
- Constant Field Values
EXPD_F28F20F12
public static final int EXPD_F28F20F12
- See Also:
- Constant Field Values
EXPD_DIR_F0F4_F1
public static final int EXPD_DIR_F0F4_F1
- See Also:
- Constant Field Values
EXPD_F11_F5
public static final int EXPD_F11_F5
- See Also:
- Constant Field Values
EXPD_F19_F13
public static final int EXPD_F19_F13
- See Also:
- Constant Field Values
EXPD_F27_F21
public static final int EXPD_F27_F21
- See Also:
- Constant Field Values
KEY_GPBUSY
public static final int KEY_GPBUSY
- See Also:
- Constant Field Values
KEY_GPOFF
public static final int KEY_GPOFF
- See Also:
- Constant Field Values
KEY_GPON
public static final int KEY_GPON
- See Also:
- Constant Field Values
KEY_IDLE
public static final int KEY_IDLE
- See Also:
- Constant Field Values
KEY_LOCO_SPD
public static final int KEY_LOCO_SPD
- See Also:
- Constant Field Values
KEY_LOCO_DIRF
public static final int KEY_LOCO_DIRF
- See Also:
- Constant Field Values
KEY_LOCO_SND
public static final int KEY_LOCO_SND
- See Also:
- Constant Field Values
KEY_SW_REQ
public static final int KEY_SW_REQ
- See Also:
- Constant Field Values
KEY_SW_REP
public static final int KEY_SW_REP
- See Also:
- Constant Field Values
KEY_INPUT_REP
public static final int KEY_INPUT_REP
- See Also:
- Constant Field Values
KEY_LONG_ACK
public static final int KEY_LONG_ACK
- See Also:
- Constant Field Values
KEY_SLOT_STAT1
public static final int KEY_SLOT_STAT1
- See Also:
- Constant Field Values
KEY_CONSIST_FUNC
public static final int KEY_CONSIST_FUNC
- See Also:
- Constant Field Values
KEY_UNLINK_SLOTS
public static final int KEY_UNLINK_SLOTS
- See Also:
- Constant Field Values
KEY_LINK_SLOTS
public static final int KEY_LINK_SLOTS
- See Also:
- Constant Field Values
KEY_MOVE_SLOTS
public static final int KEY_MOVE_SLOTS
- See Also:
- Constant Field Values
KEY_RQ_SL_DATA
public static final int KEY_RQ_SL_DATA
- See Also:
- Constant Field Values
KEY_SW_STATE
public static final int KEY_SW_STATE
- See Also:
- Constant Field Values
KEY_SW_ACK
public static final int KEY_SW_ACK
- See Also:
- Constant Field Values
KEY_LOCO_ADR
public static final int KEY_LOCO_ADR
- See Also:
- Constant Field Values
KEY_PEER_XFR
public static final int KEY_PEER_XFR
- See Also:
- Constant Field Values
KEY_IMM_PACKET
public static final int KEY_IMM_PACKET
- See Also:
- Constant Field Values
KEY_WR_SL_DATA
public static final int KEY_WR_SL_DATA
- See Also:
- Constant Field Values
RE_IPL_MFR_DIGITRAX
public static final int RE_IPL_MFR_DIGITRAX
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_UT4
public static final int RE_IPL_DIGITRAX_HOST_UT4
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_UR92
public static final int RE_IPL_DIGITRAX_HOST_UR92
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_DCS51
public static final int RE_IPL_DIGITRAX_HOST_DCS51
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_DT402
public static final int RE_IPL_DIGITRAX_HOST_DT402
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_PR3
public static final int RE_IPL_DIGITRAX_HOST_PR3
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_HOST_ALL
public static final int RE_IPL_DIGITRAX_HOST_ALL
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_SLAVE_RF24
public static final int RE_IPL_DIGITRAX_SLAVE_RF24
- See Also:
- Constant Field Values
RE_IPL_DIGITRAX_SLAVE_ALL
public static final int RE_IPL_DIGITRAX_SLAVE_ALL
- See Also:
- Constant Field Values
RE_IPL_PING_OPERATION
public static final int RE_IPL_PING_OPERATION
- See Also:
- Constant Field Values
RE_IPL_IDENTITY_OPERATION
public static final int RE_IPL_IDENTITY_OPERATION
- See Also:
- Constant Field Values
RE_LACK_SPEC_CASE1
public static final int RE_LACK_SPEC_CASE1
- See Also:
- Constant Field Values
RE_LACK_SPEC_CASE2
public static final int RE_LACK_SPEC_CASE2
- See Also:
- Constant Field Values
RE_OPC_PR3_MODE
public static final int RE_OPC_PR3_MODE
- See Also:
- Constant Field Values
LnConstants
public LnConstants()
CONSIST_STAT
public static final String CONSIST_STAT(int s)
LOCO_STAT
public static final String LOCO_STAT(int s)
DEC_MODE
public static final String DEC_MODE(int s)
OPC_NAME
public static final String OPC_NAME(int opcode)
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: