annotate cdg-hybrid/cdginc/p_sim.val @ 411:ee49b250774f

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