FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/cmh_mmit.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 | c77d5b1fd6a2 |
comparison
equal
deleted
inserted
replaced
774:40a721fd9854 | 775:eedbf248bac0 |
---|---|
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 "aci_all.h" | |
27 | |
28 /*==== INCLUDES ===================================================*/ | |
29 #include "aci_cmh.h" | |
30 #include "ati_cmd.h" | |
31 #include "aci_cmd.h" | |
32 #include "pcm.h" | |
33 | |
34 #ifdef FAX_AND_DATA | |
35 #include "aci_fd.h" | |
36 #endif /* of #ifdef FAX_AND_DATA */ | |
37 | |
38 #ifdef UART | |
39 #include "dti.h" /* functionality of the dti library */ | |
40 #include "dti_conn_mng.h" | |
41 #endif | |
42 | |
43 #include "psa.h" | |
44 #include "psa_sim.h" | |
45 #include "cmh.h" | |
46 #include "cmh_sim.h" | |
47 | |
48 /* #include "m_fac.h" */ | |
49 #include "aoc.h" | |
50 | |
51 /*==== CONSTANTS ==================================================*/ | |
52 | |
53 /*==== EXPORT =====================================================*/ | |
54 | |
55 /*==== VARIABLES ==================================================*/ | |
56 | |
57 /*==== FUNCTIONS ==================================================*/ | |
58 | |
59 /* | |
60 +--------------------------------------------------------------------+ | |
61 | PROJECT : GSM-PS (6147) MODULE : CMH_SSQ | | |
62 | STATE : code ROUTINE : tAT_PlusCLAN | | |
63 +--------------------------------------------------------------------+ | |
64 | |
65 PURPOSE : This is the functional counterpart to the +CLAN AT command | |
66 which is responsible for test supporetd language code in | |
67 ME. | |
68 */ | |
69 | |
70 GLOBAL T_ACI_RETURN tAT_PlusCLAN ( T_ACI_CMD_SRC srcId,SHORT *lastIdx, | |
71 T_ACI_LAN_SUP *lanlst ) | |
72 { | |
73 T_ACI_RETURN ret ; | |
74 TRACE_FUNCTION ("tAT_PlusCLAN()"); | |
75 | |
76 /* | |
77 *------------------------------------------------------------------- | |
78 * check command source | |
79 *------------------------------------------------------------------- | |
80 */ | |
81 if(!cmh_IsVldCmdSrc (srcId)) | |
82 { | |
83 return( AT_FAIL ); | |
84 } | |
85 /* | |
86 *------------------------------------------------------------------- | |
87 * read supported language from ME | |
88 *------------------------------------------------------------------- | |
89 */ | |
90 ret= getSupLangFromPCM(lanlst,lastIdx); | |
91 return(ret); | |
92 } | |
93 | |
94 /*==== EOF ========================================================*/ |