FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/sap_em.c @ 775:eedbf248bac0
gsm-fw/g23m-aci subtree: initial import from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 12 Oct 2014 01:45:14 +0000 |
parents | |
children | 15cf4a8961d0 |
comparison
equal
deleted
inserted
replaced
774:40a721fd9854 | 775:eedbf248bac0 |
---|---|
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 "aci_all.h" | |
23 | |
24 /*==== INCLUDES ===================================================*/ | |
25 #include "aci_cmh.h" | |
26 #include "ati_cmd.h" | |
27 #include "aci_cmd.h" | |
28 #include "aci.h" | |
29 #include "aci_em.h" | |
30 #include "aci_mem.h" | |
31 | |
32 #ifdef FF_EM_MODE | |
33 | |
34 /*==== CONSTANTS ==================================================*/ | |
35 | |
36 /*==== TYPES ======================================================*/ | |
37 | |
38 | |
39 /*==== EXPORT =====================================================*/ | |
40 /* | |
41 #if !defined (WIN32) | |
42 EXTERN CHAR* l1_version(void); | |
43 EXTERN CHAR* dl_version(void); | |
44 EXTERN CHAR* rr_version(void); | |
45 EXTERN CHAR* mm_version(void); | |
46 EXTERN CHAR* cc_version(void); | |
47 EXTERN CHAR* ss_version(void); | |
48 EXTERN CHAR* sim_version(void); | |
49 EXTERN CHAR* sms_version(void); | |
50 //EXTERN CHAR* aci_version(void); | |
51 #endif | |
52 */ | |
53 | |
54 /*==== VARIABLES ==================================================*/ | |
55 | |
56 /*==== FUNCTIONS ==================================================*/ | |
57 | |
58 | |
59 /* | |
60 +------------------------------------------------------------------------------ | |
61 | Function : psa_em_sc_info_cnf | |
62 +------------------------------------------------------------------------------ | |
63 | Description : Pars the serving cell infrastructure data back to the initial | |
64 | function inside the customer specific MMI with a cb-function. | |
65 | | |
66 | Parameters : Primitiv | |
67 | | |
68 | Return : void | |
69 +------------------------------------------------------------------------------ | |
70 */ | |
71 | |
72 GLOBAL void psa_em_sc_info_cnf (T_EM_SC_INFO_CNF *em_sc_info_cnf) | |
73 { | |
74 TRACE_FUNCTION ("psa_em_sc_info_cnf()"); | |
75 | |
76 em_Received_Data(em_sc_info_cnf, EM_SUBCLASS_SC); | |
77 } | |
78 | |
79 /* | |
80 +------------------------------------------------------------------------------ | |
81 | Function : psa_em_sc_gprs_info_cnf | |
82 +------------------------------------------------------------------------------ | |
83 | Description : Pars the serving cell gprs infrastructure data back to the initial | |
84 | function inside the customer specific MMI with a cb-function. | |
85 | | |
86 | Parameters : Primitiv | |
87 | | |
88 | Return : void | |
89 +------------------------------------------------------------------------------ | |
90 */ | |
91 | |
92 GLOBAL void psa_em_sc_gprs_info_cnf (T_EM_SC_GPRS_INFO_CNF *em_sc_gprs_info_cnf) | |
93 { | |
94 TRACE_FUNCTION ("psa_em_sc_gprs_info_cnf()"); | |
95 | |
96 em_Received_Data(em_sc_gprs_info_cnf, EM_SUBCLASS_SC_GPRS); | |
97 } | |
98 | |
99 /* | |
100 +------------------------------------------------------------------------------ | |
101 | Function : psa_em_nc_info_cnf | |
102 +------------------------------------------------------------------------------ | |
103 | Description : Pars the serving cell infrastructure data back to the initial | |
104 | function inside the customer specific MMI with a cb-function. | |
105 | | |
106 | Parameters : Primitiv | |
107 | | |
108 | Return : void | |
109 +------------------------------------------------------------------------------ | |
110 */ | |
111 | |
112 GLOBAL void psa_em_nc_info_cnf (T_EM_NC_INFO_CNF *em_nc_info_cnf) | |
113 { | |
114 TRACE_FUNCTION ("psa_em_nc_info_cnf()"); | |
115 | |
116 em_Received_Data(em_nc_info_cnf, EM_SUBCLASS_NC); | |
117 } | |
118 | |
119 /* | |
120 +------------------------------------------------------------------------------ | |
121 | Function : psa_em_loc_pag_info_cnf | |
122 +------------------------------------------------------------------------------ | |
123 | Description : Pars the serving cell infrastructure data back to the initial | |
124 | function inside the customer specific MMI with a cb-function. | |
125 | | |
126 | Parameters : Primitiv | |
127 | | |
128 | Return : void | |
129 +------------------------------------------------------------------------------ | |
130 */ | |
131 | |
132 GLOBAL void psa_em_loc_pag_info_cnf (T_EM_LOC_PAG_INFO_CNF *em_loc_pag_info_cnf) | |
133 { | |
134 TRACE_FUNCTION ("psa_em_loc_pag_info_cnf()"); | |
135 | |
136 em_Received_Data(em_loc_pag_info_cnf, EM_SUBCLASS_LOC_PAG); | |
137 } | |
138 | |
139 /* | |
140 +------------------------------------------------------------------------------ | |
141 | Function : psa_em_plmn_info_cnf | |
142 +------------------------------------------------------------------------------ | |
143 | Description : Pars the serving cell infrastructure data back to the initial | |
144 | function inside the customer specific MMI with a cb-function. | |
145 | | |
146 | Parameters : Primitiv | |
147 | | |
148 | Return : void | |
149 +------------------------------------------------------------------------------ | |
150 */ | |
151 | |
152 GLOBAL void psa_em_plmn_info_cnf (T_EM_PLMN_INFO_CNF *em_plmn_info_cnf) | |
153 { | |
154 TRACE_FUNCTION ("psa_em_plmn_info_cnf()"); | |
155 | |
156 em_Received_Data(em_plmn_info_cnf, EM_SUBCLASS_PLMN); | |
157 } | |
158 | |
159 /* | |
160 +------------------------------------------------------------------------------ | |
161 | Function : psa_em_cip_hop_dtx_info_cnf | |
162 +------------------------------------------------------------------------------ | |
163 | Description : Pars the serving cell infrastructure data back to the initial | |
164 | function inside the customer specific MMI with a cb-function. | |
165 | | |
166 | Parameters : Primitiv | |
167 | | |
168 | Return : void | |
169 +------------------------------------------------------------------------------ | |
170 */ | |
171 | |
172 GLOBAL void psa_em_cip_hop_dtx_info_cnf (T_EM_CIP_HOP_DTX_INFO_CNF *em_cip_hop_dtx_info_cnf) | |
173 { | |
174 TRACE_FUNCTION ("psa_em_cip_hop_dtx_info_cnf()"); | |
175 | |
176 em_Received_Data(em_cip_hop_dtx_info_cnf, EM_SUBCLASS_CIPH_HOP_DTX); | |
177 } | |
178 | |
179 /* | |
180 +------------------------------------------------------------------------------ | |
181 | Function : psa_em_power_info_cnf | |
182 +------------------------------------------------------------------------------ | |
183 | Description : Pars the serving cell infrastructure data back to the initial | |
184 | function inside the customer specific MMI with a cb-function. | |
185 | | |
186 | Parameters : Primitiv | |
187 | | |
188 | Return : void | |
189 +------------------------------------------------------------------------------ | |
190 */ | |
191 | |
192 GLOBAL void psa_em_power_info_cnf (T_EM_POWER_INFO_CNF *em_power_info_cnf) | |
193 { | |
194 TRACE_FUNCTION ("psa_em_power_info_cnf()"); | |
195 | |
196 em_Received_Data(em_power_info_cnf, EM_SUBCLASS_POWER); | |
197 } | |
198 | |
199 /* | |
200 +------------------------------------------------------------------------------ | |
201 | Function : psa_em_identity_info_cnf | |
202 +------------------------------------------------------------------------------ | |
203 | Description : Pars the serving cell infrastructure data back to the initial | |
204 | function inside the customer specific MMI with a cb-function. | |
205 | | |
206 | Parameters : Primitiv | |
207 | | |
208 | Return : void | |
209 +------------------------------------------------------------------------------ | |
210 */ | |
211 | |
212 GLOBAL void psa_em_identity_info_cnf (T_EM_IDENTITY_INFO_CNF *em_identity_info_cnf) | |
213 { | |
214 TRACE_FUNCTION ("psa_em_identity_info_cnf()"); | |
215 | |
216 em_Received_Data(em_identity_info_cnf, EM_SUBCLASS_ID); | |
217 } | |
218 | |
219 /* | |
220 +------------------------------------------------------------------------------ | |
221 | Function : psa_em_sw_version_info_cnf | |
222 +------------------------------------------------------------------------------ | |
223 | Description : Pars the serving cell infrastructure data back to the initial | |
224 | function inside the customer specific MMI with a cb-function. | |
225 | | |
226 | Parameters : Primitiv | |
227 | | |
228 | Return : void | |
229 +------------------------------------------------------------------------------ | |
230 */ | |
231 | |
232 GLOBAL void psa_em_sw_version_info_cnf (T_EM_SW_VERSION_INFO_CNF *em_sw_version_info_cnf) | |
233 { | |
234 TRACE_FUNCTION ("psa_em_sw_version_info_cnf()"); | |
235 | |
236 em_Received_Data(em_sw_version_info_cnf, EM_SUBCLASS_SW_VERSION); | |
237 } | |
238 | |
239 /* | |
240 +------------------------------------------------------------------------------ | |
241 | Function : psa_em_gmm_info_cnf | |
242 +------------------------------------------------------------------------------ | |
243 | Description : Pars the serving cell gmm data back to the initial | |
244 | function inside the customer specific MMI with a cb-function. | |
245 | | |
246 | Parameters : Primitiv | |
247 | | |
248 | Return : void | |
249 +------------------------------------------------------------------------------ | |
250 */ | |
251 | |
252 GLOBAL void psa_em_gmm_info_cnf (T_EM_GMM_INFO_CNF *em_gmm_info_cnf) | |
253 { | |
254 TRACE_FUNCTION ("psa_em_gmm_info_cnf()"); | |
255 | |
256 em_Received_Data(em_gmm_info_cnf, EM_SUBCLASS_GMM); | |
257 } | |
258 /* | |
259 +------------------------------------------------------------------------------ | |
260 | Function : psa_em_grlc_info_cnf | |
261 +------------------------------------------------------------------------------ | |
262 | Description : Pars the serving cell grlc data back to the initial | |
263 | function inside the customer specific MMI with a cb-function. | |
264 | | |
265 | Parameters : Primitiv | |
266 | | |
267 | Return : void | |
268 +------------------------------------------------------------------------------ | |
269 */ | |
270 | |
271 GLOBAL void psa_em_grlc_info_cnf (T_EM_GRLC_INFO_CNF *em_grlc_info_cnf) | |
272 { | |
273 TRACE_FUNCTION ("psa_em_grlc_info_cnf()"); | |
274 | |
275 em_Received_Data(em_grlc_info_cnf, EM_SUBCLASS_GRLC); | |
276 } | |
277 | |
278 | |
279 /* | |
280 +------------------------------------------------------------------------------ | |
281 | Function : psa_em_amr_info_cnf | |
282 +------------------------------------------------------------------------------ | |
283 | Description : Pars the AMR information data back to the initial | |
284 | function inside the customer specific MMI with a cb-function. | |
285 | | |
286 | Parameters : Primitive | |
287 | | |
288 | Return : void | |
289 +------------------------------------------------------------------------------ | |
290 */ | |
291 | |
292 GLOBAL void psa_em_amr_info_cnf (T_EM_AMR_INFO_CNF *em_amr_info_cnf) | |
293 { | |
294 TRACE_FUNCTION ("psa_em_amr_info_cnf()"); | |
295 | |
296 em_Received_Data(em_amr_info_cnf, EM_SUBCLASS_AMR); | |
297 } | |
298 #endif /* FF_EM_MODE */ | |
299 | |
300 /*+++++++++++++++++++++++++++++++++++++++++ E O F +++++++++++++++++++++++++++++++++++++++++*/ | |
301 |