1 | package com.bowman.cardserv.interfaces;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Created by IntelliJ IDEA.
|
---|
5 | * User: bowman
|
---|
6 | * Date: Oct 9, 2005
|
---|
7 | * Time: 5:22:44 AM
|
---|
8 | */
|
---|
9 | public interface CamdConstants {
|
---|
10 |
|
---|
11 | public static final int CWS_NETMSGSIZE = 240;
|
---|
12 | public static final int CWS_FIRSTCMDNO = 0xE0;
|
---|
13 |
|
---|
14 | public static final int EXT_OSD_MESSAGE = 0xD1;
|
---|
15 | public static final int EXT_ADD_CARD = 0xD3;
|
---|
16 | public static final int EXT_REMOVE_CARD = 0xD4;
|
---|
17 | public static final int EXT_GET_VERSION = 0xD6;
|
---|
18 | public static final int EXT_SID_LIST = 0xD7;
|
---|
19 |
|
---|
20 | public static final int
|
---|
21 | MSG_CLIENT_2_SERVER_LOGIN = CWS_FIRSTCMDNO,
|
---|
22 | MSG_CLIENT_2_SERVER_LOGIN_ACK = CWS_FIRSTCMDNO + 1,
|
---|
23 | MSG_CLIENT_2_SERVER_LOGIN_NAK = CWS_FIRSTCMDNO + 2,
|
---|
24 | MSG_CARD_DATA_REQ = CWS_FIRSTCMDNO + 3,
|
---|
25 | MSG_CARD_DATA = CWS_FIRSTCMDNO + 4,
|
---|
26 | MSG_SERVER_2_CLIENT_NAME = CWS_FIRSTCMDNO + 5,
|
---|
27 | MSG_SERVER_2_CLIENT_NAME_ACK = CWS_FIRSTCMDNO + 6,
|
---|
28 | MSG_SERVER_2_CLIENT_NAME_NAK = CWS_FIRSTCMDNO + 7,
|
---|
29 | MSG_SERVER_2_CLIENT_LOGIN = CWS_FIRSTCMDNO + 8,
|
---|
30 | MSG_SERVER_2_CLIENT_LOGIN_ACK = CWS_FIRSTCMDNO + 9,
|
---|
31 | MSG_SERVER_2_CLIENT_LOGIN_NAK = CWS_FIRSTCMDNO + 10,
|
---|
32 | MSG_ADMIN = CWS_FIRSTCMDNO + 11,
|
---|
33 | MSG_ADMIN_ACK = CWS_FIRSTCMDNO + 12,
|
---|
34 | MSG_ADMIN_LOGIN = CWS_FIRSTCMDNO + 13,
|
---|
35 | MSG_ADMIN_LOGIN_ACK = CWS_FIRSTCMDNO + 14,
|
---|
36 | MSG_ADMIN_LOGIN_NAK = CWS_FIRSTCMDNO + 15,
|
---|
37 | MSG_ADMIN_COMMAND = CWS_FIRSTCMDNO + 16,
|
---|
38 | MSG_ADMIN_COMMAND_ACK = CWS_FIRSTCMDNO + 17,
|
---|
39 | MSG_ADMIN_COMMAND_NAK = CWS_FIRSTCMDNO + 18,
|
---|
40 | MSG_KEEPALIVE = CWS_FIRSTCMDNO + 0x1D;
|
---|
41 |
|
---|
42 | public static final String[] CL_NAMES = {
|
---|
43 | "Generic", "VDRSC", "LCE", "Camd3", "Radegast", "Gbox2CS", "Mgcamd", "WinCSC", "newcs", "cx", "Kaffeine",
|
---|
44 | "Evocamd", "CCcam", "Tecview", "AlexCS", "Rqcamd", "Rq-echo", "Acamd", "Cardlink", "Octagon", "sbcl",
|
---|
45 | "NextYE2k", "NextYE2k", "DiabloCam/UW", "OScam", "Scam", "Rq-sssp/CW", "Rq-sssp/CS", "JlsRq", "eyetvCamd",
|
---|
46 | "mpcs", "kpcs", "Tvheadend"
|
---|
47 | };
|
---|
48 | public static final int[] CL_IDS = {
|
---|
49 | 0x0000, 0x5644, 0x4C43, 0x4333, 0x7264, 0x6762, 0x6D67, 0x7763, 0x6E73, 0x6378, 0x6B61,
|
---|
50 | 0x6576, 0x4343, 0x5456, 0x414C, 0x0666, 0x0667, 0x9911, 0x434C, 0x4765, 0x5342,
|
---|
51 | 0x6E65, 0x4E58, 0x4453, 0x8888, 0x7363, 0x0669, 0x0665, 0x0769, 0x4543,
|
---|
52 | 0x6D63, 0x6B63, 0x6502
|
---|
53 | };
|
---|
54 |
|
---|
55 | // 0x5943 = YaCamd ?
|
---|
56 | }
|
---|