FreeCalypso > hg > freecalypso-citrine
comparison g23m-aci/aci/sap_em.c @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : | |
4 | Modul : | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Definitions for the processing functions of the protocol | |
18 | stack adapter for the engineering mode. | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #include "config.h" | |
23 #include "fixedconf.h" | |
24 #include "condat-features.h" | |
25 #include "aci_conf.h" | |
26 | |
27 #include "aci_all.h" | |
28 | |
29 /*==== INCLUDES ===================================================*/ | |
30 #include "aci_cmh.h" | |
31 #include "ati_cmd.h" | |
32 #include "aci_cmd.h" | |
33 #include "aci.h" | |
34 #include "aci_em.h" | |
35 #include "aci_mem.h" | |
36 | |
37 #ifdef FF_EM_MODE | |
38 | |
39 /*==== CONSTANTS ==================================================*/ | |
40 | |
41 /*==== TYPES ======================================================*/ | |
42 | |
43 | |
44 /*==== EXPORT =====================================================*/ | |
45 /* | |
46 #if !defined (WIN32) | |
47 EXTERN CHAR* l1_version(void); | |
48 EXTERN CHAR* dl_version(void); | |
49 EXTERN CHAR* rr_version(void); | |
50 EXTERN CHAR* mm_version(void); | |
51 EXTERN CHAR* cc_version(void); | |
52 EXTERN CHAR* ss_version(void); | |
53 EXTERN CHAR* sim_version(void); | |
54 EXTERN CHAR* sms_version(void); | |
55 //EXTERN CHAR* aci_version(void); | |
56 #endif | |
57 */ | |
58 | |
59 /*==== VARIABLES ==================================================*/ | |
60 | |
61 /*==== FUNCTIONS ==================================================*/ | |
62 | |
63 | |
64 /* | |
65 +------------------------------------------------------------------------------ | |
66 | Function : psa_em_sc_info_cnf | |
67 +------------------------------------------------------------------------------ | |
68 | Description : Pars the serving cell infrastructure data back to the initial | |
69 | function inside the customer specific MMI with a cb-function. | |
70 | | |
71 | Parameters : Primitiv | |
72 | | |
73 | Return : void | |
74 +------------------------------------------------------------------------------ | |
75 */ | |
76 | |
77 GLOBAL void psa_em_sc_info_cnf (T_EM_SC_INFO_CNF *em_sc_info_cnf) | |
78 { | |
79 TRACE_FUNCTION ("psa_em_sc_info_cnf()"); | |
80 | |
81 em_Received_Data(em_sc_info_cnf, EM_SUBCLASS_SC); | |
82 } | |
83 | |
84 /* | |
85 +------------------------------------------------------------------------------ | |
86 | Function : psa_em_sc_gprs_info_cnf | |
87 +------------------------------------------------------------------------------ | |
88 | Description : Pars the serving cell gprs infrastructure data back to the initial | |
89 | function inside the customer specific MMI with a cb-function. | |
90 | | |
91 | Parameters : Primitiv | |
92 | | |
93 | Return : void | |
94 +------------------------------------------------------------------------------ | |
95 */ | |
96 | |
97 GLOBAL void psa_em_sc_gprs_info_cnf (T_EM_SC_GPRS_INFO_CNF *em_sc_gprs_info_cnf) | |
98 { | |
99 TRACE_FUNCTION ("psa_em_sc_gprs_info_cnf()"); | |
100 | |
101 em_Received_Data(em_sc_gprs_info_cnf, EM_SUBCLASS_SC_GPRS); | |
102 } | |
103 | |
104 /* | |
105 +------------------------------------------------------------------------------ | |
106 | Function : psa_em_nc_info_cnf | |
107 +------------------------------------------------------------------------------ | |
108 | Description : Pars the serving cell infrastructure data back to the initial | |
109 | function inside the customer specific MMI with a cb-function. | |
110 | | |
111 | Parameters : Primitiv | |
112 | | |
113 | Return : void | |
114 +------------------------------------------------------------------------------ | |
115 */ | |
116 | |
117 GLOBAL void psa_em_nc_info_cnf (T_EM_NC_INFO_CNF *em_nc_info_cnf) | |
118 { | |
119 TRACE_FUNCTION ("psa_em_nc_info_cnf()"); | |
120 | |
121 em_Received_Data(em_nc_info_cnf, EM_SUBCLASS_NC); | |
122 } | |
123 | |
124 /* | |
125 +------------------------------------------------------------------------------ | |
126 | Function : psa_em_loc_pag_info_cnf | |
127 +------------------------------------------------------------------------------ | |
128 | Description : Pars the serving cell infrastructure data back to the initial | |
129 | function inside the customer specific MMI with a cb-function. | |
130 | | |
131 | Parameters : Primitiv | |
132 | | |
133 | Return : void | |
134 +------------------------------------------------------------------------------ | |
135 */ | |
136 | |
137 GLOBAL void psa_em_loc_pag_info_cnf (T_EM_LOC_PAG_INFO_CNF *em_loc_pag_info_cnf) | |
138 { | |
139 TRACE_FUNCTION ("psa_em_loc_pag_info_cnf()"); | |
140 | |
141 em_Received_Data(em_loc_pag_info_cnf, EM_SUBCLASS_LOC_PAG); | |
142 } | |
143 | |
144 /* | |
145 +------------------------------------------------------------------------------ | |
146 | Function : psa_em_plmn_info_cnf | |
147 +------------------------------------------------------------------------------ | |
148 | Description : Pars the serving cell infrastructure data back to the initial | |
149 | function inside the customer specific MMI with a cb-function. | |
150 | | |
151 | Parameters : Primitiv | |
152 | | |
153 | Return : void | |
154 +------------------------------------------------------------------------------ | |
155 */ | |
156 | |
157 GLOBAL void psa_em_plmn_info_cnf (T_EM_PLMN_INFO_CNF *em_plmn_info_cnf) | |
158 { | |
159 TRACE_FUNCTION ("psa_em_plmn_info_cnf()"); | |
160 | |
161 em_Received_Data(em_plmn_info_cnf, EM_SUBCLASS_PLMN); | |
162 } | |
163 | |
164 /* | |
165 +------------------------------------------------------------------------------ | |
166 | Function : psa_em_cip_hop_dtx_info_cnf | |
167 +------------------------------------------------------------------------------ | |
168 | Description : Pars the serving cell infrastructure data back to the initial | |
169 | function inside the customer specific MMI with a cb-function. | |
170 | | |
171 | Parameters : Primitiv | |
172 | | |
173 | Return : void | |
174 +------------------------------------------------------------------------------ | |
175 */ | |
176 | |
177 GLOBAL void psa_em_cip_hop_dtx_info_cnf (T_EM_CIP_HOP_DTX_INFO_CNF *em_cip_hop_dtx_info_cnf) | |
178 { | |
179 TRACE_FUNCTION ("psa_em_cip_hop_dtx_info_cnf()"); | |
180 | |
181 em_Received_Data(em_cip_hop_dtx_info_cnf, EM_SUBCLASS_CIPH_HOP_DTX); | |
182 } | |
183 | |
184 /* | |
185 +------------------------------------------------------------------------------ | |
186 | Function : psa_em_power_info_cnf | |
187 +------------------------------------------------------------------------------ | |
188 | Description : Pars the serving cell infrastructure data back to the initial | |
189 | function inside the customer specific MMI with a cb-function. | |
190 | | |
191 | Parameters : Primitiv | |
192 | | |
193 | Return : void | |
194 +------------------------------------------------------------------------------ | |
195 */ | |
196 | |
197 GLOBAL void psa_em_power_info_cnf (T_EM_POWER_INFO_CNF *em_power_info_cnf) | |
198 { | |
199 TRACE_FUNCTION ("psa_em_power_info_cnf()"); | |
200 | |
201 em_Received_Data(em_power_info_cnf, EM_SUBCLASS_POWER); | |
202 } | |
203 | |
204 /* | |
205 +------------------------------------------------------------------------------ | |
206 | Function : psa_em_identity_info_cnf | |
207 +------------------------------------------------------------------------------ | |
208 | Description : Pars the serving cell infrastructure data back to the initial | |
209 | function inside the customer specific MMI with a cb-function. | |
210 | | |
211 | Parameters : Primitiv | |
212 | | |
213 | Return : void | |
214 +------------------------------------------------------------------------------ | |
215 */ | |
216 | |
217 GLOBAL void psa_em_identity_info_cnf (T_EM_IDENTITY_INFO_CNF *em_identity_info_cnf) | |
218 { | |
219 TRACE_FUNCTION ("psa_em_identity_info_cnf()"); | |
220 | |
221 em_Received_Data(em_identity_info_cnf, EM_SUBCLASS_ID); | |
222 } | |
223 | |
224 /* | |
225 +------------------------------------------------------------------------------ | |
226 | Function : psa_em_sw_version_info_cnf | |
227 +------------------------------------------------------------------------------ | |
228 | Description : Pars the serving cell infrastructure data back to the initial | |
229 | function inside the customer specific MMI with a cb-function. | |
230 | | |
231 | Parameters : Primitiv | |
232 | | |
233 | Return : void | |
234 +------------------------------------------------------------------------------ | |
235 */ | |
236 | |
237 GLOBAL void psa_em_sw_version_info_cnf (T_EM_SW_VERSION_INFO_CNF *em_sw_version_info_cnf) | |
238 { | |
239 TRACE_FUNCTION ("psa_em_sw_version_info_cnf()"); | |
240 | |
241 em_Received_Data(em_sw_version_info_cnf, EM_SUBCLASS_SW_VERSION); | |
242 } | |
243 | |
244 /* | |
245 +------------------------------------------------------------------------------ | |
246 | Function : psa_em_gmm_info_cnf | |
247 +------------------------------------------------------------------------------ | |
248 | Description : Pars the serving cell gmm data back to the initial | |
249 | function inside the customer specific MMI with a cb-function. | |
250 | | |
251 | Parameters : Primitiv | |
252 | | |
253 | Return : void | |
254 +------------------------------------------------------------------------------ | |
255 */ | |
256 | |
257 GLOBAL void psa_em_gmm_info_cnf (T_EM_GMM_INFO_CNF *em_gmm_info_cnf) | |
258 { | |
259 TRACE_FUNCTION ("psa_em_gmm_info_cnf()"); | |
260 | |
261 em_Received_Data(em_gmm_info_cnf, EM_SUBCLASS_GMM); | |
262 } | |
263 /* | |
264 +------------------------------------------------------------------------------ | |
265 | Function : psa_em_grlc_info_cnf | |
266 +------------------------------------------------------------------------------ | |
267 | Description : Pars the serving cell grlc data back to the initial | |
268 | function inside the customer specific MMI with a cb-function. | |
269 | | |
270 | Parameters : Primitiv | |
271 | | |
272 | Return : void | |
273 +------------------------------------------------------------------------------ | |
274 */ | |
275 | |
276 GLOBAL void psa_em_grlc_info_cnf (T_EM_GRLC_INFO_CNF *em_grlc_info_cnf) | |
277 { | |
278 TRACE_FUNCTION ("psa_em_grlc_info_cnf()"); | |
279 | |
280 em_Received_Data(em_grlc_info_cnf, EM_SUBCLASS_GRLC); | |
281 } | |
282 | |
283 | |
284 /* | |
285 +------------------------------------------------------------------------------ | |
286 | Function : psa_em_amr_info_cnf | |
287 +------------------------------------------------------------------------------ | |
288 | Description : Pars the AMR information data back to the initial | |
289 | function inside the customer specific MMI with a cb-function. | |
290 | | |
291 | Parameters : Primitive | |
292 | | |
293 | Return : void | |
294 +------------------------------------------------------------------------------ | |
295 */ | |
296 | |
297 GLOBAL void psa_em_amr_info_cnf (T_EM_AMR_INFO_CNF *em_amr_info_cnf) | |
298 { | |
299 TRACE_FUNCTION ("psa_em_amr_info_cnf()"); | |
300 | |
301 em_Received_Data(em_amr_info_cnf, EM_SUBCLASS_AMR); | |
302 } | |
303 #endif /* FF_EM_MODE */ | |
304 | |
305 /*+++++++++++++++++++++++++++++++++++++++++ E O F +++++++++++++++++++++++++++++++++++++++++*/ | |
306 |