comparison cdg211/cdginc/p_t30.val @ 4:56abf6cf8a0b

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