annotate gsm-fw/cdg/cdginc-locosto/p_sim.val @ 1000:36e3f6bf0156

top README: just describe what each subtree is for, and refer to other docs
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 06 Mar 2016 21:38:21 +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_sim.val |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 | SOURCE : "sap\sim.pdf" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 | LastModified : "2003-01-24" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 | IdAndVersion : "6147.108.99.113" |
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 | SrcFileTime : "Fri Jul 4 11:26:04 2008" |
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_SIM_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 #define P_SIM_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_SIM_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_SIM_VAL
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 #define CDG_ENTER__P_SIM_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_SIM_VAL__LAST_MODIFIED _2003_01_24
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 #define CDG_ENTER__P_SIM_VAL__ID_AND_VERSION _6147_108_99_113
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_SIM_VAL__SRC_FILE_TIME _Fri_Jul_4_11_26_04_2008
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_SIM_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
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 * Value constants for VAL_datafield
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 #define SIM_MF (0x3f00) /* main file directory (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 #define SIM_ICCID (0x2fe2) /* ICC identification (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 #define SIM_ELP (0x2f05) /* extended language preference */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 #define SIM_ADN (0x6f3a) /* abbreviated dialling numbers */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 #define SIM_FDN (0x6f3b) /* fixed dialling numbers */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 #define SIM_SMS (0x6f3c) /* short messages */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 #define SIM_CCP (0x6f3d) /* capability configuration parameters */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 #define SIM_MSISDN (0x6f40) /* MSISDN */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 #define SIM_SMSP (0x6f42) /* short message service parameters */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 #define SIM_SMSS (0x6f43) /* short message status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 #define SIM_LND (0x6f44) /* last number dialled */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 #define SIM_SMSR (0x6f47) /* short message status reports */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 #define SIM_SDN (0x6f49) /* service dialling numbers */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 #define SIM_EXT1 (0x6f4a) /* extension 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 #define SIM_EXT2 (0x6f4b) /* extension 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 #define SIM_EXT3 (0x6f4c) /* extension 3 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 #define SIM_BDN (0x6f4d) /* barred dialling numbers */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 #define SIM_EXT4 (0x6f4e) /* extension 4 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 #define SIM_ORANGE_DYN2_FLAG (0x6f92) /* Orange Proprietary */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 #define SIM_ORANGE_CSP2 (0x6f98) /* Orange Proprietary */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 #define SIM_ORANGE_ACM2 (0x6f9c) /* Orange Proprietary */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 #define SIM_ORANGE_DYN_FLAGS (0x6f9f) /* Orange Proprietary */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 #define SIM_DF_ORANGE (0x7f40) /* Orange Proprietary */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 #define SIM_IMG (0x4f20) /* icon images */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 #define SIM_LP (0x6f05) /* language preference (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 #define SIM_VI_HZ_PARAM (0x6f60) /* Viag home zone parameters */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 #define SIM_VI_HZ_CACHE_1 (0x6f61) /* Viag home zone Cache 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 #define SIM_VI_HZ_CACHE_2 (0x6f62) /* Viag home zone Cache 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 #define SIM_VI_HZ_CACHE_3 (0x6f63) /* Viag home zone Cache 3 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 #define SIM_VI_HZ_CACHE_4 (0x6f64) /* Viag home zone Cache 4 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 #define SIM_IMSI (0x6f07) /* international mobile subscriber identity (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 #define SIM_KC (0x6f20) /* ciphering key Kc (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 #define SIM_DCK (0x6f2c) /* De-personalization Control Keys */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 #define SIM_PLMNSEL (0x6f30) /* preferred PLMN selector */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 #define SIM_HPLMN (0x6f31) /* HPLMN search period (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 #define SIM_CNL (0x6f32) /* Co-operative Network List */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 #define SIM_ACMMAX (0x6f37) /* ACM maximum value */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 #define SIM_SST (0x6f38) /* SIM service table (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 #define SIM_ACM (0x6f39) /* accumulated call meter */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 #define SIM_GID1 (0x6f3e) /* group identifier level 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 #define SIM_GID2 (0x6f3f) /* group identifier level 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 #define SIM_PUCT (0x6f41) /* price per unit and currency */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 #define SIM_CBMI (0x6f45) /* cell broadcast message identifier selection */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 #define SIM_SPN (0x6f46) /* service provider name */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 #define SIM_CBMID (0x6f48) /* cell broadcast message identifier for data download */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 #define SIM_ECCP (0x6f4f) /* Extended capability configuration parameters */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 #define SIM_CMI (0x6f58) /* Comparison Method Information */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 #define SIM_BCCH (0x6f74) /* broadcast control channels (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 #define SIM_ACC (0x6f78) /* access control classes (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 #define SIM_FPLMN (0x6f7b) /* forbidden PLMNs (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 #define SIM_LOCI (0x6f7e) /* location information (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 #define SIM_AD (0x6fad) /* administrative data (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 #define SIM_PHASE (0x6fae) /* phase identification (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 #define SIM_VGCS (0x6fb1) /* voice group call service */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 #define SIM_VGCSS (0x6fb2) /* voice group call service status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 #define SIM_VBS (0x6fb3) /* voice broadcast service */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 #define SIM_VBSS (0x6fb4) /* voice broadcast service status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 #define SIM_EMLPP (0x6fb5) /* enhanced multi level pre-emption and priority */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 #define SIM_AAEM (0x6fb6) /* automatic answer for eMLPP service */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 #define SIM_ECC (0x6fb7) /* emergency call codes */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 #define SIM_CBMIR (0x6f50) /* cell broadcast message identifier range selection */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 #define SIM_NIA (0x6f51) /* network's indication of alerting */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 #define SIM_KCGPRS (0x6f52) /* ciphering key (GPRS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 #define SIM_LOCGPRS (0x6f53) /* location information (GPRS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 #define SIM_SUME (0x6f54) /* setup menu elements */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 #define SIM_PNN (0x6fc5) /* PLMN network name (3GPP release 4) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 #define SIM_OPL (0x6fc6) /* operator PLMN list (3GPP release 4) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113 #define SIM_CPHS_VMW (0x6f11) /* voice message waiting (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 #define SIM_CPHS_SST (0x6f12) /* service string table (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 #define SIM_CPHS_CFF (0x6f13) /* call forwarding flags (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 #define SIM_CPHS_ONSTR (0x6f14) /* operator string name (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 #define SIM_CPHS_CSP (0x6f15) /* customer service profile (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 #define SIM_CPHS_CINF (0x6f16) /* CPHS information (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 #define SIM_CPHS_MBXN (0x6f17) /* mailbox numbers (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 #define SIM_CPHS_ONSHF (0x6f18) /* operator name shortform (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 #define SIM_CPHS_INFN (0x6f19) /* information numbers (CPHS) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 #define SIM_SAI (0x4f30) /* SoLSA access indicator */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 #define SIM_SLL (0x4f31) /* SoLSA LSA list */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 #define SIM_CPHS_INFN2 (0xea01) /* information numbers (CPHS) 2 (old SIMs) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 #define SIM_DF_CING (0x7f66) /* 1st level Directory(CINGULAR specific) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 #define SIM_DF2_CING (0x5f30) /* 2nd level Directory(CINGULAR specific) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 #define SIM_CING_AHPLMN (0x4f34) /* Acting Home PLMN(CINGULAR specific) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 #define SIM_CING_TRMST (0x6fd2) /* terminal support table */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 #define SIM_MEXE_ST (0x4f40) /* MExE Service table */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 #define SIM_ORPK (0x4f41) /* Operator Root Public Key */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 #define SIM_ARPK (0x4f42) /* Administrator Root Public Key */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 #define SIM_TPRPK (0x4f43) /* Third Party Root Public key */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 #define SIM_UCPS_ACTEC (0x6f60) /* User controlled PLMN Selector with Access Technology */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 #define SIM_OCPS_ACTEC (0x6f61) /* Operator controlled PLMN Selector with Access Technology */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 #define SIM_HPLMN_ACT (0x6f62) /* HPLMN Selector with Access Technology */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 #define SIM_CPBCCH (0x6f63) /* CPBCCH Information */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 #define SIM_INV_SCAN (0x6f64) /* Investigation Scan */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 #define SIM_RPLMN_ACT (0x6f65) /* RPLMN Last used Access Technology */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 #define SIM_CFIS (0x6fcb) /* Call Forwarding Indication Status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 #define SIM_MBDN (0x6fc7) /* Mailbox Dialling Numbers */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 #define SIM_MWIS (0x6fca) /* Message Waiting Indication Status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 #define SIM_MBI (0x6fc9) /* Mailbox Identifier */
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_cause
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 SIM_NO_ERROR (0x80ff) /* No error (Status Code 9000, 91XX, 9FXX, 920X; USIM 63CX) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 #define SIM_CAUSE_NO_SELECT (0x1) /* No EF selected (SC 9400; USIM 6986) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 #define SIM_CAUSE_UNKN_FILE_ID (0x2) /* file id not found (SC 9404; USIM 6A82) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 #define SIM_CAUSE_EF_INVALID (0x3) /* EF invalidated (SC 9810; USIM 6283, 6984) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 #define SIM_CAUSE_ADDR_WRONG (0x4) /* Address of data invalid (SC 9402; USIM 6A83) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 #define SIM_CAUSE_CMD_INCONSIST (0x5) /* Command inconsistent with file type (SC 9408; USIM 6981) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 #define SIM_CAUSE_MAX_INCREASE (0x6) /* Increase: maximum reached (SC 9850) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 // VAL-FF: REL99
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 #define SIM_CAUSE_MEM_PROBLEM (0x7) /* Sim memory problem when updating EF LOCI with data containing the TMSI value */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 #define SIM_CAUSE_CLA_WRONG (0x8) /* Wrong class parameter (SC 6EXX) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 #define SIM_CAUSE_INS_WRONG (0x9) /* Unknown instruction code (SC 6DXX; USIM 6A81) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 #define SIM_CAUSE_P1P2_WRONG (0xa) /* Incorrect parameter P1, P2 (SC 6BXX; USIM 6A86. 6A88) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 #define SIM_CAUSE_P3_WRONG (0xb) /* Incorrect parameter P3 (SC 67XX; USIM 6282, 6A87) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 #define SIM_CAUSE_CHV_NOTSET (0xc) /* No CHV active (SC 9802; USIM 6982) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 #define SIM_CAUSE_CHV_VALIDATED (0xd) /* CHV already validated (SC 9808; USIM 6982) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 #define SIM_CAUSE_ACCESS_PROHIBIT (0xe) /* Access conditions not fulfilled (SC 9804; USIM 6985) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 #define SIM_CAUSE_OTHER_ERROR (0xf) /* Any other SIM error */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 #define SIM_CAUSE_PUK1_BLOCKED (0x10) /* PUK1 blocked (SC 9840; USIM 63C0) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 #define SIM_CAUSE_PUK1_REMAIN1 (0x11) /* Wrong PUK1, 1 attempt left (SC 9804; USIM 63C1) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 #define SIM_CAUSE_PUK1_REMAIN2 (0x12) /* Wrong PUK1, 2 attempts left (USIM 63C2) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 #define SIM_CAUSE_PUK1_REMAIN3 (0x13) /* Wrong PUK1, 3 attempts left (USIM 63C3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 #define SIM_CAUSE_PUK1_REMAIN4 (0x14) /* Wrong PUK1, 4 attempts left (USIM 63C4) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 #define SIM_CAUSE_PUK1_REMAIN5 (0x15) /* Wrong PUK1, 5 attempts left (USIM 63C5) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 #define SIM_CAUSE_PUK1_REMAIN6 (0x16) /* Wrong PUK1, 6 attempts left (USIM 63C6) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 #define SIM_CAUSE_PUK1_REMAIN7 (0x17) /* Wrong PUK1, 7 attempts left (USIM 63C7) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 #define SIM_CAUSE_PUK1_REMAIN8 (0x18) /* Wrong PUK1, 8 attempts left (USIM 63C8) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 #define SIM_CAUSE_PUK1_REMAIN9 (0x19) /* Wrong PUK1, 9 attempts left (USIM 63C9) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 #define SIM_CAUSE_PUK1_EXPECT (0x1a) /* PUK1 required (SC 9804, 9808; USIM 6982, 6985) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 #define SIM_CAUSE_PIN1_BLOCKED (0x1c) /* PIN1 blocked (SC 9840; USIM 63C0, 6983) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 #define SIM_CAUSE_PIN1_REMAIN1 (0x1d) /* Wrong PIN1, 1 attempt left (USIM 63C1) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 #define SIM_CAUSE_PIN1_REMAIN2 (0x1e) /* Wrong PIN1, 2 attempts left (USIM 63C2) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184 #define SIM_CAUSE_PIN1_EXPECT (0x1f) /* PIN1 required (SC 9804, 9808; USIM 6982, 6985) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 #define SIM_CAUSE_PUK2_BLOCKED (0x20) /* PUK2 blocked (SC 9840; USIM 63C0) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 #define SIM_CAUSE_PUK2_REMAIN1 (0x21) /* Wrong PUK2, 1 attempt left (USIM 63C1) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 #define SIM_CAUSE_PUK2_REMAIN2 (0x22) /* Wrong PUK2, 2 attempts left (USIM 63C2) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 #define SIM_CAUSE_PUK2_REMAIN3 (0x23) /* Wrong PUK2, 3 attempts left (USIM 63C3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 #define SIM_CAUSE_PUK2_REMAIN4 (0x24) /* Wrong PUK2, 4 attempts left (USIM 63C4) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 #define SIM_CAUSE_PUK2_REMAIN5 (0x25) /* Wrong PUK2, 5 attempts left (USIM 63C5) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 #define SIM_CAUSE_PUK2_REMAIN6 (0x26) /* Wrong PUK2, 6 attempts left (USIM 63C6) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192 #define SIM_CAUSE_PUK2_REMAIN7 (0x27) /* Wrong PUK2, 7 attempts left (USIM 63C7) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193 #define SIM_CAUSE_PUK2_REMAIN8 (0x28) /* Wrong PUK2, 8 attempts left (USIM 63C8) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 #define SIM_CAUSE_PUK2_REMAIN9 (0x29) /* Wrong PUK2, 9 attempts left (USIM 63C9) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 #define SIM_CAUSE_PUK2_EXPECT (0x2a) /* PUK2 required (SC 9804, 9808; USIM 6982, 6985) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 #define SIM_CAUSE_PIN2_BLOCKED (0x2c) /* PIN2 blocked (SC 9840; USIM 63C0, 6983) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 #define SIM_CAUSE_PIN2_REMAIN1 (0x2d) /* Wrong PIN2, 1 attempt left (USIM 63C1) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 #define SIM_CAUSE_PIN2_REMAIN2 (0x2e) /* Wrong PIN2, 2 attempts left (USIM 63C2) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 #define SIM_CAUSE_PIN2_EXPECT (0x2f) /* PIN1 required (SC 9804, 9808; USIM 6982, 6985) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 #define SIM_CAUSE_SAT_BUSY (0x31) /* SIM Application Toolkit busy (SC 9300) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 #define SIM_CAUSE_DNL_ERROR (0x32) /* SAT download error (SC 9EXX; USIM 62XX, 63XX) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 #define SIM_NO_ERR_FILE_ALREADY_SELECTED (0xf0) /* No error File Already selected (Internal success indication) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 #define SIM_CAUSE_CARD_REMOVED (0x8000) /* SIM card removed or exchanged */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 #define SIM_CAUSE_PARAM_WRONG (0xc000) /* Wrong parameter in primitive */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 #define SIM_CAUSE_DRV_NOCARD (0xc001) /* SIM driver error: no card detected */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 #define SIM_CAUSE_DRV_NOINT (0xc002) /* SIM driver error: no interrupt */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 #define SIM_CAUSE_DRV_NOATR (0xc003) /* SIM driver error: no answer to reset */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208 #define SIM_CAUSE_DRV_READ (0xc004) /* SIM driver error: invalid response */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209 #define SIM_CAUSE_DRV_XMIT (0xc005) /* SIM driver error: unsuccessful transmission */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210 #define SIM_CAUSE_DRV_OVF (0xc006) /* SIM driver error: interrupt overflow */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211 #define SIM_CAUSE_DRV_LEN (0xc007) /* SIM driver error: incorrect size of response */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 #define SIM_CAUSE_DRV_CARDREJ (0xc008) /* SIM driver error: card rejected (invalid properties) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 #define SIM_CAUSE_DRV_WAIT (0xc009) /* SIM driver error: timeout */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214 #define SIM_CAUSE_DRV_ABNCASE1 (0xc00a) /* SIM driver error: abnormal case 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215 #define SIM_CAUSE_DRV_ABNCASE2 (0xc00b) /* SIM driver error: abnormal case 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 #define SIM_CAUSE_DRV_RCVOVFL (0xc00c) /* SIM driver error: more than 256 bytes received */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 #define SIM_CAUSE_DRV_HWFAIL (0xc00d) /* SIM driver error: hardware failure */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 #define SIM_CAUSE_DRV_TEMPFAIL (0xc00e) /* SIM driver error: temprary failure, SIM reset required */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219 #define SIM_CAUSE_SIM_REINSERTED (0xc00f) /* SIM card reinserted */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 * Value constants for VAL_op_mode
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 #define OP_NORMAL_SIM (0x0) /* normal SIM card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 #define OP_TEST_SIM (0x1) /* test SIM card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228 * Value constants for VAL_pin_cnt
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230 #define CARD_BLOCKED (0x0) /* SIM card is blocked */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 * Value constants for VAL_phase
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235 #define PHASE_2_AS_1_SIM (0x0) /* phase 2 card configured as phase 1 card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236 #define PHASE_1_SIM (0x1) /* phase 1 card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 #define PHASE_2_SIM (0x2) /* phase 2 card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 #define PHASE_2PLUS_SIM (0x3) /* phase 2+ card, TP download required */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 * Value constants for VAL_hplmn
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 #define HPLMN_DEF (0xa) /* default time period for home PLMN search */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 * Value constants for VAL_pin_id
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 #define PHASE_2_PIN_1 (0x1) /* phase 2 card, PIN 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249 #define PHASE_2_PIN_2 (0x2) /* phase 2 card, PIN 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 #define PHASE_2_PUK_1 (0x3) /* phase 2 card, PUK 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 #define PHASE_2_PUK_2 (0x4) /* phase 2 card, PUK 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 * Value constants for VAL_source
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 #define SRC_MMI (0x0) /* from man machine interface */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257 #define SRC_MM (0x1) /* from mobility management */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258 #define SRC_SMS (0x2) /* from short message service */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259 #define SRC_GMM (0x3) /* from GPRS mobile management */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260 #define SRC_RR (0x4) /* from radio resource management */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263 * Value constants for VAL_mem_cap_avail
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265 #define SIM_SMS_MEM_FULL (0x0) /* SMS storage on SIM execeeded */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
266 #define SIM_SMS_MEM_AVAIL (0x1) /* SMS storage on SIM available */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
267 #define SIM_SMS_NO_MEM (0xff) /* SMS storage on SIM not present */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
268
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
269 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
270 * Value constants for VAL_stk_pro_file
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
271 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
272 #define SAT_TP1_PRF_DNL (0x1) /* Profile download (redundant definition) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
273 #define SAT_TP1_SMS_DNL (0x2) /* SMS-PP data download */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
274 #define SAT_TP1_CB_DNL (0x4) /* Cell Broadcast data download */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
275 #define SAT_TP1_MENU_SEL (0x8) /* Menu selection */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
276 #define SAT_TP1_9E_XX (0x10) /* '9E XX' response code for SIM data download error */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
277 #define SAT_TP1_TIMER_EXP (0x20) /* Timer expiration (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
278 #define SAT_TP1_CC_USSD (0x40) /* USSD string data object supported in Call Control */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
279 #define SAT_TP1_CC_ON_REDIAL (0x80) /* Call Control by SIM always performed on automatic redial */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
280 #define SAT_TP2_CMD_RES (0x1) /* Command result (generic) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
281 #define SAT_TP2_CC (0x2) /* Call Control by SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
282 #define SAT_TP2_CC_CELL_ID (0x4) /* Cell Identity included in Call Control by SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
283 #define SAT_TP2_MOSMC (0x8) /* MO SM Control by SIM (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
284 #define SAT_TP2_ALPHA_ID (0x10) /* Alpha identifier according to clause 9 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
285 #define SAT_TP2_UCS2_ENTRY (0x20) /* UCS2 entry supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
286 #define SAT_TP2_UCS2_DSPL (0x40) /* UCS2 display supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
287 #define SAT_TP2_DSPL_EXT (0x80) /* extended display length supported (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
288 #define SAT_TP3_DSPL_TXT (0x1) /* Proactive SIM: Display Text */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
289 #define SAT_TP3_GET_INKEY (0x2) /* Proactive SIM: Get Inkey */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
290 #define SAT_TP3_GET_INPUT (0x4) /* Proactive SIM: Get Input */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
291 #define SAT_TP3_MORE_TIME (0x8) /* Proactive SIM: More Time */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
292 #define SAT_TP3_PLAY_TONE (0x10) /* Proactive SIM: Play Tone */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
293 #define SAT_TP3_POLL_ITV (0x20) /* Proactive SIM: Poll Interval */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
294 #define SAT_TP3_POLL_OFF (0x40) /* Proactive SIM: Polling Off */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
295 #define SAT_TP3_REFRESH (0x80) /* Proactive SIM: Refresh */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
296 #define SAT_TP4_SEL_ITEM (0x1) /* Proactive SIM: Select Item */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
297 #define SAT_TP4_SEND_SMS (0x2) /* Proactive SIM: Send SM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
298 #define SAT_TP4_SEND_SS (0x4) /* Proactive SIM: Send SS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
299 #define SAT_TP4_SEND_USSD (0x8) /* Proactive SIM: Send USSD (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
300 #define SAT_TP4_SETUP_CALL (0x10) /* Proactive SIM: Set up Call */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
301 #define SAT_TP4_SETUP_MENU (0x20) /* Proactive SIM: Set up Menu */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
302 #define SAT_TP4_PLI_PLMN_IMEI (0x40) /* Proactive SIM: Provide Local Informaton (PLMN, Cell ID, IMEI) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
303 #define SAT_TP4_PLI_NMR (0x80) /* Proactive SIM: Provide Local Informaton (NMR) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
304 #define SAT_TP5_EVENT_LIST (0x1) /* Proactive SIM: Set up Event List (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
305 #define SAT_TP5_MT_CALL (0x2) /* Event: Moblile Terminated Call (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
306 #define SAT_TP5_CALL_CONN (0x4) /* Event: Call connected (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
307 #define SAT_TP5_CALL_DISC (0x8) /* Event: Call disconnected (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
308 #define SAT_TP5_LOC_STATUS (0x10) /* Event: Location status (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
309 #define SAT_TP5_USER_ACT (0x20) /* Event: User activity (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
310 #define SAT_TP5_SCR_AVAIL (0x40) /* Event: Idle screen available (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
311 #define SAT_TP5_CDR_STATUS (0x80) /* Event: Card reader status (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
312 #define SAT_TP6_LANG_SEL (0x1) /* Event: Language Selection (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
313 #define SAT_TP6_BROWS_TERM (0x2) /* Event: Browser Termination (Class c) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
314 #define SAT_TP6_DATA_AVAIL (0x4) /* Event: Data available (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
315 #define SAT_TP6_CHANNEL_STAT (0x8) /* Event: Channel status (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
316 #define SAT_TP7_PW_ON_CD (0x1) /* Proactive SIM: Power on Card (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
317 #define SAT_TP7_PW_OFF_CD (0x2) /* Proactive SIM: Power off Card (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
318 #define SAT_TP7_PF_CD_ADPU (0x4) /* Proactive SIM: Perform Card ADPU (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
319 #define SAT_TP7_GET_CDR_STATUS (0x8) /* Proactive SIM: Get Card Reader Status (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
320 #define SAT_TP7_GET_CDR_IDENT (0x10) /* Proactive SIM: Get Card Reader Identifier (Class a) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
321 #define SAT_TP8_TMNG_ST (0x1) /* Proactive SIM: Timer Management (start, stop) (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
322 #define SAT_TP8_TMNG_VAL (0x2) /* Proactive SIM: Timer Management (get current value) (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
323 #define SAT_TP8_PLI_DTT (0x4) /* Proactive SIM: Provide Local Information (date, time, tz) (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
324 #define SAT_TP8_BIN_GET_INKEY (0x8) /* Binary choice in Get Inkey (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
325 #define SAT_TP8_IDLE_TXT (0x10) /* Proactive SIM: Set up Idle Mode Text (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
326 #define SAT_TP8_AT_CMD (0x20) /* Proactive SIM: Run AT command (Class b) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
327 #define SAT_TP8_AI2_SETUP_CALL (0x40) /* 2nd alpha identifier in Set up Call (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
328 #define SAT_TP8_CCP2_CC (0x80) /* 2nd capability configuration parameter with Call Control (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
329 #define SAT_TP9_SUST_DSPL_TXT (0x1) /* Sustained Display Text (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
330 #define SAT_TP9_DTMF_CMD (0x2) /* Send DTMF Command (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
331 #define SAT_TP9_BCCH_COD (0x4) /* BCCH coding according to subclause 12.19 (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
332 #define SAT_TP9_PLI_LANG (0x8) /* Proactive SIM: Provide Local Information (Language) (Rel. 99) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
333 #define SAT_TP9_PLI_TIMING_ADV (0x10) /* Proactive SIM: Provide Local Information (Timing Adv ance) (Rel. 99) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
334 #define SAT_TP9_LANG_NOTIFY (0x20) /* Proactive SIM: Language Notification (Class 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
335 #define SAT_TP9_LAUNCH_BROWSER (0x40) /* Proactive SIM: Launch Browser (Class c) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
336 #define SAT_TP10_SFTKEY_SEL_ITEM (0x1) /* Soft key support for SELECT ITEM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
337 #define SAT_TP10_SFTKEY_SETUP_MENU (0x2) /* Soft key support for SET UP MENU */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
338 #define SAT_TP11_MAX_NR_SFTKEY (0xff) /* Maximum number of soft keys available */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
339 #define SAT_TP12_OPEN_CHANNEL (0x1) /* Proactive SIM: OPEN CHANNEL (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
340 #define SAT_TP12_CLOSE_CHANNEL (0x2) /* Proactive SIM: CLOSE CHANNEL (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
341 #define SAT_TP12_RECEIVE_DATA (0x4) /* Proactive SIM: RECEIVE DATA (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
342 #define SAT_TP12_SEND_DATA (0x8) /* Proactive SIM: SEND DATA (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
343 #define SAT_TP12_GET_CHANNEL_STAT (0x10) /* Proactive SIM: GET CHANNEL STATUS (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
344 #define SAT_TP13_CSD_SUPP_BY_ME (0x1) /* CSD supported by ME (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
345 #define SAT_TP13_GPRS_SUPP_BY_ME (0x2) /* GPRS supported by ME (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
346 #define SAT_TP13_NR_OF_CHAN_SUPP (0xe0) /* Number of channels supported by ME (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
347 #define SAT_TP14_NR_OF_CHAR_DSPL_DWN (0x1f) /* Number of characters supported down the ME display */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
348 #define SAT_TP14_SCRN_SIZE_PARAM (0x80) /* Screen sizing parameters supported by ME */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
349 #define SAT_TP15_NR_OF_CHAR_DSPL_ACRS (0x7f) /* Number of characters supported across the ME display */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
350 #define SAT_TP15_VAR_SIZE_FONT (0x80) /* Variable size fonts supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
351 #define SAT_TP16_DSPL_RESIZE (0x1) /* Display can be resized */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
352 #define SAT_TP16_TEXT_WRAP (0x2) /* Text wrapping supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
353 #define SAT_TP16_TEXT_SCROLL (0x4) /* Text scrolling supported */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
354 #define SAT_TP16_WIDTH_RDCT_MENU (0xe0) /* Width reduction when in Menu */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
355 #define SAT_TP17_BEARER_IND_SUPP_TCP (0x1) /* Bearer independent protocol supported TCP (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
356 #define SAT_TP17_BEARER_IND_SUPP_UDP (0x2) /* Bearer independent protocol supported UPD (Class e) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
357 #define SAT_TP19_PROT_VERS (0xf) /* Protocol version coded as TIA/EIA 136-123 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
358
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
359 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
360 * Value constants for VAL_proc
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
361 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
362 #define SIM_INITIALISATION (0x0) /* initialisation */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
363 #define SIM_FDN_ENABLE (0x1) /* FDN enabling */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
364 #define SIM_FDN_DISABLE (0x2) /* FDN disabling */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
365 #define SIM_SELECT (0x3) /* SIM selection */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
366
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
367 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
368 * Value constants for VAL_func
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
369 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
370 #define SIM_NO_OPERATION (0x0) /* card is invalid */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
371 #define SIM_ADN_ENABLED (0x1) /* normal GSM operation, ADN enabled */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
372 #define SIM_FDN_ENABLED (0x2) /* restricted GSM operation, FDN enabled */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
373 #define SIM_ADN_BDN_ENABLED (0x5) /* normal GSM operation, ADN and BDN enabled */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
374 #define SIM_FDN_BDN_ENABLED (0x6) /* restricted GSM operation, FDN and BDN enabled */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
375
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
376 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
377 * Value constants for VAL_download_sms
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
378 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
379 #define DOWNLOAD_SMS_NO (0x0) /* No support of download SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
380 #define DOWNLOAD_SMS_YES (0x1) /* Support of download SMS */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
381
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
382 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
383 * Value constants for VAL_access_acm
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
384 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
385 #define ACCESS_ALWAYS (0x0) /* No PIN is needed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
386 #define ACCESS_PIN_1 (0x1) /* PIN 1 is needed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
387 #define ACCESS_PIN_2 (0x2) /* PIN 2 is needed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
388
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
389 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
390 * Value constants for VAL_mmi_pro_file
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
391 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
392 #define SIM_MMI_ADN (0x80) /* MMI ADN support, if set */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
393 #define SIM_MMI_FDN (0x40) /* MMI FDN support, if set */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
394 #define SIM_MMI_BDN (0x20) /* MMI BDN support, if set */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
395
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
396 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
397 * Value constants for VAL_synccs
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
398 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
399 #define SYNC_START_CALL (0x1) /* Start present checks if needed during calls */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
400 #define SYNC_STOP_CALL (0x2) /* Stop present checks if running */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
401 #define SYNC_DEACTIVATE (0x3) /* Deactivate SIM card */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
402 #define SYNC_MM_FINISHED_READING (0x4) /* MM has finished reading of the EFs */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
403 #define SYNC_MMI_FINISHED_READING (0x5) /* MMI has finished reading of the EFs */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
404
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
405 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
406 * Value constants for VAL_sim_command
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
407 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
408 #define SIM_TRANSP_CMD (0x0) /* Transparent SIM Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
409 #define SIM_READ_BINARY (0x1) /* Read Binary Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
410 #define SIM_READ_RECORD (0x2) /* Read Record Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
411 #define SIM_UPDATE_BINARY (0x3) /* Update Binary Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
412 #define SIM_UPDATE_RECORD (0x4) /* Update Record Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
413 #define SIM_STATUS (0x5) /* Status Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
414 #define SIM_GET_RESPONSE (0x6) /* Get Response Command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
415
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
416 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
417 * Value constants for VAL_sw1
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
418 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
419 #define SW1_SUCCESS (0x90) /* normal ending of the command: SW2 = '00' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
420 #define SW1_SUCCESS_EXTRA_INF (0x91) /* ditto, with extra data from proactiv SIM for ME: SW2 = lgth */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
421 #define SW1_DATA_LGTH_BY_ERR (0x9e) /* SW2 gives the length of respose in case of SIM downl. error */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
422 #define SW1_SUCCESS_DATA_AVAIL (0x9f) /* SW2 gives the length of (SIM) response data */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
423 #define SW1_SAT_BUSY (0x93) /* no command execution now, further normal commands allowed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
424 #define SW1_MEMORY_MANAGEMENT (0x92) /* two cases possible depending on SW2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
425 #define SW1_REFRNCG_MANAGEMENT (0x94) /* four cases possible depending on SW2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
426 #define SW1_SECURTY_MANAGEMENT (0x98) /* six cases possible depending on SW2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
427 #define SW1_ERR_INCORRECT_P3 (0x67) /* incorrect parameter P3 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
428 #define SW1_ERR_INCOR_P1_OR_P2 (0x6b) /* incorrect parameter P1 or P2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
429 #define SW1_ERR_UNKNOWN_INSTR (0x6d) /* unknown instruction code given in the command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
430 #define SW1_ERR_INSTR_CLA (0x6e) /* wrong instruction class given in the command */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
431 #define SW1_ERR_DIAG_OR_AUTHEN (0x6f) /* technical problem with no diagnostic given */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
432 #define SW2_NORMAL (0x0) /* normal ending of the command (SW1 = '00') */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
433 #define SW2_256_BYTES_LGTH (0x0) /* SW2 gives the lengths of 256 bytes of information */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
434 #define SW2_MEMORY_PROBLEM (0x40) /* memory problem: in connection with SW1 = '92' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
435 #define SW2_NO_EF_SELECTED (0x2) /* no elementary file selected: in connection with SW1 = '94' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
436 #define SW2_OUT_OF_RANGE (0x2) /* invalid adress: in connection with SW1 = '94' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
437 #define SW2_FILE_ID_PATT_NFOUND (0x4) /* file ID or pattern not found: in connection with SW1 = '94' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
438 #define SW2_FILE_INCON_WTH_CMD (0x8) /* file inconsistent with cmd: in connection with SW1 = '94' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
439 #define SW2_NO_CHV_INIT (0x2) /* no CHV initialized: in connection with SW1 = '98' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
440 #define SW2_ACC_FAIL (0x4) /* in connection with SW1 = '98': (1) acces condition not fullfilled; (2) CHV verify unsuccessful, at least one attempt left; (3) UNBLOCK CHV verify unsuccessful, at least one attempt left; (4) authentication failed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
441 #define SW2_CNTR_TO_CHV_STAT (0x8) /* in contradiction with CHV status: in conn. with SW1 = '98' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
442 #define SW2_CNTR_TO_INVALID_STAT (0x10) /* in contradiction with invalidation status: in conn. with SW1 = '98' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
443 #define SW2_ACC_FAIL_NO_ATTEMTP (0x40) /* in connection with SW1 = '98': (1) CHV verify unsuccessful, no attempt left; (2) UNBLOCK CHV verify unsuccessful, no attempt left; (3) CHV blocked; (4) UNBLOCK CHV blocked */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
444 #define SW2_NO_INCREASE_PERF (0x50) /* increase cannot be performed, Max value reached: in conn. with SW1 = '98' */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
445
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
446 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
447 * Value constants for VAL_smsr_mem_cap
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
448 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
449 #define SIM_SMSR_DISABLE (0x0) /* EF(SMSR) disabled on SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
450 #define SIM_SMSR_ENABLE (0x1) /* EF(SMSR) enabled on SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
451
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
452 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
453 * Value constants for VAL_fu_rsc
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
454 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
455 #define SIM_FU_ERROR (0x0) /* ME is unable to perform the command (SAT result = 20) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
456 #define SIM_FU_SUCCESS (0x1) /* file update is performed successfully (SAT result = 0) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
457 #define SIM_FU_SUCC_ADD (0x2) /* file update is performed with additional files read (SAT result = 3) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
458
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
459 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
460 * Value constants for VAL_dti_conn
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
461 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
462 #define SIM_DTI_UNKNOWN (0x0) /* Unknown DTI link status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
463 #define SIM_DTI_CONNECT (0x1) /* Connect DTI link to SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
464 #define SIM_DTI_DISCONNECT (0x2) /* Disconnect DTI link from SIM */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
465
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
466 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
467 * Value constants for VAL_con_type
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
468 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
469 #define SIM_CON_TYPE_UDP (0x1) /* send and expect UDP datagrams */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
470 #define SIM_CON_TYPE_IP (0x2) /* send and expect IP packets */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
471 #define SIM_CON_TYPE_SERIAL (0x3) /* send and expect serial data */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
472
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
473 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
474 * Value constants for VAL_local_ip
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
475 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
476 #define SIM_IP_LOCAL_DYNAMIC (0x0) /* SIM requests IP address from UDP */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
477
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
478 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
479 * Value constants for VAL_event_data_avail
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
480 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
481 #define SIM_EVENT_DISABLE (0x0) /* do not use this event */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
482 #define SIM_EVENT_ENABLE (0x1) /* use this event */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
483 #define SIM_KEEP_ALIVE (0xff) /* reserved */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
484
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
485 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
486 * Value constants for VAL_release_time
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
487 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
488 #define SIM_NO_AUTO_RELEASE (0x0) /* do not use release timer */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
489
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
490 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
491 * Value constants for VAL_cla
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
492 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
493 #define GSM_CLASS (0xa0) /* GSM instruction class */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
494
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
495 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
496 * Value constants for VAL_ins_code
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
497 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
498 #define SIM_INS_SELECT (0xa4) /* Select Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
499 #define SIM_INS_STATUS (0xf2) /* Status Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
500 #define SIM_INS_READ_BINARY (0xb0) /* Read Binary Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
501 #define SIM_INS_UPDATE_BINARY (0xd6) /* Update Binary Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
502 #define SIM_INS_READ_RECORD (0xb2) /* Read Record Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
503 #define SIM_INS_UPDATE_RECORD (0xdc) /* Update Record Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
504 #define SIM_INS_SEEK (0xa2) /* Seek Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
505 #define SIM_INS_INCREASE (0x32) /* Increase Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
506 #define SIM_INS_VERIFY_CHV (0x20) /* Verify Chv Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
507 #define SIM_INS_CHANGE_CHV (0x24) /* Change Chv Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
508 #define SIM_INS_DISABLE_CHV (0x26) /* Disable Chv Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
509 #define SIM_INS_ENABLE_CHV (0x28) /* Ensable Chv Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
510 #define SIM_INS_UNBLOCK_CHV (0x2c) /* Unblock Chv Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
511 #define SIM_INS_INVALIDATE (0x4) /* Invalidate Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
512 #define SIM_INS_REHABILITATE (0x44) /* Rehabilitate Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
513 #define SIM_INS_RUN_GSM_ALGTH (0x88) /* Run GSM Algorithm Instruczion */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
514 #define SIM_INS_GET_RESPONSE (0xc0) /* Get Response Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
515 #define SIM_INS_TERMINAL_PROFILE (0x10) /* Terminal Profile Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
516 #define SIM_INS_ENVELOPE (0xc2) /* Envelope Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
517 #define SIM_INS_FETCH (0x12) /* Fetch Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
518 #define SIM_INS_TERMINAL_RESPONSE (0x14) /* Terminal Response Instruction */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
519
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
520 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
521 * Value constants for VAL_bip_conn
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
522 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
523 #define SIM_BIP_UNKNOWN (0x0) /* unknown BIP channel status */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
524 #define SIM_BIP_OPEN_CHANNEL (0x1) /* Open bearer independent protocol channel */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
525 #define SIM_BIP_CLOSE_CHANNEL (0x2) /* Close bearer independent protocol channel */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
526 #define SIM_BIP_CHANNEL_RESUMED (0x4) /* BIP channel is resumed */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
527 #define SIM_BIP_CHANNEL_SUSPENDED (0x8) /* BIP channel is suspended */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
528
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
529 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
530 * Value constants for VAL_dti_direction
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
531 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
532 #define SIM_DTI_NORMAL (0x0) /* DTI used normally */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
533 #define SIM_DTI_INVERTED (0x1) /* DTI is inverted */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
534
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
535 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
536 * Value constants for VAL_cust_mode
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
537 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
538 #define SIM_CUST_MODE_NORM (0x0) /* Normal Behaviour */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
539 #define SIM_CUST_MODE_1 (0x1) /* Customisation Value 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
540
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
541 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
542 * Value constants for VAL_user_accepts
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
543 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
544 #define SIM_USER_REJECTS (0x0) /* User Rejected */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
545 #define SIM_USER_ACCEPTS (0x1) /* User Accepted */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
546
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
547 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
548 * Value constants for VAL_sim_num
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
549 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
550 #define SIM_NUM_0 (0x0) /* Auto Select */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
551 #define SIM_NUM_1 (0x1) /* Select SIM 1 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
552 #define SIM_NUM_2 (0x2) /* Select SIM 2 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
553
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
554 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
555 * Value constants for VAL_df_level2
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
556 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
557 #define SIM_DF_MEXE (0x5f3c) /* DF for MEXE (subdirectory of 'gsm') */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
558 #define SIM_DF_GRAPHICS (0x5f50) /* icon graphics directory (subdirectory of 'telecom') */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
559 #define SIM_DF_SOLSA (0x5f70) /* SoLSA directory (subdirectory of 'gsm') */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
560
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
561 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
562 * Value constants for VAL_df_level1
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
563 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
564 #define SIM_DF_TELECOM (0x7f10) /* telecom directory */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
565 #define SIM_DF_GSM (0x7f20) /* gsm directory (M) */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
566 #define SIM_DF_1800 (0x7f21) /* dcs 1800 directory */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
567 #define SIM_DF_VI (0x7f43) /* Viag directory */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
568
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
569 /*
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
570 * user defined constants
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
571 */
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
572 #define MAX_STK_CMD (0x100)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
573 #define MAX_SIM_CMD (0x100)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
574 #define MAX_SIM_TRANSP (0x106)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
575 #define MAX_SIM_ATR (0x21)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
576 #define MAX_PIN_LEN (0x8)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
577 #define MAX_FILE_ID (0x40)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
578 #define MAX_STK_PRF (0x14)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
579 #define MAX_SRV_TBL (0x10)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
580 #define MAX_LNG_PREF (0x5)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
581 #define MAX_ECC (0xf)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
582 #define MAX_PREF_PLMN (0xf0)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
583 #define MAX_IMSI (0x9)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
584 #define MAX_KC (0x8)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
585 #define MAX_LOCIGSM (0xb)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
586 #define MAX_LOCIGPRS (0xe)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
587 #define MAX_RAND (0x10)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
588 #define MAX_SRES (0x4)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
589 #define MAX_SIM_PLMN_SIZE (0x3)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
590 #define MAX_AD (0x4)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
591 #define MAX_TRMST (0x8)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
592 #define SIM_CLASS_E_BUFFER_SIZE (0x578)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
593 #define SIM_ORIGINATING_ENTITY (0x0)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
594 #define MAX_CBMID_REC (0xff)
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
595
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
596 #include "CDG_LEAVE.h"
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
597
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
598
95c433d8c274 gsm-fw/cdg: LoCosto version of cdginc regenerated
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
599 #endif