annotate gsm-fw/cdg/cdginc-locosto/p_mnsms.val @ 1022:24440bc7cee8

gsm-fw/configs: gtamodem-gsmtch-{ext,int} configurations added
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Tue, 03 May 2016 13:43:31 +0000
parents 95c433d8c274
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
654
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 | FILE : p_mnsms.val |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 | SOURCE : "sap\mnsms.pdf" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 | LastModified : "2002-04-19" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 | IdAndVersion : "6147.103.96.107" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:48:28 2007" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 /* PRAGMAS
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 * PREFIX : NONE
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 * ENABLE_GROUP: NO
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #ifndef P_MNSMS_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 #define P_MNSMS_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 #define CDG_ENTER__P_MNSMS_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_MNSMS_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 #define CDG_ENTER__P_MNSMS_VAL__FILE_TYPE CDGINC
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 #define CDG_ENTER__P_MNSMS_VAL__LAST_MODIFIED _2002_04_19
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 #define CDG_ENTER__P_MNSMS_VAL__ID_AND_VERSION _6147_103_96_107
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 #define CDG_ENTER__P_MNSMS_VAL__SRC_FILE_TIME _Thu_Nov_29_09_48_28_2007
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 #include "CDG_ENTER.h"
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 #undef CDG_ENTER__P_MNSMS_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 #include "m_sms.val" /* Access values independent from the corresponding h-file. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 * Value constants for VAL_mem_type
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 #define MEM_ME (0x1) /* mobile equipment memory 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 #define MEM_SM (0x3) /* subscriber identity module memory */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 #define MEM_SR (0x5) /* status report memory */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 * Value constants for VAL_cause
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 #define SMS_NO_ERROR (0x89ff) /* No error */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 #define SMS_CAUSE_PARAM_WRONG (0xc900) /* Wrong parameter in primitive */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 #define SMS_CAUSE_ENTITY_BUSY (0xc901) /* Entity is busy */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 #define SMS_CAUSE_OPER_NOT_ALLW (0xc902) /* Operation not allowed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 #define SMS_CAUSE_OPER_NOT_SUPP (0xc903) /* Operation not supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 #define SMS_CAUSE_SIM_BUSY (0xc904) /* SIM busy */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 #define SMS_CAUSE_MEM_FAIL (0xc905) /* Memory failure */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 #define SMS_CAUSE_INV_INDEX (0xc906) /* Invalid memory index */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 #define SMS_CAUSE_MEM_FULL (0xc908) /* Memory full */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 #define SMS_CAUSE_NO_SERVICE (0xc909) /* No network service */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 #define SMS_CAUSE_NET_TIMEOUT (0xc90a) /* Network timeout */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 #define SMS_CAUSE_UNEXP_CNMA (0xc90b) /* No +CNMA acknowledgement expected */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 #define SMS_CAUSE_OTHER_ERROR (0xc90f) /* Any other error */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 #define SMS_CAUSE_MEM_AVAIL (0xc90c) /* Memory available after full */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 #define SMS_CAUSE_FAILED_MSG_NOT_FOUND (0xc90e) /* Failed Message not found during Transmission */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 * Value constants for VAL_state
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 #define SMS_STATE_READY (0x0) /* SMS is full operable */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 #define SMS_STATE_INITIALISING (0x1) /* SMS is in initialisation state */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 #define SMS_STATE_BUSY (0x2) /* SMS is in a busy condition */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 #define SMS_STATE_NOT_AVAILABLE (0xff) /* SMS is inoperable */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 * Value constants for VAL_condx
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 #define SMS_CONDX_OVR_NON (0x0) /* do not overwrite an existing message */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 #define SMS_CONDX_OVR_MO (0x1) /* overwrite only an exisiting mobile originated message */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 #define SMS_CONDX_OVR_ANY (0x2) /* overwrite any existing message */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 * Value constants for VAL_modify
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 #define SMS_MODIFY_NON (0x0) /* no modification */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 #define SMS_MODIFY_TPOA (0x1) /* substitution of TP-OA */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 #define SMS_MODIFY_SCA (0x2) /* substitution of SCA */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 #define SMS_MODIFY_TPOA_SCA (0x3) /* substitution of TP-OA and SCA */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 #define SMS_MODIFY_ALL (0x4) /* substitution of the complete message */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 * Value constants for VAL_rec_num
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 #define SMS_RECORD_NOT_EXIST (0x0) /* record is not existing */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 * Value constants for VAL_status
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 #define SMS_RECORD_FREE (0x0) /* Free record */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 #define SMS_RECORD_REC_UNREAD (0x3) /* MT record, not read */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 #define SMS_RECORD_REC_READ (0x1) /* MT record, already read */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 #define SMS_RECORD_STO_UNSENT (0x7) /* MO record, not sent */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 #define SMS_RECORD_STO_SENT (0x5) /* MO record, already sent, status report not requested */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 #define SMS_RECORD_STAT_UNRCVD (0xd) /* MO record, already sent, status report requested, not received */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 #define SMS_RECORD_STAT_UNSTRD (0x15) /* MO record, already sent, status report received, not stored */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 #define SMS_RECORD_STAT_STRD (0x1d) /* MO record, already sent, status report received and stored */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 #define SMS_RECORD_INVALID (0xe0) /* The record keeps unrecognizable data */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 * Value constants for VAL_mt
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 #define MT0 (0x0) /* Mobile Terminated Mode 0 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 #define MT1 (0x1) /* Mobile Terminated Mode 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 #define MT2 (0x2) /* Mobile Terminated Mode 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 #define MT3 (0x3) /* Mobile Terminated Mode 3 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 #define MT_DEF (0x4) /* Mobile Terminated Mode Default */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 * Value constants for VAL_ds
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 #define DS0 (0x0) /* Status Report Mode 0: no status report to be returned */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 #define DS1 (0x1) /* Status Report Mode 1: status report returned to MMI */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 #define DS2 (0x2) /* Status Report Mode 2: status report stored, if possible */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 * Value constants for VAL_mhc
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 #define SMS_MHC_DEF (0x0) /* default (Phase 2) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 #define SMS_MHC_PH2 (0x2) /* Phase 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 #define SMS_MHC_PH2PLUS (0x3) /* Phase 2+ */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 * Value constants for VAL_read_mode
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 #define READ_NORMAL (0x0) /* Normal reading */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 #define READ_PREVIEW (0x1) /* Reading without preview */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 #define READ_STATUS_CHANGE (0x2) /* Change only status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 * Value constants for VAL_resp
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 #define SMS_RP_ACK (0x0) /* send RP-ACK to network */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 #define SMS_RP_ERROR (0x1) /* send RP-ERROR to network */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 * Value constants for VAL_mo_sms_serv
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 #define GPRS_SMS_GPRS_ONLY (0x0) /* Use GPRS only for MO SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 #define GPRS_SMS_CCT_ONLY (0x1) /* Use CCT only for MO SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 #define GPRS_SMS_GPRS_PREF (0x2) /* Use GPRS in preference for MO SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 #define GPRS_SMS_CCT_PREF (0x3) /* Use CCT in preference for MO SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 * Value constants for VAL_query
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 #define SMS_QUERY_DELIVER_STATUS (0x1) /* Query Request is for delivery status (pause or resume) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 * Value constants for VAL_deliver_status
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 #define SMS_DELIVER_STATUS_PAUSE (0x10) /* SMS delivery paused by user */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 #define SMS_DELIVER_STATUS_RESUME (0x11) /* SMS delivery to user allowed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 * Value constants for VAL_cmms_mode
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 #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. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 #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. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 #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 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 * Value constants for VAL_delete_status
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 #define CMGD_DEL_INDEX (0x0) /* Delete the messages specified by the index. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 #define CMGD_DEL_READ (0x1) /* Ignore the index and delete all the read messages. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 #define CMGD_DEL_READ_SENT (0x2) /* Ignore the index and delete all the read and sent messages. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 #define CMGD_DEL_READ_SENT_UNSENT (0x3) /* Ignore the index and delete all the read, send and unsent messages. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 #define CMGD_DEL_ALL (0x4) /* Ignore the index and delete all the messages whatever the status it is. */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 // VALTAB-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 * Value constants for VAL_auto_rep_flag
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 #define AUTO_REP_FLAG_DISABLED (0x0) /* Do not attempt retransmission */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192 #define AUTO_REP_FLAG_ENABLED (0x1) /* Attempt retransmission */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 * user defined constants
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 #define SMS_MSG_LEN (0x8c)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 #define SMS_CMD_LEN (0x9d)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 #define SIM_PDU_LEN (0xaf)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 #define SMSCP_ORIGINATING_ENTITY (0x7)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 #define SMSRP_ORIGINATING_ENTITY (0x8)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 #define SMSTP_ORIGINATING_ENTITY (0x9)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 #include "CDG_LEAVE.h"
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 #endif