FreeCalypso > hg > fc-selenite
annotate cdg-hybrid/cdginc/p_t30.val @ 192:4f40ae165be4
abb.c & init.c: sync with Magnetite for Luna additions
These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA,
a C preprocessor symbol that will never be defined in Selenite, hence this
change has exactly zero impact on FC Selenite. However, they are being pulled
in as a sync in order to keep the diff between Magnetite and Selenite to a
minimum; keeping this diff to a minimum increases our opportunities for
possible evolution of future FC firmwares.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 07:03:46 +0000 |
parents | 6da1d56a96a3 |
children |
rev | line source |
---|---|
9
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 | FILE : p_t30.val | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 | SOURCE : "sap\t30.pdf" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | LastModified : "2002-04-23" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | IdAndVersion : "8411.104.98.312" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 | SrcFileTime : "Thu Nov 29 09:54:28 2007" | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 /* PRAGMAS |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 * PREFIX : NONE |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #ifndef P_T30_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #define P_T30_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_T30_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_T30_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_T30_VAL__FILE_TYPE CDGINC |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_T30_VAL__LAST_MODIFIED _2002_04_23 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_T30_VAL__ID_AND_VERSION _8411_104_98_312 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_T30_VAL__SRC_FILE_TIME _Thu_Nov_29_09_54_28_2007 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_T30_VAL |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 * Value constants for VAL_dir |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 #define DIR_SND (0x0) /* send fax data */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 #define DIR_RCV (0x1) /* receive fax data */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 * Value constants for VAL_sgn |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 #define SGN_OK (0x0) /* OK */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 #define SGN_DIS (0x1) /* Digital identification signal */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 #define SGN_CSI (0x2) /* Called subscriber identification */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 #define SGN_NSF (0x4) /* Non-standard facilities */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 #define SGN_CFR (0x21) /* Confirmation to receive */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 #define SGN_FTT (0x22) /* Failure to train */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 #define SGN_MCF (0x31) /* Message confirmation */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 #define SGN_RTN (0x32) /* Retrain negative */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 #define SGN_RTP (0x33) /* Retrain positive */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 #define SGN_PIN (0x34) /* Procedure interrupt negative */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 #define SGN_PIP (0x35) /* Procedure interrupt positive */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 #define SGN_FDM (0x3f) /* File diagnostics message */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 #define SGN_DCS (0x41) /* Digital command signal */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 #define SGN_TSI (0x42) /* Transmitting subscriber identification */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 #define SGN_SUB (0x43) /* Subaddress */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 #define SGN_NSS (0x44) /* Non-standard set-up */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 #define SGN_PWDR (0x45) /* Password - receive */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 #define SGN_TCF (0x4f) /* Training check frame */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 #define SGN_CRP (0x58) /* Command repeat */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 #define SGN_DCN (0x5f) /* Disconnect */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 #define SGN_EOM (0x71) /* End of message */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 #define SGN_MPS (0x72) /* Multi-page signal */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 #define SGN_EOP (0x74) /* End of procedure */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 #define SGN_PRI_EOM (0x79) /* Procedure Interrupt - End Of Message */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 #define SGN_PRI_MPS (0x7a) /* Procedure Interrupt - MultiPage Signal */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 #define SGN_PRI_EOP (0x7c) /* Procedure Interrupt - End Of Procedure */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 #define SGN_DTC (0x81) /* Digital transmit command */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 #define SGN_CIG (0x82) /* Calling subscriber identification */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 #define SGN_PWDS (0x83) /* Password - send */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 #define SGN_NSC (0x84) /* Non-standard facilities command */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 #define SGN_SEP (0x85) /* Selective Polling */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 #define SGN_FCS_ERR (0xf1) /* FCS error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 #define SGN_NO_RES (0xf2) /* No response */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 #define SGN_CONT (0xf3) /* continue */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 #define SGN_NOT_USED (0xff) /* Not used */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 * Value constants for VAL_cmpl |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 #define CMPL_EOP (0x0) /* end of procedure */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 #define CMPL_EOM (0x1) /* end of message */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 #define CMPL_PI (0x2) /* procedure interrupt */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 #define CMPL_DCN (0x3) /* disconnect */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 * Value constants for VAL_cause |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 #define ERR_PH_A_UNSPEC (0x4d10) /* unspecified phase A error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 #define ERR_PH_A_T1_TIMEOUT (0x4d11) /* no answer (T30 T1 timeout) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 #define ERR_PH_B_SND_UNSPEC (0x4d20) /* unspecified transmit phase B error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 #define ERR_PH_B_SND_CANT_RCV_OR_SND (0x4d21) /* remote cannot receive or send */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 #define ERR_PH_B_SND_COMREC (0x4d22) /* COMREC error in transmit phase B */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 #define ERR_PH_B_SND_COMREC_INVALID_CMD_RCVD (0x4d23)/* COMREC invalid command received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 #define ERR_PH_B_SND_RSPREC (0x4d24) /* RSPREC transmit error phase B */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 #define ERR_PH_B_SND_DCS_RPTD_3_TIMES (0x4d25) /* DCS send three times without response */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 #define ERR_PH_B_SND_DIS_DTC_RCVD_3_TIMES (0x4d26)/* DIS/DTC received 3 times; DCS not recognized */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 #define ERR_PH_B_SND_FTT_2400 (0x4d27) /* failure to train at 2400 bit/s or +FMS value */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 #define ERR_PH_B_SND_INVALID_RESP_RCVD (0x4d28) /* invalid respones received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 #define ERR_PH_C_SND_UNSPEC (0x4d40) /* unspecified transmit phase C error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 #define ERR_PH_C_SND_UNSPEC_IMAGE_CONV (0x4d41) /* unspecified image format error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 #define ERR_PH_C_SND_DTE_TO_DTC_DATA_UNDERFLOW (0x4d43)/* DTE to DTC data underflow */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 #define ERR_PH_C_SND_UNRECOG_TRANSP_DATA_CMD (0x4d44)/* unrecognized transparent data command */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 #define ERR_PH_C_SND_IMAGE_LINE_LENGTH (0x4d45) /* image error, line length wrong */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 #define ERR_PH_C_SND_IMAGE_PAGE_LENGTH (0x4d46) /* image error, page length wrong */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 #define ERR_PH_C_SND_IMAGE_COMPRESSION_MODE (0x4d47)/* image error, compression mode wrong */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 #define ERR_PH_D_SND_UNSPEC (0x4d50) /* unspecified transmit phase D error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 #define ERR_PH_D_SND_RSPREC (0x4d51) /* RESPREC transmit error phase D */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 #define ERR_PH_D_SND_MPS_RPTD_3_TIMES (0x4d52) /* no response to MPS repeated 3 times */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 #define ERR_PH_D_SND_INVALID_RESP_TO_MPS (0x4d53) /* invalid respones to MPS */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 #define ERR_PH_D_SND_EOP_RPTD_3_TIMES (0x4d54) /* no response to EOP repeated 3 times */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 #define ERR_PH_D_SND_INVALID_RESP_TO_EOP (0x4d55) /* invalid response to EOP */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 #define ERR_PH_D_SND_EOM_RPTD_3_TIMES (0x4d56) /* no response to EOM repeated 3 times */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 #define ERR_PH_D_SND_INVALID_RESP_TO_EOM (0x4d57) /* invalid response to EOM */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 #define ERR_PH_D_SND_UNABLE_TO_CONT (0x4d58) /* unable to continue after PIN or PIP */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 #define ERR_PH_B_RCV_UNSPEC (0x4d70) /* unspecified receive phase B error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 #define ERR_PH_B_RCV_RSPREC (0x4d71) /* RSPREC receive error phase B */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 #define ERR_PH_B_RCV_COMREC (0x4d72) /* COMREC error in receive phase B */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 #define ERR_PH_B_RCV_EXP_PAGE_NOT_RCVD (0x4d73) /* T30 T2 timeout, expected page not received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 #define ERR_PH_B_RCV_T1_TIMEOUT_AFTER_EOM_RCVD (0x4d74)/* T30 T1 timeout after EOM received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 #define ERR_PH_C_RCV_UNSPEC (0x4d90) /* unspecified receive phase C error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 #define ERR_PH_C_RCV_EOL_MISSING (0x4d91) /* missing EOL after 5 seconds (3.2/T4) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 #define ERR_PH_C_RCV_DCE_TO_DTE_BUFFER_OVERFLOW (0x4d93)/* DCE to DTE buffer overflow */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 #define ERR_PH_C_RCV_BAD_CRC_OR_FRAME (0x4d94) /* bad crc or frame (ECM mode) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 #define ERR_PH_D_RCV_UNSPEC (0x4da0) /* unspecified receive phase D error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 #define ERR_PH_D_RCV_RSPREC_INVALID_RESP_RCVD (0x4da1)/* RSPREC invalid respones received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 #define ERR_PH_D_RCV_COMREC_INVALID_RESP_RCVD (0x4da2)/* COMREC invalid respones received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 #define ERR_PH_D_RCV_UNABLE_TO_CONT (0x4da3) /* unable to continue after PIN or PIP */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 #define ERR_PH_B_SND_RESERVED1 (0xcde0) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 #define ERR_PH_B_SND_RESERVED2 (0xcde1) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 #define ERR_PH_B_SND_RESERVED3 (0xcde2) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 #define ERR_PH_C_SND_RESERVED1 (0xcde3) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 #define ERR_PH_C_SND_RESERVED2 (0xcde4) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 #define ERR_PH_D_SND_RESERVED1 (0xcde5) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 #define ERR_PH_D_SND_RESERVED2 (0xcde6) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 #define ERR_PH_D_SND_RESERVED3 (0xcde7) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 #define ERR_PH_B_RCV_NO_RESP (0xcde8) /* T2 timeout, no response */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 #define ERR_PH_B_RCV_INVALID_RESP_RCVD (0xcde9) /* invalid respones received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 #define ERR_PH_B_RCV_RESERVED3 (0xcdea) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 #define ERR_PH_C_RCV_RESERVED1 (0xcdeb) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 #define ERR_PH_C_RCV_RESERVED2 (0xcdec) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 #define ERR_PH_D_RCV_NO_RESP (0xcded) /* T2 timeout, no response */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 #define ERR_PH_D_RCV_INVALID_RESP_RCVD (0xcdee) /* invalid respones received */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 #define ERR_PH_D_RCV_RESERVED3 (0xcdef) /* reserved */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 #define ERR_SGN_NOT_ALLOWED (0xcdf0) /* signal not allowed */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 #define ERR_CCD_ENC (0xcdf1) /* CCD encoding error */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 * Value constants for VAL_test_mode |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 #define TST_OFF (0x0) /* normal */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 #define TST_BCS (0x1) /* test BCS formatter only */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 #define TST_STUFF (0x2) /* stuffing/destuffing off */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 #define TST_FCS (0x4) /* FCS generating/checking off */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 #define TST_CTRL (0x8) /* Control checking off */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 #define TST_RTC (0x10) /* RTC checking off */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 #define TST_MIR (0x20) /* mirror report strings */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 #define TST_BUF (0x80) /* show contents of buffer */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 * Value constants for VAL_bitorder |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 #define FBO_NRM_DATA (0x0) /* no change in bitorder for DATA frames */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 #define FBO_NRM_STATUS (0x0) /* no change in bitorder for STATUS frames */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 #define FBO_REV_DATA (0x1) /* reverse bitorder only for MSG frames */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 #define FBO_REV_STATUS (0x2) /* reverse bitorder only for STATUS frames */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 * Value constants for VAL_phase |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 #define BCS_PHASE (0x0) /* Not a message phase */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 #define MSG_PHASE (0x1) /* Message phase (C) */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 * Value constants for VAL_dti_conn |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 #define T30_DISCONNECT_DTI (0x0) /* Disconnect DTI from T30 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 #define T30_CONNECT_DTI (0x1) /* Connect DTI to T30 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 * Value constants for VAL_link_id |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 #define T30_LINK_ID_DEFAULT (0x0) /* Default link id */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 * Value constants for VAL_dti_direction |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 #define T30_DTI_NORMAL (0x0) /* DTI used normally */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 #define T30_DTI_INVERTED (0x1) /* DTI is inverted */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 /* |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 * user defined constants |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 */ |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 #define CSI_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 #define NSF_LEN (0x5a) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 #define CIG_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 #define NSC_LEN (0x5a) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 #define TSI_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
209 #define NSS_LEN (0x5a) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 #define PWD_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 #define SUB_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 #define SEP_LEN (0x14) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 #define T30_ENTITY_NAME_LEN (0x6) |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
215 #include "CDG_LEAVE.h" |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
216 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
217 |
6da1d56a96a3
cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
218 #endif |