comparison g23m-aci/aci/cmh_emr.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 : This module provides the response functions related to the
18 | SAP for engineering mode.
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef ACI_EM_C
23 #define ACI_EM_C
24 #endif
25
26 #include "config.h"
27 #include "fixedconf.h"
28 #include "condat-features.h"
29 #include "aci_conf.h"
30
31 #include "aci_all.h"
32
33 /*===== INCLUDES ===================================================*/
34 #include "aci_cmh.h"
35
36 #include "psa.h"
37
38 #ifdef FAX_AND_DATA
39 #include "aci_fd.h"
40 #endif
41
42 #ifdef GPRS
43 #include "gprs.h"
44 #endif
45
46 #if (defined(FAX_AND_DATA) || defined(UART) || defined(GPRS))
47 #include "dti.h"
48 #include "dti_conn_mng.h"
49 #include "dti_cntrl_mng.h"
50 #endif
51
52 #include "cmh.h"
53 #include "cmh_snd.h"
54 #include "aci_em.h"
55 #include "cmh_em.h"
56
57
58 /*==== EXPORT =====================================================*/
59 /*==== VARIABLES ==================================================*/
60
61 EXTERN T_EM_SHRD_PRM emPrm;
62 EXTERN T_EM_SHRD_PRM emetPrm;
63 /* unused: EXTERN T_EM_SHRD_PRM emetsPrm; */
64
65 /*==== FUNCTIONS ==================================================*/
66 /*==== CONSTANTS ==================================================*/
67
68 GLOBAL void cmhEM( T_EM_VAL * val_tmp )
69 {
70 TRACE_FUNCTION ("cmhEM()");
71
72 R_AT( RAT_EM,(T_ACI_CMD_SRC) emPrm.srcId ) ( val_tmp );
73
74 R_AT( RAT_OK, (T_ACI_CMD_SRC) emPrm.srcId ) ( AT_CMD_EM );
75 }
76
77 GLOBAL void cmhEMET ( T_DRV_SIGNAL_EM_EVENT * Signal )
78 {
79 TRACE_FUNCTION ("cmhEMET()");
80
81 R_AT( RAT_EMET, (T_ACI_CMD_SRC) emetPrm.srcId ) ( Signal );
82
83 /* R_AT( RAT_OK, emetPrm.srcId ) ( AT_CMD_EMET ); */
84 }
85
86 /*
87 GLOBAL void cmhEMETS ( UBYTE entity )
88 {
89 TRACE_FUNCTION ("cmhEMETS()");
90
91 R_AT( RAT_OK, emetsPrm.srcId ) ( AT_CMD_EMETS );
92 }
93 */
94
95
96 /*+++++++++++++++++++++++++++++++++++++++++ E O F +++++++++++++++++++++++++++++++++++++++++*/
97