2026-03-17 13:31:18 -07:00

31 lines
1.4 KiB
Java

package com.tridium.platAccess;
public interface AccessConst {
public static final byte BCAST_ADDR = (byte) -68;
public static final byte EOT = (byte) 4;
public static final byte F2F_READER = (byte) 1;
public static final byte HOST_ADDR = (byte) 100;
public static final int LEN_CRC = 1;
public static final int LEN_EOT = 2;
public static final int MAX_CRS = 2;
public static final int MAX_DEVICES = 16;
public static final int MAX_MESSAGE_SIZE = 128;
public static final int MAX_NUM_AIS = 5;
public static final byte MSG_ERROR = (byte) 1;
public static final byte MSG_OK = (byte) 0;
public static final int ONEWIRE_SERIAL_NUM_LEN = 6;
public static final byte RS485_BC_QUERY_UNCONFIG = (byte) 1;
public static final byte RS485_BC_SET_ADDR = (byte) 2;
public static final byte RS485_PING_NODE = (byte) 3;
public static final byte RS485_RD_CR_CONFIG = (byte) 6;
public static final byte RS485_RD_IO_DATA = (byte) 7;
public static final byte RS485_RESET_CR = (byte) 4;
public static final byte RS485_WR_CODE_DNLD_CMD = (byte) 9;
public static final byte RS485_WR_CODE_DNLD_DATA = (byte) 10;
public static final byte RS485_WR_CR_CONFIG = (byte) 5;
public static final byte RS485_WR_DO_DATA = (byte) 8;
public static final byte STROBED_READER = (byte) 3;
public static final byte UNK_READER = (byte) 0;
public static final byte WEIGAND_READER = (byte) 2;
}