comparison cdg211/cdginc/m_sms.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 : m_sms.val |
5 | SOURCE : "__out__\g23m_dfile\msg\sms.mdf" |
6 | LastModified : "2001-09-11" |
7 | IdAndVersion : "6147.607.97.102" |
8 | SrcFileTime : "Thu Mar 4 16:08:34 2004" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 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 M_SMS_VAL
24 #define M_SMS_VAL
25
26
27 #define CDG_ENTER__M_SMS_VAL
28
29 #define CDG_ENTER__FILENAME _M_SMS_VAL
30 #define CDG_ENTER__M_SMS_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__M_SMS_VAL__LAST_MODIFIED _2001_09_11
32 #define CDG_ENTER__M_SMS_VAL__ID_AND_VERSION _6147_607_97_102
33
34 #define CDG_ENTER__M_SMS_VAL__SRC_FILE_TIME _Thu_Mar_4_16_08_34_2004
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__M_SMS_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_cp_cause
45 */
46 #define SMS_CP_CS_NETWORK_FAILURE (0x11) /* Network Failure */
47 #define SMS_CP_CS_CONGESTION (0x16) /* Congestion */
48 #define SMS_CP_CS_INVALID_TI (0x51) /* Invalid Transaction Identifier */
49 #define SMS_CP_CS_SEM_INC_MSG (0x5f) /* Semantically incorrect message */
50 #define SMS_CP_CS_INV_MAND_INFO (0x60) /* Invalid mandatory information */
51 #define SMS_CP_CS_MSG_TYPE_NON_EXIST (0x61) /* Message type non-existent or not implemented */
52 #define SMS_CP_CS_MSG_NOT_COMP (0x62) /* Message not compatible with the short message protocol state */
53 #define SMS_CP_CS_INFO_NON_EXIST (0x63) /* Information element non-existent or not implemented */
54 #define SMS_CP_CS_PROTOCOL_ERROR (0x6f) /* Protocol error, unspecified */
55
56 /*
57 * Value constants for VAL_rp_mti
58 */
59 #define RP_DATA_UL (0x0) /* RP_DATA message MS to network */
60 #define RP_DATA_DL (0x1) /* RP_DATA message network to MS */
61 #define RP_ACK_UL (0x2) /* RP_ACK message MS to network */
62 #define RP_ACK_DL (0x3) /* RP_ACK message network to MS */
63 #define RP_ERROR_UL (0x4) /* RP_ERROR message MS to network */
64 #define RP_ERROR_DL (0x5) /* RP_ERROR message network to MS */
65 #define RP_SMMA_UL (0x6) /* RP_SMMA message MS to network */
66
67 /*
68 * Value constants for VAL_npi
69 */
70 #define VAL_NPI___DEF (0x0) /* reserved */
71 #define SMS_NPI_UNKNOWN (0x0) /* unknown */
72 #define SMS_NPI_ISDN (0x1) /* ISDN/telephony numbering plan (Rec. E.164/E.163) */
73 #define SMS_NPI_X121 (0x3) /* data numbering plan (Recommendation X.121) */
74 #define SMS_NPI_F69 (0x4) /* telex numbering plan (Recommendation F.69) */
75 #define SMS_NPI_NATIONAL (0x8) /* national numbering plan */
76 #define SMS_NPI_PRIVATE (0x9) /* private numbering plan */
77 #define SMS_NPI_ERMES (0xa) /* ERMES numbering plan (ETSI DE/PS 3 01-3) */
78 #define SMS_NPI_EXTENSTION (0xf) /* reserved for extension */
79
80 /*
81 * Value constants for VAL_ton
82 */
83 #define SMS_TON_UNKNOWN (0x0) /* unknown */
84 #define SMS_TON_INTERNATIONAL (0x1) /* international number */
85 #define SMS_TON_NATIONAL (0x2) /* national number */
86 #define SMS_TON_NETWORK_SPEC (0x3) /* network specific number */
87 #define SMS_TON_SUBSCRIBER (0x4) /* dedicated access, short code */
88 #define SMS_TON_ALPHANUMERIC (0x5) /* alphanumeric */
89 #define SMS_TON_ABBREVIATED (0x6) /* abbreviated */
90 #define SMS_TON_EXTENSION (0x7) /* reserved for extention */
91
92 /*
93 * Value constants for VAL_rp_cause_value
94 */
95 #define SMS_RP_CS_UNASSIGNED_NUMBER (0x1) /* Unassigned (unallocated) number */
96 #define SMS_RP_CS_OPERATOR_DET_BARRED (0x8) /* Operator determined barring */
97 #define SMS_RP_CS_CALL_BARRED (0xa) /* Call barred */
98 #define SMS_RP_CS_SM_TRANSFER_REJECTED (0x15) /* Short message transfer rejected */
99 #define SMS_RP_CS_MEM_CAP_EXCEEDED (0x16) /* Memory Capacity exceeded */
100 #define SMS_RP_CS_DEST_OUT_OF_ORDER (0x1b) /* Destination out of order */
101 #define SMS_RP_CS_UNIDENT_SUBSCRIBER (0x1c) /* Unidentified subscriber */
102 #define SMS_RP_CS_FACILITY_REJECTED (0x1d) /* Facility rejected */
103 #define SMS_RP_CS_UNKNOWN_SUBSCRIBER (0x1e) /* Unknown subscriber */
104 #define SMS_RP_CS_NET_OUT_OF_ORDER (0x26) /* Network out of order */
105 #define SMS_RP_CS_TEMP_FAILURE (0x29) /* Temporary Failure */
106 #define SMS_RP_CS_CONGESTION (0x2a) /* Congestion */
107 #define SMS_RP_CS_NO_RESOURCES (0x2f) /* Resources unavailable, unspecified */
108 #define SMS_RP_CS_FAC_NOT_SUBSCRIBED (0x32) /* Requested facility not subscribed */
109 #define SMS_RP_CS_FAC_NOT_IMPL (0x45) /* Requested facility not implemented */
110 #define SMS_RP_CS_INV_SM_TR_REF_VAL (0x51) /* Invalid short message transfer reference value */
111 #define SMS_RP_CS_SEM_INC_MSG (0x5f) /* Semantically incorrect message */
112 #define SMS_RP_CS_INV_MAND_INFO (0x60) /* Invalid mandatory information */
113 #define SMS_RP_CS_MSG_NON_EXIST (0x61) /* Message type non-existent or not implemented */
114 #define SMS_RP_CS_MSG_NOT_COMP (0x62) /* Message not compatible with the short message protocol state */
115 #define SMS_RP_CS_INFO_NON_EXIST (0x63) /* Information element non-existent or not implemented */
116 #define SMS_RP_CS_PROTOCOL_ERROR (0x6f) /* Protocol error, unspecified */
117 #define SMS_RP_CS_INTERWORKING (0x7f) /* Interworking, unspecified */
118
119 /*
120 * Value constants for VAL_tp_ct
121 */
122 #define SMS_CT_ENQUIRY (0x0) /* Enquiry to submitted short message */
123 #define SMS_CT_CANCEL_REP (0x1) /* Cancel status report request */
124 #define SMS_CT_DELETE (0x2) /* Delete short message */
125 #define SMS_CT_ENABLE (0x3) /* Enable status report request */
126
127 /*
128 * Value constants for VAL_tp_dcs
129 */
130 #define SMS_DCS_GRP_DEF (0x0) /* Coding group: uncompressed, no message class */
131 #define SMS_DCS_GRP_CLASS (0x10) /* Coding group: uncompressed, with message class */
132 #define SMS_DCS_GRP_COMPR (0x20) /* Coding group: compressed, no message class */
133 #define SMS_DCS_GRP_CLASS_COMPR (0x30) /* Coding group: compressed, with message class */
134 #define SMS_DCS_GRP_MW_DISCD (0xc0) /* Coding group: message waiting, discard */
135 #define SMS_DCS_GRP_MW_STORE (0xd0) /* Coding group: message waiting, store */
136 #define SMS_DCS_GRP_MW_STORE_UCS2 (0xe0) /* Coding group: message waiting, store, UCS2 coded */
137 #define SMS_DCS_DATA_CLASS (0xf0) /* Coding group: data coding, with message class */
138
139 /*
140 * Value constants for VAL_tp_fcs
141 */
142 #define SMS_FCS_TM_IW_NOT_SUP (0x80) /* Telematic interworking not supported (MO) */
143 #define SMS_FCS_SM_0_NOT_SUP (0x81) /* Short Message Type 0 not supported (MO, MT) */
144 #define SMS_FCS_CANT_REP_SM (0x82) /* Cannot replace short message (MO, MT) */
145 #define SMS_FCS_TP_PID_UNSPEC (0x8f) /* Unspecified TP-PID error (MO, MT) */
146 #define SMS_FCS_DCS_NOT_SUP (0x90) /* Data coding scheme (alphabet) not supported (MO) */
147 #define SMS_FCS_CLASS_NOT_SUP (0x91) /* Message class not supported (MT) */
148 #define SMS_FCS_TP_DCS_UNSPEC (0x9f) /* Unspecified TP-DCS error (MO, MT) */
149 #define SMS_FCS_CMD_CANT_ACT (0xa0) /* Command cannot be actioned (MO) */
150 #define SMS_FCS_CMD_NOT_SUP (0xa1) /* Command unsupported (MO) */
151 #define SMS_FCS_TP_CMD_UNSPEC (0xaf) /* Unspecified TP-Command error (MO) */
152 #define SMS_FCS_TPDU_NOT_SUP (0xb0) /* TPDU not supported (MO, MT) */
153 #define SMS_FCS_SC_BUSY (0xc0) /* SC busy (MO) */
154 #define SMS_FCS_NO_SC_SUBSCRIPT (0xc1) /* No SC subscription (MO) */
155 #define SMS_FCS_SC_SYS_FAIL (0xc2) /* SC system failure (MO) */
156 #define SMS_FCS_INV_SME_ADDR (0xc3) /* Invalid SME address (MO) */
157 #define SMS_FCS_DEST_SME_BARRED (0xc4) /* Destination SME barred (MO) */
158 #define SMS_FCS_REJ_DUPL_SM (0xc5) /* SM rejected-duplicate SM (MO) */
159 #define SMS_FCS_TPVPF_NOT_SUP (0xc6) /* Validity Period Format not supported (MO) */
160 #define SMS_FCS_TPVP_NOT_SUP (0xc7) /* Validity Period not supported (MO) */
161 #define SMS_FCS_SIM_MEM_FULL (0xd0) /* SIM SMS storage full (MT) */
162 #define SMS_FCS_NO_SMS_MEM_IN_MS (0xd1) /* No SMS storage capability in SIM (MT) */
163 #define SMS_FCS_ERROR_IN_MS (0xd2) /* Error in MS (MT) */
164 #define SMS_FCS_MEM_CAP_EXCEED (0xd3) /* Memory Capacity exceeded (MO, MT) */
165 #define SMS_FCS_SAT_BUSY (0xd4) /* SIM Application Toolkit busy (MT) */
166 #define SMS_FCS_SAT_DNL_ERROR (0xd5) /* SIM Data Download error (MT) */
167 #define SMS_FCS_UNSPECIFIED (0xff) /* Unspecified error cause (MO, MT) */
168
169 /*
170 * Value constants for VAL_tp_mti
171 */
172 #define SMS_DELIVER (0x0) /* SMS deliver (SC to MS) */
173 #define SMS_DELIVER_REPORT (0x0) /* SMS deliver report (MS to SC) */
174 #define SMS_STATUS_REPORT (0x2) /* SMS status report (SC to MS) */
175 #define SMS_COMMAND (0x2) /* SMS command (MS to SC) */
176 #define SMS_SUBMIT (0x1) /* SMS submit (MS to SC) */
177 #define SMS_SUBMIT_REPORT (0x1) /* SMS submit report (SC to MS) */
178
179 /*
180 * Value constants for VAL_tp_mms
181 */
182 #define SMS_MMS_MORE_MESSAGES (0x0) /* More messages are waiting for the MS in this SC */
183 #define SMS_MMS_NO_MORE_MESSAGES (0x1) /* No more messages are waiting for the MS in this SC */
184
185 /*
186 * Value constants for VAL_tp_pid
187 */
188 #define SMS_PID_DEFAULT (0x0)
189 #define SMS_PID_SM_TYPE_0 (0x40) /* Short Message Type 0 */
190 #define SMS_PID_REP_SM_TYPE_1 (0x41) /* Replace Short Message Type 1 */
191 #define SMS_PID_REP_SM_TYPE_2 (0x42) /* Replace Short Message Type 2 */
192 #define SMS_PID_REP_SM_TYPE_3 (0x43) /* Replace Short Message Type 3 */
193 #define SMS_PID_REP_SM_TYPE_4 (0x44) /* Replace Short Message Type 4 */
194 #define SMS_PID_REP_SM_TYPE_5 (0x45) /* Replace Short Message Type 5 */
195 #define SMS_PID_REP_SM_TYPE_6 (0x46) /* Replace Short Message Type 6 */
196 #define SMS_PID_REP_SM_TYPE_7 (0x47) /* Replace Short Message Type 7 */
197 #define SMS_PID_RET_CALL_MSG (0x5f) /* Return Call Message */
198 #define SMS_PID_ME_DOWNLOAD (0x7d) /* ME Data Download */
199 #define SMS_PID_ME_DEPERSON (0x7e) /* ME Depersonalization SM */
200 #define SMS_PID_SIM_DOWNLOAD (0x7f) /* SIM Data Download */
201
202 /*
203 * Value constants for VAL_tp_rd
204 */
205 #define SMS_RD_ACCEPT (0x0) /* Accept duplicated SMS submit */
206 #define SMS_RD_REJECT (0x1) /* Reject duplicated SMS submit */
207
208 /*
209 * Value constants for VAL_tp_rp
210 */
211 #define SMS_RP_NOT_SET (0x0) /* TP Reply Path parameter is not set */
212 #define SMS_RP_SET (0x1) /* TP Reply Path parameter is set */
213
214 /*
215 * Value constants for VAL_tp_st
216 */
217 #define SMS_ST_SM_REC_BY_SME (0x0) /* Short message received by the SME */
218 #define SMS_ST_SM_FORW_SC (0x1) /* Short message forwarded by the SC, not confirmed */
219 #define SMS_ST_SM_REP_BY_SC (0x2) /* Short message replaced by the SC */
220 #define SMS_ST_CONGESTION (0x20) /* Congestion (T) */
221 #define SMS_ST_SMS_BUSY (0x21) /* SME is busy (T) */
222 #define SMS_ST_NO_RESPONSE (0x22) /* No response from the SME (T) */
223 #define SMS_ST_SERV_REJ (0x23) /* Service rejected (T) */
224 #define SMS_ST_QUAL_NOT_AVAIL (0x24) /* Quality of service not available (T) */
225 #define SMS_ST_ERR_IN_SME (0x25) /* Error in SME (T) */
226 #define SMS_ST_REM_PROC_ERR (0x40) /* Remote procedure error (P) */
227 #define SMS_ST_INCOMP_DEST (0x41) /* Incompatible destination (P) */
228 #define SMS_ST_CON_REJ_BY_SME (0x42) /* Connection rejected by SME (P) */
229 #define SMS_ST_NOT_OBTAINABLE (0x43) /* Not obtainable (P) */
230 #define SMS_ST_QUAL_NOT_AVAIL_P (0x44) /* Quality of service not available (P) */
231 #define SMS_ST_NO_INTERWORK (0x45) /* No interworking available (P) */
232 #define SMS_ST_SM_VP_EXP (0x46) /* Short message validity period expired (P) */
233 #define SMS_ST_SM_DEL_BY_SME (0x47) /* Short message deleted by originating SME (P) */
234 #define SMS_ST_SM_DEL_BY_SC (0x48) /* Short message deleted by SC administration (P) */
235 #define SMS_ST_SM_NOT_EXIST (0x49) /* Short message not exists (P) */
236 #define SMS_ST_CONGESTION2 (0x60) /* Congestion (P) */
237 #define SMS_ST_SMS_BUSY2 (0x61) /* SME is busy (P) */
238 #define SMS_ST_NO_RESPONSE2 (0x62) /* No response from the SME (P) */
239 #define SMS_ST_SERV_REJ2 (0x63) /* Service rejected (P) */
240 #define SMS_ST_QUAL_NOT_AVAIL2 (0x64) /* Quality of service not available (P) */
241 #define SMS_ST_ERR_IN_SME2 (0x65) /* Error in SME (P) */
242
243 /*
244 * Value constants for VAL_tp_sri
245 */
246 #define SMS_SRI_NO_RETURN (0x0) /* A status report will not be returned to the SME */
247 #define SMS_SRI_RETURN (0x1) /* A status report will be returned to the SME */
248
249 /*
250 * Value constants for VAL_tp_srr
251 */
252 #define SMS_SRR_NOT_REQUESTED (0x0) /* A status report is not requested */
253 #define SMS_SRR_REQUESTED (0x1) /* A status report is requested */
254
255 /*
256 * Value constants for VAL_tp_srq
257 */
258 #define SMS_SRQ_SUBMIT (0x0) /* The SMS status report is the result of a SMS submit */
259 #define SMS_SRQ_COMMAND (0x1) /* The SMS status report is the result of a SMS command or enquiry */
260
261 /*
262 * Value constants for VAL_tp_udhi
263 */
264 #define SMS_UDHI_NOT_INCLUDED (0x0) /* No user data header included */
265 #define SMS_UDHI_INCLUDED (0x1) /* User data header included */
266
267 /*
268 * Value constants for VAL_tp_vpf
269 */
270 #define SMS_VPF_NOT_PRESENT (0x0) /* TP-VP field not present */
271 #define SMS_VPF_ENHANCED (0x1) /* TP-VP field present in enhanced format */
272 #define SMS_VPF_RELATIVE (0x2) /* TP-VP field present and integer represented (relative) */
273 #define SMS_VPF_ABSOLUTE (0x3) /* TP-VP field present and semi-octet represented (absolute) */
274
275 /*
276 * Value constants for VAL_tp_udl_p
277 */
278 #define SMS_UD_NOT_INCLUDED (0x0) /* No user data included */
279 #define SMS_UD_INCLUDED (0x1) /* User data included */
280
281 /*
282 * Value constants for VAL_tp_dcs_p
283 */
284 #define SMS_DCS_NOT_INCLUDED (0x0) /* No data coding scheme included */
285 #define SMS_DCS_INCLUDED (0x1) /* Data coding scheme included */
286
287 /*
288 * Value constants for VAL_tp_pid_p
289 */
290 #define SMS_PID_NOT_INCLUDED (0x0) /* No protocol identifier included */
291 #define SMS_PID_INCLUDED (0x1) /* Protocol identifier included */
292
293 /*
294 * Value constants for VAL_tp_vt_mti
295 */
296 #define SMS_VT_DLVR_REP_ACK (0x20) /* TP SMS-DELIVER-REPORT in RP_ACK message, MS to network */
297 #define SMS_VT_SUBMIT (0x21) /* TP SMS-SUBMIT in RP_DATA message, MS to network */
298 #define SMS_VT_COMMAND (0x22) /* TP SMS-COMMAND in RP_DATA message, MS to network */
299 #define SMS_VT_DLVR_REP_ERR (0x24) /* TP SMS-DELIVER-REPORT in RP_ERROR message, MS to network */
300 #define SMS_VT_DELIVER (0x28) /* TP SMS-DELIVER in RP_DATA message, network to MS */
301 #define SMS_VT_SBMT_REP_ACK (0x29) /* TP SMS-SUBMIT-REPORT in RP_ACK message, network to MS */
302 #define SMS_VT_STATUS (0x2a) /* TP SMS-STATUS-REPORT in RP-DATA or RP_ACK message, network to MS */
303 #define SMS_VT_SBMT_REP_ERR (0x2b) /* TP SMS-SUBMIT-REPORT in RP_ERROR message, network to MS */
304 #define SMS_VT_SIM_PDU (0x30) /* Virtual message type for SIM-PDU used in SAP MNSMS */
305
306 /*
307 * Value constants for VAL_tvpf
308 */
309 #define SMS_TVPF_NOT_PRESENT (0x0) /* Enhanced validity period not present */
310 #define SMS_TVPF_RELATIVE (0x1) /* Enhanced validity period relative as TP-VP (relative) */
311 #define SMS_TVPF_SECONDS (0x2) /* Enhanced validity period given in seconds 1 .. 255 */
312 #define SMS_TVPF_HOURS (0x3) /* Enhanced validity period given in hours, minutes, seconds */
313
314 /*
315 * Value constants for VAL_tp_ext
316 */
317 #define SMS_EXT_NOT_INCLUDED (0x0) /* No extension octet following */
318 #define SMS_EXT_INCLUDED (0x1) /* Extension octet following */
319
320 /*
321 * Value constants for VAL_tp_ss
322 */
323 #define SMS_SS_NOT_SET (0x0) /* Single Shot bit not set */
324 #define SMS_SS_SET (0x1) /* Single Shot bit set */
325
326 /*
327 * user defined constants
328 */
329 #define SIM_PDU_BIT_LEN (0x578)
330 #define TPDU_BIT_LEN (0x520)
331 #define MAX_SMS_ADDR_DIG (0x14)
332 #define MAX_SMS_SGL_CHAR (0xa0)
333 #define MAX_SMS_DATA_LEN (0xa0)
334
335 #include "CDG_LEAVE.h"
336
337
338 #endif