FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/ms/src/mfw/mfw_ssi.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_ssi.h $| | |
4 | $Author:: Vo $Revision:: 1 $| | |
5 | CREATED: 25.1.99 $Modtime:: 12.01.00 12:06 $| | |
6 | STATE : code | | |
7 +--------------------------------------------------------------------+ | |
8 | |
9 MODULE : MFW_SSI | |
10 | |
11 PURPOSE : Internal definitions for supplementary management of MMI framework | |
12 | |
13 | |
14 $History:: mfw_ssi.h $ | |
15 | |
16 July 23, 2005 REF : MMI-22565 - a0876501 | |
17 Description: IMEI CD byte calculation added | |
18 Solution: Byte alignment done for IMEI display. | |
19 | |
20 * | |
21 * ***************** Version 7 ***************** | |
22 * User: Vo Date: 14.01.00 Time: 20:17 | |
23 * Updated in $/GSM/Condat/MS/SRC/MFW | |
24 * | |
25 * ***************** Version 6 ***************** | |
26 * User: Vo Date: 13.09.99 Time: 10:36 | |
27 * Updated in $/GSM/DEV/MS/SRC/MFW | |
28 * new prototype | |
29 * | |
30 * ***************** Version 5 ***************** | |
31 * User: Vo Date: 30.08.99 Time: 11:45 | |
32 * Updated in $/GSM/DEV/MS/SRC/MFW | |
33 * add 'reason' in function ss_error_string() | |
34 * | |
35 * ***************** Version 4 ***************** | |
36 * User: Vo Date: 2.07.99 Time: 15:27 | |
37 * Updated in $/GSM/DEV/MS/SRC/MFW | |
38 * | |
39 * ***************** Version 3 ***************** | |
40 * User: Vo Date: 22.06.99 Time: 8:54 | |
41 * Updated in $/GSM/DEV/MS/SRC/MFW | |
42 * | |
43 * ***************** Version 2 ***************** | |
44 * User: Vo Date: 20.05.99 Time: 17:47 | |
45 * Updated in $/GSM/DEV/MS/SRC/MFW | |
46 * | |
47 * ***************** Version 1 ***************** | |
48 * User: Vo Date: 10.02.99 Time: 12:41 | |
49 * Created in $/GSM/DEV/MS/SRC/MFW | |
50 */ | |
51 | |
52 #ifndef DEF_MFW_SSI | |
53 #define DEF_MFW_SSI | |
54 | |
55 #include "ksd.h" | |
56 | |
57 typedef enum | |
58 { | |
59 MFW_MODUL_UNKNOWN = 0, | |
60 MFW_PHB, | |
61 MFW_SIM_CPIND, | |
62 MFW_SIM_CPINE | |
63 } T_MFW_SS_MODUL; | |
64 | |
65 /* SS Control Block */ | |
66 typedef struct | |
67 { | |
68 T_MFW_EVENT emask; /* events of interest */ | |
69 T_MFW_EVENT event; /* current event */ | |
70 T_MFW_CB handler; | |
71 T_MFW_SS_PARA para; | |
72 } T_MFW_SS; | |
73 | |
74 /* Supplementary services capabilities */ | |
75 typedef struct | |
76 { | |
77 UBYTE speech; /* speech support (vers. 1) */ | |
78 UBYTE data; /* Data support */ | |
79 UBYTE asyn; /* T Async data support */ | |
80 UBYTE syn; /* NT Sync data support */ | |
81 UBYTE aoc; | |
82 UBYTE dtmf; | |
83 UBYTE cf; | |
84 UBYTE cb; | |
85 UBYTE ussd; | |
86 UBYTE etc; | |
87 UBYTE clire; | |
88 UBYTE clipr; | |
89 } T_MFW_SS_SUPORT; | |
90 | |
91 T_MFW_SS_RETURN ss_decode (UBYTE *string, CHAR **rt, T_KSD_SEQPARAM *p); | |
92 void ss_notify (T_MFW_SS_NOTIFY_CODES code, | |
93 SHORT index, | |
94 UBYTE *number, | |
95 UBYTE *subaddr); | |
96 T_MFW ss_set_clck (T_ACI_CLCK_FAC fac, | |
97 T_ACI_CLCK_MOD mode, | |
98 CHAR *passwd, | |
99 T_ACI_CLASS class_type, | |
100 UBYTE modul); | |
101 void ss_command_info (T_ACI_CLOG* clog); | |
102 void ss_ok_string (T_ACI_AT_CMD cmdId); | |
103 void ss_error_string (T_ACI_AT_CMD cmdId, T_ACI_CME_ERR reason); | |
104 void ss_ok_clck (void); | |
105 void ss_error_clck (void); | |
106 void ss_ok_ussd (T_ACI_AT_CMD cmdId); | |
107 void ss_error_ussd (T_ACI_AT_CMD cmdId, T_ACI_CME_ERR reason); | |
108 T_MFW_SS_NOTIFY_CODES ss_cvtCssiCodes(T_ACI_CSSI_CODE code); | |
109 T_MFW_SS_NOTIFY_CODES ss_cvtCssuCodes(T_ACI_CSSU_CODE code); | |
110 | |
111 | |
112 // July 23, 2005 REF : MMI-22565 - a0876501 | |
113 UBYTE getCdByteFromImei(UBYTE *imei); | |
114 | |
115 #endif |