view src/aci2/mfw/mfw_mmi.h @ 662:8cd8fd15a095

SIM speed enhancement re-enabled and made configurable TI's original code supported SIM speed enhancement, but Openmoko had it disabled, and OM's disabling of speed enhancement somehow caused certain SIM cards to start working which didn't work before (OM's bug #666). Because our FC community is much smaller in year 2020 than OM's community was in their day, we are not able to find one of those #666-affected SIMs, thus the real issue they had encountered remains elusive. Thus our solution is to re-enable SIM speed enhancement and simply wait for if and when someone runs into a #666-affected SIM once again. We provide a SIM_allow_speed_enhancement global variable that allows SIM speed enhancement to be enabled or disabled per session, and an /etc/SIM_spenh file in FFS that allows it to enabled or disabled on a non-volatile basis. SIM speed enhancement is now enabled by default.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 May 2020 05:02:28 +0000
parents 93999a60b835
children
line wrap: on
line source

/*
+--------------------------------------------------------------------+
| PROJECT: MMI-Framework (8417)         $Workfile:: mfw_mmi.h       $|
| $Author:: Es  $ CONDAT GmbH           $Revision:: 3               $|
| CREATED: 21.09.98                     $Modtime:: 2.02.99 17:02    $|
| STATE  : code                                                      |
+--------------------------------------------------------------------+

   MODULE  : MFW_MMI

   PURPOSE : MMI MFW application

   EXPORT  :

   TO DO   :

   $History:: mfw_mmi.h                                             $
 * 
 * *****************  Version 3  *****************
 * User: Es           Date: 17.02.99   Time: 20:00
 * Updated in $/GSM/DEV/MS/SRC/MFW
 * 
 * *****************  Version 2  *****************
 * User: Es           Date: 8.02.99    Time: 19:07
 * Updated in $/GSM/DEV/MS/SRC/MFW
 * 
 * *****************  Version 1  *****************
 * User: Es           Date: 8.12.98    Time: 16:59
 * Created in $/GSM/DEV/MS/SRC/MFW
*/

#ifndef _DEF_MFW_MMI_H_
#define _DEF_MFW_MMI_H_


                                        /* PROTOTYPES               */
void mmi_main (void);
void mmiInit (void);
void mmiExit (void);


/************************************************************************

The following definitions are procedures in the BMI that are accessed by the MFW.

This header file should be included by any MFW procedure that calls a BMI function

and by the BMI procedures that define the functions to ensure that the definitions

match

************************************************************************/

/**********************/
/* From MMIResources  */
/**********************/

//Function to get string associated with an ID
char *MmiRsrcGetText( int Id );

//Functions to select/restore colour
void resources_setColour(unsigned int colIndex);
void resources_setSKColour(unsigned int colIndex);
void resources_setHLColour(unsigned int colIndex);
void resources_setTitleColour(unsigned int colIndex);

void resources_restoreColour( void );
void resources_restoreMnuColour(void);

void resources_setColourMnuItem( int txtId);

//Function to get the height allocated for the menu title
int res_getTitleHeight( void );


#endif