FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/p_mnsms.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_mnsms.val | | |
5 | SOURCE : "__out__\g23m_dfile\prim\mnsms.pdf" | | |
6 | LastModified : "2002-04-19" | | |
7 | IdAndVersion : "6147.103.96.107" | | |
8 | SrcFileTime : "Fri Jan 20 15:37:02 2006" | | |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 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_MNSMS_VAL | |
24 #define P_MNSMS_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_MNSMS_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_MNSMS_VAL | |
30 #define CDG_ENTER__P_MNSMS_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_MNSMS_VAL__LAST_MODIFIED _2002_04_19 | |
32 #define CDG_ENTER__P_MNSMS_VAL__ID_AND_VERSION _6147_103_96_107 | |
33 | |
34 #define CDG_ENTER__P_MNSMS_VAL__SRC_FILE_TIME _Fri_Jan_20_15_37_02_2006 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_MNSMS_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 #include "m_sms.val" /* Access values independent from the corresponding h-file. */ | |
43 | |
44 | |
45 /* | |
46 * Value constants for VAL_mem_type | |
47 */ | |
48 #define MEM_ME (0x1) /* mobile equipment memory 1 */ | |
49 #define MEM_SM (0x3) /* subscriber identity module memory */ | |
50 #define MEM_SR (0x5) /* status report memory */ | |
51 | |
52 /* | |
53 * Value constants for VAL_cause | |
54 */ | |
55 #define SMS_NO_ERROR (0x89ff) /* No error */ | |
56 #define SMS_CAUSE_PARAM_WRONG (0xc900) /* Wrong parameter in primitive */ | |
57 #define SMS_CAUSE_ENTITY_BUSY (0xc901) /* Entity is busy */ | |
58 #define SMS_CAUSE_OPER_NOT_ALLW (0xc902) /* Operation not allowed */ | |
59 #define SMS_CAUSE_OPER_NOT_SUPP (0xc903) /* Operation not supported */ | |
60 #define SMS_CAUSE_SIM_BUSY (0xc904) /* SIM busy */ | |
61 #define SMS_CAUSE_MEM_FAIL (0xc905) /* Memory failure */ | |
62 #define SMS_CAUSE_INV_INDEX (0xc906) /* Invalid memory index */ | |
63 #define SMS_CAUSE_MEM_FULL (0xc908) /* Memory full */ | |
64 #define SMS_CAUSE_NO_SERVICE (0xc909) /* No network service */ | |
65 #define SMS_CAUSE_NET_TIMEOUT (0xc90a) /* Network timeout */ | |
66 #define SMS_CAUSE_UNEXP_CNMA (0xc90b) /* No +CNMA acknowledgement expected */ | |
67 #define SMS_CAUSE_OTHER_ERROR (0xc90f) /* Any other error */ | |
68 #define SMS_CAUSE_MEM_AVAIL (0xc90c) /* Memory available after full */ | |
69 | |
70 /* | |
71 * Value constants for VAL_state | |
72 */ | |
73 #define SMS_STATE_READY (0x0) /* SMS is full operable */ | |
74 #define SMS_STATE_INITIALISING (0x1) /* SMS is in initialisation state */ | |
75 #define SMS_STATE_BUSY (0x2) /* SMS is in a busy condition */ | |
76 #define SMS_STATE_NOT_AVAILABLE (0xff) /* SMS is inoperable */ | |
77 | |
78 /* | |
79 * Value constants for VAL_condx | |
80 */ | |
81 #define SMS_CONDX_OVR_NON (0x0) /* do not overwrite an existing message */ | |
82 #define SMS_CONDX_OVR_MO (0x1) /* overwrite only an exisiting mobile originated message */ | |
83 #define SMS_CONDX_OVR_ANY (0x2) /* overwrite any existing message */ | |
84 | |
85 /* | |
86 * Value constants for VAL_modify | |
87 */ | |
88 #define SMS_MODIFY_NON (0x0) /* no modification */ | |
89 #define SMS_MODIFY_TPOA (0x1) /* substitution of TP-OA */ | |
90 #define SMS_MODIFY_SCA (0x2) /* substitution of SCA */ | |
91 #define SMS_MODIFY_TPOA_SCA (0x3) /* substitution of TP-OA and SCA */ | |
92 #define SMS_MODIFY_ALL (0x4) /* substitution of the complete message */ | |
93 | |
94 /* | |
95 * Value constants for VAL_rec_num | |
96 */ | |
97 #define SMS_RECORD_NOT_EXIST (0x0) /* record is not existing */ | |
98 | |
99 /* | |
100 * Value constants for VAL_status | |
101 */ | |
102 #define SMS_RECORD_FREE (0x0) /* Free record */ | |
103 #define SMS_RECORD_REC_UNREAD (0x3) /* MT record, not read */ | |
104 #define SMS_RECORD_REC_READ (0x1) /* MT record, already read */ | |
105 #define SMS_RECORD_STO_UNSENT (0x7) /* MO record, not sent */ | |
106 #define SMS_RECORD_STO_SENT (0x5) /* MO record, already sent, status report not requested */ | |
107 #define SMS_RECORD_STAT_UNRCVD (0xd) /* MO record, already sent, status report requested, not received */ | |
108 #define SMS_RECORD_STAT_UNSTRD (0x15) /* MO record, already sent, status report received, not stored */ | |
109 #define SMS_RECORD_STAT_STRD (0x1d) /* MO record, already sent, status report received and stored */ | |
110 #define SMS_RECORD_INVALID (0xe0) /* The record keeps unrecognizable data */ | |
111 | |
112 /* | |
113 * Value constants for VAL_mt | |
114 */ | |
115 #define MT0 (0x0) /* Mobile Terminated Mode 0 */ | |
116 #define MT1 (0x1) /* Mobile Terminated Mode 1 */ | |
117 #define MT2 (0x2) /* Mobile Terminated Mode 2 */ | |
118 #define MT3 (0x3) /* Mobile Terminated Mode 3 */ | |
119 #define MT_DEF (0x4) /* Mobile Terminated Mode Default */ | |
120 | |
121 /* | |
122 * Value constants for VAL_ds | |
123 */ | |
124 #define DS0 (0x0) /* Status Report Mode 0: no status report to be returned */ | |
125 #define DS1 (0x1) /* Status Report Mode 1: status report returned to MMI */ | |
126 #define DS2 (0x2) /* Status Report Mode 2: status report stored, if possible */ | |
127 | |
128 /* | |
129 * Value constants for VAL_mhc | |
130 */ | |
131 #define SMS_MHC_DEF (0x0) /* default (Phase 2) */ | |
132 #define SMS_MHC_PH2 (0x2) /* Phase 2 */ | |
133 #define SMS_MHC_PH2PLUS (0x3) /* Phase 2+ */ | |
134 | |
135 /* | |
136 * Value constants for VAL_read_mode | |
137 */ | |
138 #define READ_NORMAL (0x0) /* Normal reading */ | |
139 #define READ_PREVIEW (0x1) /* Reading without preview */ | |
140 #define READ_STATUS_CHANGE (0x2) /* Change only status */ | |
141 | |
142 /* | |
143 * Value constants for VAL_resp | |
144 */ | |
145 #define SMS_RP_ACK (0x0) /* send RP-ACK to network */ | |
146 #define SMS_RP_ERROR (0x1) /* send RP-ERROR to network */ | |
147 | |
148 /* | |
149 * Value constants for VAL_mo_sms_serv | |
150 */ | |
151 #define GPRS_SMS_GPRS_ONLY (0x0) /* Use GPRS only for MO SMS */ | |
152 #define GPRS_SMS_CCT_ONLY (0x1) /* Use CCT only for MO SMS */ | |
153 #define GPRS_SMS_GPRS_PREF (0x2) /* Use GPRS in preference for MO SMS */ | |
154 #define GPRS_SMS_CCT_PREF (0x3) /* Use CCT in preference for MO SMS */ | |
155 | |
156 /* | |
157 * Value constants for VAL_query | |
158 */ | |
159 #define SMS_QUERY_DELIVER_STATUS (0x1) /* Query Request is for delivery status (pause or resume) */ | |
160 | |
161 /* | |
162 * Value constants for VAL_deliver_status | |
163 */ | |
164 #define SMS_DELIVER_STATUS_PAUSE (0x10) /* SMS delivery paused by user */ | |
165 #define SMS_DELIVER_STATUS_RESUME (0x11) /* SMS delivery to user allowed */ | |
166 | |
167 /* | |
168 * Value constants for VAL_cmms_mode | |
169 */ | |
170 #define CMMS_MODE_DEF (0x0) /* Default value of 0 for +CMMS mode. The mode switches to 0 when timer expires if the mode set was 1. */ | |
171 #define CMMS_MODE_ONE (0x1) /* Mode value of one for +CMMS mode. For this mode set, when the timer expires, mode is switched back to 0. */ | |
172 #define CMMS_MODE_TWO (0x2) /* Mode value of two for +CMMS mode. For this mode set, even after the timer expiry mode is not switched to 0 */ | |
173 | |
174 /* | |
175 * Value constants for VAL_delete_status | |
176 */ | |
177 #define CMGD_DEL_INDEX (0x0) /* Delete the messages specified by the index. */ | |
178 #define CMGD_DEL_READ (0x1) /* Ignore the index and delete all the read messages. */ | |
179 #define CMGD_DEL_READ_SENT (0x2) /* Ignore the index and delete all the read and sent messages. */ | |
180 #define CMGD_DEL_READ_SENT_UNSENT (0x3) /* Ignore the index and delete all the read, send and unsent messages. */ | |
181 #define CMGD_DEL_ALL (0x4) /* Ignore the index and delete all the messages whatever the status it is. */ | |
182 | |
183 /* | |
184 * user defined constants | |
185 */ | |
186 #define SMS_MSG_LEN (0x8c) | |
187 #define SMS_CMD_LEN (0x9d) | |
188 #define SIM_PDU_LEN (0xaf) | |
189 #define SMSCP_ORIGINATING_ENTITY (0x7) | |
190 #define SMSRP_ORIGINATING_ENTITY (0x8) | |
191 #define SMSTP_ORIGINATING_ENTITY (0x9) | |
192 | |
193 #include "CDG_LEAVE.h" | |
194 | |
195 | |
196 #endif |