FreeCalypso > hg > freecalypso-citrine
comparison g23m-aci/aci/cmh_mmit.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 : GSM-PS (6147) | |
4 | Modul : CMH_MMIT | |
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 test functions related to the | |
18 | protocol stack adapter for the man machine interface. | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #ifndef CMH_MMIT_C | |
23 #define CMH_MMIT_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 #include "ati_cmd.h" | |
36 #include "aci_cmd.h" | |
37 #include "pcm.h" | |
38 | |
39 #ifdef FAX_AND_DATA | |
40 #include "aci_fd.h" | |
41 #endif /* of #ifdef FAX_AND_DATA */ | |
42 | |
43 #ifdef UART | |
44 #include "dti.h" /* functionality of the dti library */ | |
45 #include "dti_conn_mng.h" | |
46 #endif | |
47 | |
48 #include "psa.h" | |
49 #include "psa_sim.h" | |
50 #include "cmh.h" | |
51 #include "cmh_sim.h" | |
52 | |
53 /* #include "m_fac.h" */ | |
54 #include "aoc.h" | |
55 | |
56 /*==== CONSTANTS ==================================================*/ | |
57 | |
58 /*==== EXPORT =====================================================*/ | |
59 | |
60 /*==== VARIABLES ==================================================*/ | |
61 | |
62 /*==== FUNCTIONS ==================================================*/ | |
63 | |
64 /* | |
65 +--------------------------------------------------------------------+ | |
66 | PROJECT : GSM-PS (6147) MODULE : CMH_SSQ | | |
67 | STATE : code ROUTINE : tAT_PlusCLAN | | |
68 +--------------------------------------------------------------------+ | |
69 | |
70 PURPOSE : This is the functional counterpart to the +CLAN AT command | |
71 which is responsible for test supporetd language code in | |
72 ME. | |
73 */ | |
74 | |
75 GLOBAL T_ACI_RETURN tAT_PlusCLAN ( T_ACI_CMD_SRC srcId,SHORT *lastIdx, | |
76 T_ACI_LAN_SUP *lanlst ) | |
77 { | |
78 T_ACI_RETURN ret ; | |
79 TRACE_FUNCTION ("tAT_PlusCLAN()"); | |
80 | |
81 /* | |
82 *------------------------------------------------------------------- | |
83 * check command source | |
84 *------------------------------------------------------------------- | |
85 */ | |
86 if(!cmh_IsVldCmdSrc (srcId)) | |
87 { | |
88 return( AT_FAIL ); | |
89 } | |
90 /* | |
91 *------------------------------------------------------------------- | |
92 * read supported language from ME | |
93 *------------------------------------------------------------------- | |
94 */ | |
95 ret= getSupLangFromPCM(lanlst,lastIdx); | |
96 return(ret); | |
97 } | |
98 | |
99 /*==== EOF ========================================================*/ |