comparison cdg211/prim/mnsms.pdf @ 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 ;*** File : mnsms.pdf
3 ;*** Creation : Fri Jun 08 13:58:01 CST 2007
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
6 ;********************************************************************************
7 ;*** Document Type : Service Access Point Specification
8 ;*** Document Name : mnsms
9 ;*** Document No. : 6147.103.96.107
10 ;*** Document Date : 2002-04-19
11 ;*** Document Status: BEING_PROCESSED
12 ;*** Document Author: SBK
13 ;********************************************************************************
14
15
16
17 PRAGMA SRC_FILE_TIME "Fri Jan 20 15:37:02 2006"
18 PRAGMA LAST_MODIFIED "2002-04-19"
19 PRAGMA ID_AND_VERSION "6147.103.96.107"
20
21
22
23 CONST SMS_MSG_LEN 140 ; Length of message text counted as octets
24 CONST SMS_CMD_LEN 157 ; Length of command data (number of octets)
25 CONST SIM_PDU_LEN 175 ; Length of SMS data stored in nonvolatile memory (SIM/ME)
26 EXTERN CONST @p_gsmcom - SMSCP_ORIGINATING_ENTITY@ SMSCP_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is SMS-CP
27 EXTERN CONST @p_gsmcom - SMSRP_ORIGINATING_ENTITY@ SMSRP_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is SMS-RP
28 EXTERN CONST @p_gsmcom - SMSTP_ORIGINATING_ENTITY@ SMSTP_ORIGINATING_ENTITY ; mask for indicating the originating entity of a cause is SMS-CP
29
30
31
32 VALTAB VAL_mem_type
33 VAL 1 MEM_ME "mobile equipment memory 1"
34 VAL 3 MEM_SM "subscriber identity module memory"
35 VAL 5 MEM_SR "status report memory"
36
37 VALTAB VAL_cause
38 VAL 0b1000100111111111 SMS_NO_ERROR "No error"
39 VAL 0b1100100100000000 SMS_CAUSE_PARAM_WRONG "Wrong parameter in primitive"
40 VAL 0b1100100100000001 SMS_CAUSE_ENTITY_BUSY "Entity is busy"
41 VAL 0b1100100100000010 SMS_CAUSE_OPER_NOT_ALLW "Operation not allowed"
42 VAL 0b1100100100000011 SMS_CAUSE_OPER_NOT_SUPP "Operation not supported"
43 VAL 0b1100100100000100 SMS_CAUSE_SIM_BUSY "SIM busy"
44 VAL 0b1100100100000101 SMS_CAUSE_MEM_FAIL "Memory failure"
45 VAL 0b1100100100000110 SMS_CAUSE_INV_INDEX "Invalid memory index"
46 VAL 0b1100100100001000 SMS_CAUSE_MEM_FULL "Memory full"
47 VAL 0b1100100100001001 SMS_CAUSE_NO_SERVICE "No network service"
48 VAL 0b1100100100001010 SMS_CAUSE_NET_TIMEOUT "Network timeout"
49 VAL 0b1100100100001011 SMS_CAUSE_UNEXP_CNMA "No +CNMA acknowledgement expected"
50 VAL 0b1100100100001111 SMS_CAUSE_OTHER_ERROR "Any other error"
51 VAL 0b1100100100001100 SMS_CAUSE_MEM_AVAIL "Memory available after full"
52
53 VALTAB VAL_state
54 VAL 0x3 - 0xFE "reserved, to be treated as SMS inoperable"
55 VAL 0 SMS_STATE_READY "SMS is full operable"
56 VAL 1 SMS_STATE_INITIALISING "SMS is in initialisation state"
57 VAL 2 SMS_STATE_BUSY "SMS is in a busy condition"
58 VAL 0xFF SMS_STATE_NOT_AVAILABLE "SMS is inoperable"
59
60 VALTAB VAL_condx
61 VAL 3 - 255 "reserved, interpret as 'overwrite any'"
62 VAL 0 SMS_CONDX_OVR_NON "do not overwrite an existing message"
63 VAL 1 SMS_CONDX_OVR_MO "overwrite only an exisiting mobile originated message"
64 VAL 2 SMS_CONDX_OVR_ANY "overwrite any existing message"
65
66 VALTAB VAL_modify
67 VAL 5 - 255 "reserved, interpret as 'complete substitution'"
68 VAL 0 SMS_MODIFY_NON "no modification"
69 VAL 1 SMS_MODIFY_TPOA "substitution of TP-OA"
70 VAL 2 SMS_MODIFY_SCA "substitution of SCA"
71 VAL 3 SMS_MODIFY_TPOA_SCA "substitution of TP-OA and SCA"
72 VAL 4 SMS_MODIFY_ALL "substitution of the complete message"
73
74 VALTAB VAL_rec_num
75 VAL 0x0 SMS_RECORD_NOT_EXIST "record is not existing"
76
77 VALTAB VAL_status
78 VAL 0x0 SMS_RECORD_FREE "Free record"
79 VAL 0x3 SMS_RECORD_REC_UNREAD "MT record, not read"
80 VAL 0x1 SMS_RECORD_REC_READ "MT record, already read"
81 VAL 0x7 SMS_RECORD_STO_UNSENT "MO record, not sent"
82 VAL 0x5 SMS_RECORD_STO_SENT "MO record, already sent, status report not requested"
83 VAL 0x0D SMS_RECORD_STAT_UNRCVD "MO record, already sent, status report requested, not received"
84 VAL 0x15 SMS_RECORD_STAT_UNSTRD "MO record, already sent, status report received, not stored"
85 VAL 0x1D SMS_RECORD_STAT_STRD "MO record, already sent, status report received and stored"
86 VAL 0xE0 SMS_RECORD_INVALID "The record keeps unrecognizable data"
87
88 VALTAB VAL_mt
89 VAL 0 MT0 "Mobile Terminated Mode 0"
90 VAL 1 MT1 "Mobile Terminated Mode 1"
91 VAL 2 MT2 "Mobile Terminated Mode 2"
92 VAL 3 MT3 "Mobile Terminated Mode 3"
93 VAL 4 MT_DEF "Mobile Terminated Mode Default"
94
95 VALTAB VAL_ds
96 VAL 0 DS0 "Status Report Mode 0: no status report to be returned"
97 VAL 1 DS1 "Status Report Mode 1: status report returned to MMI"
98 VAL 2 DS2 "Status Report Mode 2: status report stored, if possible"
99
100 VALTAB VAL_mhc
101 VAL 0 SMS_MHC_DEF "default (Phase 2)"
102 VAL 2 SMS_MHC_PH2 "Phase 2"
103 VAL 3 SMS_MHC_PH2PLUS "Phase 2+"
104
105 VALTAB VAL_read_mode
106 VAL 0 READ_NORMAL "Normal reading"
107 VAL 1 READ_PREVIEW "Reading without preview"
108 VAL 2 READ_STATUS_CHANGE "Change only status"
109
110 VALTAB VAL_resp
111 VAL 0 SMS_RP_ACK "send RP-ACK to network"
112 VAL 1 SMS_RP_ERROR "send RP-ERROR to network"
113
114 VALTAB VAL_mo_sms_serv
115 VAL 0 GPRS_SMS_GPRS_ONLY "Use GPRS only for MO SMS"
116 VAL 1 GPRS_SMS_CCT_ONLY "Use CCT only for MO SMS"
117 VAL 2 GPRS_SMS_GPRS_PREF "Use GPRS in preference for MO SMS"
118 VAL 3 GPRS_SMS_CCT_PREF "Use CCT in preference for MO SMS"
119
120 VALTAB VAL_query
121 VAL 1 SMS_QUERY_DELIVER_STATUS "Query Request is for delivery status (pause or resume)"
122
123 VALTAB VAL_deliver_status
124 VAL 0x10 SMS_DELIVER_STATUS_PAUSE "SMS delivery paused by user"
125 VAL 0x11 SMS_DELIVER_STATUS_RESUME "SMS delivery to user allowed"
126
127 VALTAB VAL_cmms_mode
128 VAL 0 CMMS_MODE_DEF "Default value of 0 for +CMMS mode. The mode switches to 0 when timer expires if the mode set was 1. "
129 VAL 1 CMMS_MODE_ONE "Mode value of one for +CMMS mode. For this mode set, when the timer expires, mode is switched back to 0."
130 VAL 2 CMMS_MODE_TWO "Mode value of two for +CMMS mode. For this mode set, even after the timer expiry mode is not switched to 0"
131
132 VALTAB VAL_delete_status
133 VAL 0 CMGD_DEL_INDEX "Delete the messages specified by the index."
134 VAL 1 CMGD_DEL_READ "Ignore the index and delete all the read messages."
135 VAL 2 CMGD_DEL_READ_SENT "Ignore the index and delete all the read and sent messages."
136 VAL 3 CMGD_DEL_READ_SENT_UNSENT "Ignore the index and delete all the read, send and unsent messages."
137 VAL 4 CMGD_DEL_ALL "Ignore the index and delete all the messages whatever the status it is."
138
139
140
141
142 VAR mem_type "memory type" B
143
144 VAL @p_mnsms - VAL_mem_type@
145
146 VAR pref_mem_3 "memory type" B
147
148
149 VAR cause "error code" S
150
151 VAL @p_mnsms - VAL_cause@
152
153 VAR state "State of the SMS Entity" B
154
155 VAL @p_mnsms - VAL_state@
156
157 VAR condx "write condition" B
158
159 VAL @p_mnsms - VAL_condx@
160
161 VAR tp_mr "TP message reference" B
162
163
164 VAR modify "Modifier" B
165
166 VAL @p_mnsms - VAL_modify@
167
168 VAR rec_num "record number" B
169
170 VAL @p_mnsms - VAL_rec_num@
171
172 VAR rec_next "number of a following record with a valid message, if existent" B
173
174 VAL @p_mnsms - VAL_rec_num@
175
176 VAR rec_max "maximum number of records (1..255) in EF(SMS) or other memory" B
177
178 VAL @p_mnsms - VAL_rec_num@
179
180 VAR rec_status "number of a record in EF(SMSR) related to the given stored message" B
181
182 VAL @p_mnsms - VAL_rec_num@
183
184 VAR status "message status" B
185
186 VAL @p_mnsms - VAL_status@
187
188 VAR mt "mobile terminated message handling" B
189
190 VAL @p_mnsms - VAL_mt@
191
192 VAR ds "status report message handling" B
193
194 VAL @p_mnsms - VAL_ds@
195
196 VAR mhc "status report message handling" B
197
198 VAL @p_mnsms - VAL_mhc@
199
200 VAR read_mode "Read Mode" B
201
202 VAL @p_mnsms - VAL_read_mode@
203
204 VAR resp "type of response" B
205
206 VAL @p_mnsms - VAL_resp@
207
208 VAR mo_sms_serv "MO SMS Service" B
209
210 VAL @p_mnsms - VAL_mo_sms_serv@
211
212 VAR l_buf "command length" S
213
214
215 VAR o_buf "command offset" S
216
217
218 VAR buf "command data" B
219
220
221 VAR query_type "specifies to which status the query request refers to" B
222
223 VAL @p_mnsms - VAL_query@
224
225 VAR deliver_status "sms delivery status - pause or resume" B
226
227 VAL @p_mnsms - VAL_deliver_status@
228
229 VAR cmms_mode "Specifies the mode for +CMMS" B
230
231 VAL @p_mnsms - VAL_cmms_mode@
232
233 VAR tmms_val "Timer value for +CMMS command" S
234
235
236 VAR delete_status "Delete flag" B
237
238 VAL @p_mnsms - VAL_delete_status@
239
240 VAR delete_rec_next "Next Record to be deleted." B
241
242
243 VAR ota_status "Indicates the pesonalization status" B
244
245
246 VAR imei "IMEI of the mobile to be extracted from TP user data" B
247
248
249
250
251
252 COMP sms_sdu "SIM-PDU"
253 {
254 l_buf ; command length
255 o_buf ; command offset
256 buf [SIM_PDU_LEN] ; command data
257 }
258
259
260
261
262
263
264 ; MNSMS_MESSAGE_IND 0x8008400D
265 ; MNSMS_REPORT_IND 0x8006400D
266 ; MNSMS_STATUS_IND 0x8007400D
267 ; MNSMS_DELETE_REQ 0x8000000D
268 ; MNSMS_DELETE_CNF 0x8000400D
269 ; MNSMS_READ_REQ 0x8001000D
270 ; MNSMS_READ_CNF 0x8001400D
271 ; MNSMS_STORE_REQ 0x8002000D
272 ; MNSMS_STORE_CNF 0x8002400D
273 ; MNSMS_SUBMIT_REQ 0x8003000D
274 ; MNSMS_SUBMIT_CNF 0x8003400D
275 ; MNSMS_COMMAND_REQ 0x8004000D
276 ; MNSMS_COMMAND_CNF 0x8004400D
277 ; MNSMS_ACK_RES 0x8008000D
278 ; MNSMS_CONFIGURE_REQ 0x8005000D
279 ; MNSMS_ERROR_IND 0x8009400D
280 ; MNSMS_MO_SERV_REQ 0x800C000D
281 ; MNSMS_MO_SERV_CNF 0x800C400D
282 ; MNSMS_PAUSE_REQ 0x8006000D
283 ; MNSMS_RESUME_REQ 0x8007000D
284 ; MNSMS_RESUME_CNF 0x800A400D
285 ; MNSMS_QUERY_REQ 0x800B000D
286 ; MNSMS_QUERY_CNF 0x800B400D
287 ; MNSMS_OTA_DECODE_IND 0x800D400D
288 ; MNSMS_OTA_DECODE_RES 0x800D000D
289
290
291
292 PRIM MNSMS_MESSAGE_IND 0x8008400D
293 {
294 mem_type ; memory type
295 rec_num ; record number
296 rec_max ; maximum number of records
297 status ; sms status
298 sms_sdu ; SIM-PDU
299 }
300
301
302
303
304
305
306 PRIM MNSMS_REPORT_IND 0x8006400D
307 {
308 state ; SMS state
309 < () cmms_mode > ; Mode value for +CMMS command
310 }
311
312
313
314
315
316
317 PRIM MNSMS_STATUS_IND 0x8007400D
318 {
319 sms_sdu ; SIM-PDU
320 }
321
322
323
324
325
326
327 PRIM MNSMS_DELETE_REQ 0x8000000D
328 {
329 mem_type ; memory type
330 rec_num ; record number
331 delete_status ; Delete flag
332 }
333
334
335
336
337
338
339 PRIM MNSMS_DELETE_CNF 0x8000400D
340 {
341 mem_type ; memory type
342 rec_num ; record number
343 cause ; Error code
344 delete_rec_next ; Next Record
345 }
346
347
348
349
350
351
352 PRIM MNSMS_READ_REQ 0x8001000D
353 {
354 mem_type ; memory type
355 rec_num ; record number
356 read_mode ; read mode
357 status ; message status
358 }
359
360
361
362
363
364
365 PRIM MNSMS_READ_CNF 0x8001400D
366 {
367 mem_type ; memory type
368 rec_num ; record number
369 rec_next ; number of next record
370 rec_max ; maximum number of records
371 cause ; Error code
372 rec_status ; status record
373 status ; message status
374 sms_sdu ; SIM-PDU
375 }
376
377
378
379
380
381
382 PRIM MNSMS_STORE_REQ 0x8002000D
383 {
384 mem_type ; memory type
385 rec_num ; record number
386 condx ; write condition
387 status ; message status
388 sms_sdu ; SIM-PDU
389 }
390
391
392
393
394
395
396 PRIM MNSMS_STORE_CNF 0x8002400D
397 {
398 mem_type ; memory type
399 rec_num ; record number
400 cause ; Error code
401 }
402
403
404
405
406
407
408 PRIM MNSMS_SUBMIT_REQ 0x8003000D
409 {
410 mem_type ; memory type
411 rec_num ; record number
412 condx ; write condition
413 modify ; Modifier
414 sms_sdu ; SIM-PDU
415 }
416
417
418
419
420
421
422 PRIM MNSMS_SUBMIT_CNF 0x8003400D
423 {
424 mem_type ; memory type
425 rec_num ; record number
426 cause ; Error code
427 tp_mr ; TP Message Reference
428 sms_sdu ; SIM-PDU
429 }
430
431
432
433
434
435
436 PRIM MNSMS_COMMAND_REQ 0x8004000D
437 {
438 sms_sdu ; SIM-PDU
439 }
440
441
442
443
444
445
446 PRIM MNSMS_COMMAND_CNF 0x8004400D
447 {
448 cause ; Error code
449 tp_mr ; TP Message Reference
450 sms_sdu ; SIM-PDU
451 }
452
453
454
455
456
457
458 PRIM MNSMS_ACK_RES 0x8008000D
459 {
460 resp ; type of response
461 sms_sdu ; SIM-PDU
462 }
463
464
465
466
467
468
469 PRIM MNSMS_CONFIGURE_REQ 0x8005000D
470 {
471 pref_mem_3 ; preferred memory 3
472 mt ; mobile terminated message handling
473 ds ; status report handling
474 mhc ; message handling compatibility
475 < () cmms_mode > ; mode value of +CMMS command
476 < () tmms_val > ; timer Value for +CMMS comamnd
477 }
478
479
480
481
482
483
484 PRIM MNSMS_ERROR_IND 0x8009400D
485 {
486 cause ; Error code
487 }
488
489
490
491
492
493
494 PRIM MNSMS_MO_SERV_REQ 0x800C000D
495 {
496 mo_sms_serv ; MO SMS Service
497 }
498
499
500
501
502
503
504 PRIM MNSMS_MO_SERV_CNF 0x800C400D
505 {
506 mo_sms_serv ; MO SMS Service
507 }
508
509
510
511
512
513
514 PRIM MNSMS_PAUSE_REQ 0x8006000D
515 {
516 }
517
518
519
520
521
522
523 PRIM MNSMS_RESUME_REQ 0x8007000D
524 {
525 }
526
527
528
529
530
531
532 PRIM MNSMS_RESUME_CNF 0x800A400D
533 {
534 cause ; Error Code
535 }
536
537
538
539
540
541
542 PRIM MNSMS_QUERY_REQ 0x800B000D
543 {
544 query_type ; Primitive Item
545 }
546
547
548
549
550
551
552 PRIM MNSMS_QUERY_CNF 0x800B400D
553 {
554 query_type ; Primitive Item
555 < () deliver_status > ; Primitive Item
556 }
557
558
559
560
561
562
563 PRIM MNSMS_OTA_DECODE_IND 0x800D400D
564 {
565 EXTERN @m_sms - tp_ud@ tp_ud ; Primitive Item
566 }
567
568
569
570
571
572
573 PRIM MNSMS_OTA_DECODE_RES 0x800D000D
574 {
575 ota_status ; Primitive Item
576 imei [16] ; Primitive Item
577 }
578
579
580
581
582
583
584
585
586