FreeCalypso > hg > fc-tourmaline
annotate src/ui/bmi/mmiIdle.h @ 303:f76436d19a7a default tip
!GPRS config: fix long-standing AT+COPS chance hanging bug
There has been a long-standing bug in FreeCalypso going back years:
sometimes in the AT command bring-up sequence of an ACI-only MS,
the AT+COPS command would produce only a power scan followed by
cessation of protocol stack activity (only L1 ADC traces), instead
of the expected network search sequence. This behaviour was seen
in different FC firmware versions going back to Citrine, and seemed
to follow some law of chance, not reliably repeatable.
This bug has been tracked down and found to be specific to !GPRS
configuration, stemming from our TCS2/TCS3 hybrid and reconstruction
of !GPRS support that was bitrotten in TCS3.2/LoCosto version.
ACI module psa_mms.c, needed only for !GPRS, was missing in the TCS3
version and had to be pulled from TCS2 - but as it turns out,
there is a new field in the MMR_REG_REQ primitive that needs to be
set correctly, and that psa_mms.c module is the place where this
initialization needed to be added.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Jun 2023 08:23:37 +0000 |
parents | 62480f597962 |
children |
rev | line source |
---|---|
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /******************************************************************************* |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
3 CONDAT (UK) |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
5 ******************************************************************************** |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 This software product is the property of Condat (UK) Ltd and may not be |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
8 disclosed to any third party without the express permission of the owner. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
9 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ******************************************************************************** |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
12 $Project name: Basic MMI |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
13 $Project code: BMI (6349) |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
14 $Module: Call |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
15 $File: MmiIdle.h |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
16 $Revision: 1.0 |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
17 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
18 $Author: Condat(UK) |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
19 $Date: 25/10/00 |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
20 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 ******************************************************************************** |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
22 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 Description: |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
24 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 ******************************************************************************** |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 $History: MmiIdle.h |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 Mar 30, 2007 OMAPS00123019 a0393213(R.Prabakar0 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 Description : Reboot of the target when you unplug/plug USB cable using camera application |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
30 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
31 Oct 13, 2006 OMAPS00095266 a0393213(R.Prabakar) |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
32 Description : CT-GCF[27.22.4.22.1]-Incorrect string display |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
33 Solution : The DCS attribute is set dynamically |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
35 xashmic 27 Sep 2006, OMAPS00096389 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
36 ENH - a) Providing static menu for re-selection of enum options for enumeration |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
37 b) Popup menu displayed on connect event, can be enabled or disabled via menu option |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
38 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
39 xrashmic 9 Sep 2006, OMAPS00092732 |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
40 USBMS ER |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 July 12, 2006 REF:DR OMAPS00081477 x0047075 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
43 Description: SMS (with SMS Report Indicator +CDS Enabled) Reset Issue. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
44 Solution: Added a window handler for the sms status editor. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
45 If sms status editor does not exist, create it.If it already exists Update the same. |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
46 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 Jun 06, 2006 DR: OMAPS00080543 - xreddymn |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 Changes to display long SAT messages correctly on idle screen. |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 May 15, 2006 DR: OMAPS00075852 - xreddymn |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 Do not display messages on Idle screen when inside the dialer. |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
53 Mar 14, 2006 DR: OMAPS00061468 - x0035544. |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
54 Description: SAT 27.22.4.22.2 SET UP IDLE MODE TEXT (Icon support) fails |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
55 Solution : Added additional parameter to the prototype of addSatMessage() to hold the display type |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
56 for SAT idle text with icon support. |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
58 Sept 15, 2005 REF: CRR 32410 x0021334 |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
59 Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
60 Fix: A new timer expiry event is added and handled. |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 xrashmic 26 Aug, 2004 MMI-SPR-23931 |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
63 |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
64 25/10/00 Original Condat(UK) BMI version. |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
65 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 $End |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 *******************************************************************************/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 /* SPR#1428 - SH - New Editor changes */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 #ifdef NEW_EDITOR |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 #include "ATBCommon.h" |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 #include "ATBDisplay.h" |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 #include "ATBEditor.h" |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 #else |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 #include "mfw_edt.h" |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 #endif |
134
62480f597962
bmi headers: include case fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
92
diff
changeset
|
78 #include "mmiIcons.h" //for T_BITMAP |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 #ifndef _DEF_MMI_IDLE_H_ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 #define _DEF_MMI_IDLE_H_ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
83 #define EDITOR_SIZE 41 /* SPR761 - SH - Moved from MmiIdle.c, changed to 41 */ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 /* xreddymn OMAPS00080543 Jun-06-2006 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 * Maximum length allowed for SAT messages on Idle Screen. |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 #define MAX_SATMSG_LEN 296 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 typedef enum |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
91 { /* REASONS */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
92 IdleNone = IdleDummy, /* no reason */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
93 IdleNormal, /* normal idle mode */ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 IdleUpdate, |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 IdleSearchNetwork, |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 IdleNewSmsMessage, |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 IdleActiveKeyPadLocked, |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 IdleNewCBImmediateMessage, |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 IdleNewCBNormalMessage |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 } E_IDLE_TYPE; /*a0393213 warnings removal-typedef name given*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
102 // Sept 15, 2005 REF: CRR 32410 x0021334 |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
103 // Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
104 // Added a new enum member IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 typedef enum |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
106 { /* REASONS */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
107 IDLE_NO_NETWORK, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
108 IDLE_UPDATE, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
109 IDLE_NEW_SMS, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
110 IDLE_ACTIVE_KEY_PAD_LOCKED, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
111 IDLE_DETAILS_NUMBER, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
112 IDLE_DIALLING_INIT, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
113 IDLE_INFO_ENDED, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
114 IDLE_KEYPAD_LOCKED_UPDATE, |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
115 IDLE_START_DIALLING_NUMBER, |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
116 IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 } E_IDLE_EVENTS; /*a0393213 warnings removal-typedef name given*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 typedef enum |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 { |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 SHOWVERSION_INIT |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 } Version_events; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
125 #define SHOW_CPRS_DEACTIV 0 |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
126 #define SHOW_CPRS_ACITV 1 |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
127 #define DONT_SHOW_CPRS 2 //not allowed to show any indication |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 /* |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 * The information related to every window must be encapsulated in such an structure |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 typedef struct |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 { |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
134 T_MMI_CONTROL mmi_control; // this a common parameter in every structure |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
135 T_MFW_HND win; // windows handler, another common parameter |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
136 T_MFW_HND kbd; // To control all of the events, 2 handler are needed kbd that handles the key press |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
137 T_MFW_HND kbd_long; // event and kbd_long that handles the release and long key event. |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
138 #ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
139 T_ED_DATA *editor; |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
140 T_ED_DATA *editor_sat; |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
141 T_MFW_HND sms_status_editor; //July 12, 2006 REF:DR OMAPS00081477 x0047075 Fix:Handler for the sms status editor |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 #else /* NEW_EDITOR */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 T_MFW_HND edt; |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
144 T_MFW_HND edt_sat; /* SPR759 - SH*/ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 T_MFW_HND sms_status_edt; //July 12,2006 REF:DR OMAPS00081477 x0047075 Fix:Handler for the sms status editor |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 #endif /* NEW_EDITOR */ |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
147 T_MFW_HND info_win; |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
148 T_MFW_HND klck_win; // Keypad Locked Window Handler |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
149 int missedCalls; |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
150 int ems; //xrashmic 26 Aug, 2004 MMI-SPR-23931 |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
151 UBYTE search; |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
152 UBYTE flagIdle; |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 USHORT nm_status; |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
154 char edt_buf[EDITOR_SIZE]; /* SPR761 - SH - Changed from a number to a constant */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
155 #ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
156 T_ED_ATTR editor_attr; /* Dialling editor */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
157 T_ED_ATTR editor_attr2; /* CB editor */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
158 T_ED_ATTR editor_attr3; /* CLASS 0 SMS editor */ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
159 T_ED_ATTR editor_attr_sat; /* SAT & Homezone editor */ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 #else /* NEW_EDITOR */ |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
161 MfwEdtAttr edt_attr; //this one for the dialling editor |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
162 MfwEdtAttr edt_attr2; //this is for the CB editor |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
163 MfwEdtAttr edt_attr3; //this is for the (only CLASS 0) SMS editor |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
164 MfwEdtAttr edt_attr_sat; /* SPR759 - SH*/ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 #endif /* NEW_EDITOR */ |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
166 char imei[16]; |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 /* xreddymn OMAPS00075852 May-15-2006 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 * This will be set to TRUE when dialer is being displayed. |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 UBYTE dialer_visible; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 UBYTE new_sms; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 UBYTE new_cbch; |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
173 CHAR incoming_cb_msg[MAX_CBMSG_LEN]; |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
174 /*NM, p019*/ |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
175 CHAR incoming_sms_msg[MAX_MSG_LEN_SGL]; |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 UBYTE right_key_pressed; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 UBYTE silent_mode; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 UBYTE clean_screen; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 UBYTE ciphering; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 UBYTE starting_up; /*SPR#1662 - NH - New field for checking the start up status */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 /* xreddymn OMAPS00080543 Jun-06-2006 */ |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
182 CHAR incoming_sat_msg[MAX_SATMSG_LEN]; /* SPR759 - SH*/ |
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
183 T_BITMAP* idleNetLogo; //Background for idle screen - NULL if no background. |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
184 T_BITMAP * idleBgd; //Background image on the idle Screen |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
185 int defTextOffset; //start point for text (may vary with bitmap ?) |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 } T_idle; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 extern UBYTE KeyPadLock; |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 extern T_idle idle_data;/*Oct 13 2006, OMAPS00095266, a0393213(R.Prabakar)*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 #ifdef FF_MMI_USBMS |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 extern T_MFW_HND usb_opt_win; /*Mar 30, 2007 OMAPS00123019 a0393213(R.Prabakar)*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 #endif |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 /* PROTOTYPES */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 extern void wake_up_rr(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 void idleInit (MfwHnd parent); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 void idleExit (void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 void idleExec (int reason, MmiState next); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 void idleEvent(int reason); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 void idleDialBuffer(char* dialBuffer); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 MfwHnd idle_get_window(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 int idleIsFocussed(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 void idle_set_starting_up(UBYTE set); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 void windowsUpdate(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
209 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 void addMissedCall(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 void addNewEMS(void);//xrashmic 26 Aug, 2004 MMI-SPR-23931 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 void addCBCH(char* cbch_string, UBYTE type); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 void statusCBCH(UBYTE status); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
215 // 09-Dec-2005, Shashi Shekar B.S., a0876501, START |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
216 //x0035544 Mar 14, 2006 DR:OMAPS00061468 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
217 /* |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
218 **Sending additional parameter display_type to hold the display type for SAT Idle text with icon display |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
219 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
220 #ifdef FF_MMI_SAT_ICON |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
221 void addSatMessage(char *satMessage, UBYTE width, UBYTE height, |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
222 char *dst, UBYTE selfExplanatory, T_DISPLAY_TYPE display_type); |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
223 #else |
55
eca2202f630f
src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
224 void addSatMessage(char *satMessage); /* SPR759 - SH*/ |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
225 #endif |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
226 extern void showIMEI (T_MFW_HND win, char* IMEI); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
227 void idle_setBgdBitmap(int bmp); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
228 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
229 /* Added to remove warning Aug - 11 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
230 EXTERN U32 dspl_GetBorderColour ( void ); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
231 EXTERN U32 dspl_GetFgdColour ( void ); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
232 EXTERN U32 dspl_SetBorderColour (U32 inColour); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
233 EXTERN int dspl_GetContrastColour( int ipCol); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
234 EXTERN UBYTE sms_check_message_pending(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
235 EXTERN int M_callVoice(MfwMnu* m, MfwMnuItem* i); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
236 /* End - Remove warning Aug - 11 */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
237 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
238 #endif |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
239 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
240 #ifdef NEPTUNE_BOARD |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
241 #ifdef MMI_POWER_MANAGEMENT_TEST |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
242 /* Callback function for powermanagement timer. */ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
243 int powerManagementEvent( MfwEvt e, MfwTim *tc ); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
244 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
245 /*function for updating PM timer.*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
246 void mmi_update_pm_timer_duration(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
247 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
248 /*function to enable/disable Power Management .*/ |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
249 void mmi_pm_enable( int enable_pm); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
250 #endif |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
251 #endif |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
252 //xashmic 9 Sep 2006, OMAPS00092732 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
253 #ifdef FF_MMI_USBMS |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
254 void mmi_usb_mode_connect(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
255 void mmi_usb_mode_disconnect(void); |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
256 GLOBAL int mmi_usb_enumeration (MfwMnu* m, MfwMnuItem* i); |
92
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
257 GLOBAL int setUSBMSPS (MfwMnu* m, MfwMnuItem* i);//xashmic 27 Sep 2006, OMAPS00096389 |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
258 GLOBAL int setUSBMSPopup (MfwMnu* m, MfwMnuItem* i);//xashmic 27 Sep 2006, OMAPS00096389 |
c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents:
55
diff
changeset
|
259 UBYTE getUSBMSFlags(void);//xashmic 27 Sep 2006, OMAPS00096389 |
3
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
260 |
67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
261 #endif |