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