FreeCalypso > hg > fc-tourmaline
comparison src/ui/mfw/mfw_nmi.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children | 92abb46dc1ba |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJECT: GSM-MFW (?) $Workfile:: mfw_nmi.h $| | |
4 | $Author:: Vo $Revision:: 1 $| | |
5 | CREATED: 07.10.98 $Modtime:: 21.10.99 12:18 $| | |
6 | STATE : code | | |
7 +--------------------------------------------------------------------+ | |
8 | |
9 PURPOSE : Internal definitions for network management | |
10 | |
11 History | |
12 | |
13 May 31, 2007 DR: OMAPS00133201 x0pleela | |
14 Description: MS keeps searching networks and doesn't list available PLMNs after | |
15 performing manual selection | |
16 Solution : Modified the prototype of function nm_error_cops() | |
17 */ | |
18 | |
19 #ifndef DEF_MFW_NMI_HEADER | |
20 #define DEF_MFW_NMI_HEADER | |
21 | |
22 #define MAX_PREF_PLNM 8 | |
23 | |
24 #define MAX_PIN_COUNT 3 /* permit maximal entering for user */ | |
25 #define MAX_PUK_COUNT 5 | |
26 #define FIRST_SIM_INVAILD 1 | |
27 | |
28 #define SERVICE_OK 1 | |
29 #define SERVICE_FAILURE 0 | |
30 | |
31 #define CMD_NOT_PRESENT 0 | |
32 | |
33 | |
34 /* | |
35 * Network Control Block | |
36 */ | |
37 typedef struct | |
38 { | |
39 T_MFW_EVENT emask; /* events of interest */ | |
40 T_MFW_EVENT event; /* current event */ | |
41 T_MFW_CB handler; | |
42 T_MFW_NM_PARA para; | |
43 } T_MFW_NM; | |
44 | |
45 | |
46 EXTERN T_MFW_HND nm_install (T_MFW_HDR *w, | |
47 T_MFW_HDR *h, | |
48 T_MFW_NM *nm); | |
49 EXTERN T_MFW_RES nm_remove (T_MFW_HDR *h); | |
50 | |
51 | |
52 EXTERN void nm_activate (UBYTE result); | |
53 #ifdef FF_2TO1_PS | |
54 EXTERN void nm_mmi_parameters (T_SIM_imsi_field *imsi_field, | |
55 T_SIM_pref_plmn *pref_plmn); | |
56 #else | |
57 EXTERN void nm_mmi_parameters (T_imsi_field *imsi_field); | |
58 #endif | |
59 EXTERN void nm_spn_cnf (USHORT error, T_EF_SPN *efspn); | |
60 EXTERN void nm_ok_cops (void); | |
61 //x0pleela 30 May, 2007 DR: OMAPS00133201 | |
62 //Passing T_ACI_CME_ERR as parameter | |
63 EXTERN void nm_error_cops ( T_ACI_CME_ERR err ); | |
64 EXTERN void nm_req_imsi (UBYTE *imsi_id); | |
65 EXTERN T_MFW nm_reg_flag_req (void); | |
66 EXTERN void nm_ok_deregistration (void); | |
67 EXTERN void nm_ok_pref_plmn (void); | |
68 EXTERN void nm_error_pref_plmn (void); | |
69 EXTERN void nm_sat_file_update (USHORT dataId); | |
70 EXTERN void nm_ok_band (void); /*SPR919 - SH - added */ | |
71 | |
72 #endif | |
73 |