custom_mmi_default_value.h
上传用户:dengyu
上传日期:2022-05-01
资源大小:153k
文件大小:58k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2006
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*****************************************************************************
  36.  *
  37.  * Filename:
  38.  * ---------
  39.  * custom_mmi_default_value.h
  40.  *
  41.  * Project:
  42.  * --------
  43.  *   MAUI
  44.  *
  45.  * Description:
  46.  * ------------
  47.  *    This file is for customers to config/customize their parameters of MMI.
  48.  *
  49.  * Author:
  50.  * -------
  51.  * -------
  52.  *
  53.  *============================================================================
  54.  *             HISTORY
  55.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  56.  *------------------------------------------------------------------------------
  57.  * removed!
  58.  *
  59.  * removed!
  60.  * removed!
  61.  * removed!
  62.  *
  63.  * removed!
  64.  * removed!
  65.  * removed!
  66.  *
  67.  * removed!
  68.  * removed!
  69.  * removed!
  70.  *
  71.  * removed!
  72.  * removed!
  73.  * removed!
  74.  *
  75.  * removed!
  76.  * removed!
  77.  * removed!
  78.  *
  79.  * removed!
  80.  * removed!
  81.  * removed!
  82.  *
  83.  * removed!
  84.  * removed!
  85.  * removed!
  86.  *
  87.  * removed!
  88.  * removed!
  89.  * removed!
  90.  *
  91.  * removed!
  92.  * removed!
  93.  * removed!
  94.  *
  95.  * removed!
  96.  * removed!
  97.  * removed!
  98.  *
  99.  * removed!
  100.  * removed!
  101.  * removed!
  102.  *
  103.  * removed!
  104.  * removed!
  105.  * removed!
  106.  *
  107.  * removed!
  108.  * removed!
  109.  * removed!
  110.  *
  111.  * removed!
  112.  * removed!
  113.  * removed!
  114.  *
  115.  * removed!
  116.  * removed!
  117.  * removed!
  118.  *
  119.  * removed!
  120.  * removed!
  121.  * removed!
  122.  *
  123.  * removed!
  124.  * removed!
  125.  * removed!
  126.  *
  127.  * removed!
  128.  * removed!
  129.  * removed!
  130.  *
  131.  * removed!
  132.  * removed!
  133.  * removed!
  134.  *
  135.  * removed!
  136.  * removed!
  137.  * removed!
  138.  *
  139.  * removed!
  140.  * removed!
  141.  * removed!
  142.  *
  143.  * removed!
  144.  * removed!
  145.  * removed!
  146.  *
  147.  * removed!
  148.  * removed!
  149.  * removed!
  150.  *
  151.  * removed!
  152.  * removed!
  153.  * removed!
  154.  *
  155.  * removed!
  156.  * removed!
  157.  * removed!
  158.  *
  159.  * removed!
  160.  * removed!
  161.  * removed!
  162.  *
  163.  * removed!
  164.  * removed!
  165.  * removed!
  166.  *
  167.  * removed!
  168.  * removed!
  169.  * removed!
  170.  *
  171.  * removed!
  172.  * removed!
  173.  * removed!
  174.  *
  175.  * removed!
  176.  * removed!
  177.  * removed!
  178.  *
  179.  * removed!
  180.  * removed!
  181.  * removed!
  182.  *
  183.  * removed!
  184.  * removed!
  185.  * removed!
  186.  *
  187.  * removed!
  188.  * removed!
  189.  * removed!
  190.  *
  191.  * removed!
  192.  * removed!
  193.  * removed!
  194.  *
  195.  * removed!
  196.  * removed!
  197.  * removed!
  198.  *
  199.  * removed!
  200.  * removed!
  201.  * removed!
  202.  *
  203.  * removed!
  204.  * removed!
  205.  * removed!
  206.  *
  207.  * removed!
  208.  * removed!
  209.  * removed!
  210.  *
  211.  * removed!
  212.  * removed!
  213.  * removed!
  214.  *
  215.  * removed!
  216.  * removed!
  217.  * removed!
  218.  *
  219.  * removed!
  220.  * removed!
  221.  * removed!
  222.  *
  223.  * removed!
  224.  * removed!
  225.  * removed!
  226.  *
  227.  * removed!
  228.  * removed!
  229.  * removed!
  230.  *
  231.  * removed!
  232.  * removed!
  233.  * removed!
  234.  *
  235.  * removed!
  236.  * removed!
  237.  * removed!
  238.  *
  239.  * removed!
  240.  * removed!
  241.  * removed!
  242.  *
  243.  * removed!
  244.  * removed!
  245.  * removed!
  246.  *
  247.  * removed!
  248.  * removed!
  249.  * removed!
  250.  *
  251.  * removed!
  252.  * removed!
  253.  * removed!
  254.  *
  255.  * removed!
  256.  * removed!
  257.  * removed!
  258.  *
  259.  * removed!
  260.  * removed!
  261.  * removed!
  262.  *
  263.  * removed!
  264.  * removed!
  265.  * removed!
  266.  *
  267.  * removed!
  268.  * removed!
  269.  * removed!
  270.  *
  271.  * removed!
  272.  * removed!
  273.  * removed!
  274.  *
  275.  * removed!
  276.  * removed!
  277.  * removed!
  278.  *
  279.  * removed!
  280.  * removed!
  281.  * removed!
  282.  *
  283.  * removed!
  284.  * removed!
  285.  * removed!
  286.  *
  287.  * removed!
  288.  * removed!
  289.  * removed!
  290.  *
  291.  * removed!
  292.  * removed!
  293.  * removed!
  294.  *
  295.  * removed!
  296.  * removed!
  297.  * removed!
  298.  *
  299.  * removed!
  300.  * removed!
  301.  * removed!
  302.  *
  303.  * removed!
  304.  * removed!
  305.  * removed!
  306.  *
  307.  * removed!
  308.  * removed!
  309.  * removed!
  310.  *
  311.  * removed!
  312.  * removed!
  313.  * removed!
  314.  *
  315.  * removed!
  316.  * removed!
  317.  * removed!
  318.  *
  319.  * removed!
  320.  * removed!
  321.  * removed!
  322.  *
  323.  * removed!
  324.  * removed!
  325.  * removed!
  326.  *
  327.  * removed!
  328.  * removed!
  329.  * removed!
  330.  *
  331.  * removed!
  332.  * removed!
  333.  * removed!
  334.  *
  335.  * removed!
  336.  * removed!
  337.  * removed!
  338.  *
  339.  * removed!
  340.  * removed!
  341.  * removed!
  342.  *
  343.  * removed!
  344.  * removed!
  345.  * removed!
  346.  *
  347.  * removed!
  348.  * removed!
  349.  * removed!
  350.  *
  351.  * removed!
  352.  * removed!
  353.  * removed!
  354.  *
  355.  * removed!
  356.  * removed!
  357.  * removed!
  358.  *
  359.  * removed!
  360.  * removed!
  361.  * removed!
  362.  *
  363.  * removed!
  364.  * removed!
  365.  * removed!
  366.  *
  367.  * removed!
  368.  * removed!
  369.  * removed!
  370.  *
  371.  * removed!
  372.  * removed!
  373.  * removed!
  374.  *
  375.  * removed!
  376.  * removed!
  377.  * removed!
  378.  *
  379.  * removed!
  380.  * removed!
  381.  * removed!
  382.  *
  383.  * removed!
  384.  * removed!
  385.  * removed!
  386.  *
  387.  * removed!
  388.  * removed!
  389.  * removed!
  390.  *
  391.  * removed!
  392.  * removed!
  393.  * removed!
  394.  *
  395.  * removed!
  396.  * removed!
  397.  * removed!
  398.  *
  399.  * removed!
  400.  * removed!
  401.  * removed!
  402.  *
  403.  * removed!
  404.  * removed!
  405.  * removed!
  406.  *
  407.  * removed!
  408.  * removed!
  409.  * removed!
  410.  *
  411.  * removed!
  412.  * removed!
  413.  * removed!
  414.  *
  415.  * removed!
  416.  * removed!
  417.  * removed!
  418.  *
  419.  * removed!
  420.  * removed!
  421.  * removed!
  422.  *
  423.  * removed!
  424.  * removed!
  425.  * removed!
  426.  *
  427.  * removed!
  428.  * removed!
  429.  * removed!
  430.  *
  431.  * removed!
  432.  * removed!
  433.  * removed!
  434.  *
  435.  * removed!
  436.  * removed!
  437.  * removed!
  438.  *
  439.  * removed!
  440.  * removed!
  441.  * removed!
  442.  *
  443.  * removed!
  444.  * removed!
  445.  * removed!
  446.  *
  447.  * removed!
  448.  * removed!
  449.  * removed!
  450.  *
  451.  * removed!
  452.  * removed!
  453.  * removed!
  454.  *
  455.  * removed!
  456.  * removed!
  457.  * removed!
  458.  *
  459.  * removed!
  460.  * removed!
  461.  * removed!
  462.  *
  463.  * removed!
  464.  * removed!
  465.  * removed!
  466.  *
  467.  * removed!
  468.  * removed!
  469.  * removed!
  470.  *
  471.  * removed!
  472.  * removed!
  473.  * removed!
  474.  *
  475.  * removed!
  476.  * removed!
  477.  * removed!
  478.  *
  479.  * removed!
  480.  * removed!
  481.  * removed!
  482.  *
  483.  * removed!
  484.  * removed!
  485.  * removed!
  486.  *
  487.  * removed!
  488.  * removed!
  489.  * removed!
  490.  *
  491.  * removed!
  492.  * removed!
  493.  * removed!
  494.  *
  495.  * removed!
  496.  * removed!
  497.  * removed!
  498.  *
  499.  * removed!
  500.  * removed!
  501.  * removed!
  502.  *
  503.  * removed!
  504.  * removed!
  505.  * removed!
  506.  *
  507.  * removed!
  508.  * removed!
  509.  * removed!
  510.  *
  511.  * removed!
  512.  * removed!
  513.  * removed!
  514.  *
  515.  * removed!
  516.  * removed!
  517.  * removed!
  518.  *
  519.  * removed!
  520.  * removed!
  521.  * removed!
  522.  *
  523.  * removed!
  524.  * removed!
  525.  * removed!
  526.  *
  527.  * removed!
  528.  * removed!
  529.  * removed!
  530.  *
  531.  * removed!
  532.  * removed!
  533.  * removed!
  534.  *
  535.  * removed!
  536.  * removed!
  537.  * removed!
  538.  *
  539.  * removed!
  540.  * removed!
  541.  * removed!
  542.  *
  543.  * removed!
  544.  * removed!
  545.  * removed!
  546.  *
  547.  * removed!
  548.  * removed!
  549.  * removed!
  550.  *
  551.  * removed!
  552.  * removed!
  553.  * removed!
  554.  *
  555.  * removed!
  556.  * removed!
  557.  * removed!
  558.  *
  559.  * removed!
  560.  * removed!
  561.  * removed!
  562.  *
  563.  * removed!
  564.  * removed!
  565.  * removed!
  566.  *
  567.  * removed!
  568.  * removed!
  569.  * removed!
  570.  *
  571.  * removed!
  572.  * removed!
  573.  * removed!
  574.  *
  575.  * removed!
  576.  * removed!
  577.  * removed!
  578.  *
  579.  * removed!
  580.  * removed!
  581.  * removed!
  582.  *
  583.  * removed!
  584.  * removed!
  585.  * removed!
  586.  *
  587.  * removed!
  588.  * removed!
  589.  * removed!
  590.  *
  591.  * removed!
  592.  * removed!
  593.  * removed!
  594.  *
  595.  * removed!
  596.  * removed!
  597.  * removed!
  598.  *
  599.  * removed!
  600.  * removed!
  601.  * removed!
  602.  *
  603.  * removed!
  604.  * removed!
  605.  * removed!
  606.  *
  607.  * removed!
  608.  * removed!
  609.  * removed!
  610.  *
  611.  * removed!
  612.  * removed!
  613.  * removed!
  614.  *
  615.  * removed!
  616.  * removed!
  617.  * removed!
  618.  *
  619.  * removed!
  620.  * removed!
  621.  * removed!
  622.  *
  623.  * removed!
  624.  * removed!
  625.  * removed!
  626.  *
  627.  * removed!
  628.  * removed!
  629.  * removed!
  630.  *
  631.  * removed!
  632.  * removed!
  633.  * removed!
  634.  *
  635.  * removed!
  636.  * removed!
  637.  
  638.  * removed!
  639.  * removed!
  640.  * removed!
  641.  *
  642.  * removed!
  643.  * removed!
  644.  * removed!
  645.  *
  646.  * removed!
  647.  * removed!
  648.  * removed!
  649.  *
  650.  * removed!
  651.  * removed!
  652.  * removed!
  653.  *
  654.  * removed!
  655.  * removed!
  656.  * removed!
  657.  *
  658.  * removed!
  659.  * removed!
  660.  * removed!
  661.  *
  662.  * removed!
  663.  * removed!
  664.  * removed!
  665.  *
  666.  * removed!
  667.  * removed!
  668.  * removed!
  669.  *
  670.  * removed!
  671.  * removed!
  672.  * removed!
  673.  *
  674.  * removed!
  675.  * removed!
  676.  * removed!
  677.  *
  678.  * removed!
  679.  * removed!
  680.  * removed!
  681.  *
  682.  * removed!
  683.  * removed!
  684.  * removed!
  685.  *
  686.  * removed!
  687.  * removed!
  688.  * removed!
  689.  *
  690.  * removed!
  691.  * removed!
  692.  * removed!
  693.  *
  694.  * removed!
  695.  * removed!
  696.  * removed!
  697.  *
  698.  * removed!
  699.  * removed!
  700.  * removed!
  701.  *
  702.  * removed!
  703.  * removed!
  704.  * removed!
  705.  *
  706.  * removed!
  707.  * removed!
  708.  * removed!
  709.  *
  710.  * removed!
  711.  * removed!
  712.  * removed!
  713.  *
  714.  * removed!
  715.  * removed!
  716.  * removed!
  717.  *
  718.  * removed!
  719.  * removed!
  720.  * removed!
  721.  *
  722.  * removed!
  723.  * removed!
  724.  * removed!
  725.  *
  726.  * removed!
  727.  * removed!
  728.  * removed!
  729.  *
  730.  * removed!
  731.  * removed!
  732.  * removed!
  733.  *
  734.  * removed!
  735.  * removed!
  736.  * removed!
  737.  *
  738.  * removed!
  739.  * removed!
  740.  * removed!
  741.  *
  742.  * removed!
  743.  * removed!
  744.  * removed!
  745.  *
  746.  * removed!
  747.  * removed!
  748.  * removed!
  749.  *
  750.  * removed!
  751.  * removed!
  752.  * removed!
  753.  *
  754.  * removed!
  755.  * removed!
  756.  * removed!
  757.  *
  758.  * removed!
  759.  * removed!
  760.  * removed!
  761.  *
  762.  * removed!
  763.  * removed!
  764.  * removed!
  765.  *
  766.  * removed!
  767.  * removed!
  768.  * removed!
  769.  *
  770.  * removed!
  771.  * removed!
  772.  * removed!
  773.  *
  774.  * removed!
  775.  * removed!
  776.  * removed!
  777.  *
  778.  * removed!
  779.  * removed!
  780.  * removed!
  781.  *
  782.  * removed!
  783.  * removed!
  784.  * removed!
  785.  *
  786.  * removed!
  787.  * removed!
  788.  * removed!
  789.  *
  790.  * removed!
  791.  * removed!
  792.  * removed!
  793.  *
  794.  * removed!
  795.  * removed!
  796.  * removed!
  797.  *
  798.  * removed!
  799.  * removed!
  800.  * removed!
  801.  *
  802.  * removed!
  803.  * removed!
  804.  * removed!
  805.  *
  806.  * removed!
  807.  * removed!
  808.  * removed!
  809.  *
  810.  * removed!
  811.  * removed!
  812.  * removed!
  813.  *
  814.  * removed!
  815.  * removed!
  816.  * removed!
  817.  *
  818.  * removed!
  819.  * removed!
  820.  * removed!
  821.  *
  822.  * removed!
  823.  * removed!
  824.  * removed!
  825.  *
  826.  * removed!
  827.  * removed!
  828.  * removed!
  829.  *
  830.  * removed!
  831.  * removed!
  832.  * removed!
  833.  *
  834.  * removed!
  835.  * removed!
  836.  * removed!
  837.  *
  838.  * removed!
  839.  * removed!
  840.  * removed!
  841.  *
  842.  * removed!
  843.  * removed!
  844.  * removed!
  845.  *
  846.  * removed!
  847.  * removed!
  848.  * removed!
  849.  *
  850.  * removed!
  851.  * removed!
  852.  * removed!
  853.  *
  854.  * removed!
  855.  * removed!
  856.  * removed!
  857.  *
  858.  * removed!
  859.  * removed!
  860.  * removed!
  861.  *
  862.  *------------------------------------------------------------------------------
  863.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  864.  *============================================================================
  865.  ****************************************************************************/
  866. #ifndef CUSTOM_MMI_DEFAULT_VALUE_H
  867. #define CUSTOM_MMI_DEFAULT_VALUE_H
  868. #include "kal_non_specific_general_types.h"
  869. #if !defined(__MAUI_BASIC__) && !defined(__L1_STANDALONE__)
  870. #include "mcd_l4_common.h"
  871. #endif 
  872. #include "customer_ps_inc.h"
  873. #if !defined(__MTK_TARGET__) || defined(NVRAM_AUTO_GEN)
  874. #define __align(x)
  875. #endif 
  876. #define ENCODING_LENGTH       2
  877. /*
  878.  * Theme
  879.  */
  880. #if defined(__MMI_THEMES_V2_SUPPORT__)
  881. #define DefaultThmID             1
  882. #define DefaultThmIndex          0
  883. #define MAX_ENTER_ADDRESS_SIZE    255
  884. #define MAX_URL_ENTRIES 5
  885. typedef struct
  886. {
  887.     kal_uint16 total_entries;
  888.     kal_int8 g_thm_recent_url[MAX_URL_ENTRIES][(MAX_ENTER_ADDRESS_SIZE + 1)];
  889. } thm_nvram_download_list;
  890. #endif /* defined(__MMI_DOWNLOADABLE_THEMES_SUPPORT__) */ 
  891. /* 
  892.  * profile {
  893.  */
  894. #define MAX_ELEMENTS 7
  895. #define LEVEL1 0
  896. #define LEVEL2 1
  897. #define LEVEL3 2
  898. #define LEVEL4 3
  899. #define LEVEL5 4
  900. #define LEVEL6 5
  901. #define LEVEL7 6
  902. #define NO_COLOR 0
  903. #define COLOR_PATTERN1 1
  904. #define COLOR_PATTERN2 2
  905. #define COLOR_PATTERN3 3
  906. #define COLOR_PATTERN4 4
  907. #define COLOR_PATTERN5 5
  908. #define COLOR_PATTERN6 6
  909. #define SINGLE    0
  910. #define REPEAT  1
  911. #define ASCENDING 2
  912. #define KEYPAD_CLICK 1
  913. #define KEYPAD_TONE 2
  914. #define KEYPAD_TONE_HUMAN_VOICE_1 3
  915. #define KEYPAD_TONE_HUMAN_VOICE_2 4
  916. #define KEYPAD_TONE_HUMAN_VOICE_3 5
  917. #define KEYPAD_TONE_HUMAN_VOICE_4 6
  918. #define KEYPAD_TONE_HUMAN_VOICE_5 7
  919. #define KEYPAD_TONE_HUMAN_VOICE_6 8
  920. #define KEYPAD_TONE_CUST_1 9
  921. #define KEYPAD_TONE_CUST_2 10
  922. #define KEYPAD_TONE_CUST_3 11
  923. #define KEYPAD_TONE_CUST_4 12
  924. #define KEYPAD_TONE_CUST_5 13
  925. #define KEYPAD_TONE_CUST_6 14
  926. #define THEME_DEFAULT 0
  927. #define SMALL 1
  928. #define MEDIUM 2
  929. #define LARGE 3
  930. #define MAX_ACTIVITIES_PER_DAY 10
  931. #define NUMBER_OF_WEEKDAYS 7
  932. /* This should be in sync with resource_audio.h. Or else "resource_audio.h" should be included. */
  933. #define MIN_MIDI_ID           151
  934. typedef enum
  935. {
  936.     MMI_ALERT_NONE,
  937.     MMI_RING,
  938.     MMI_VIBRATION_ONLY,
  939.     MMI_VIBRATION_AND_RING,
  940.     MMI_VIBRATION_THEN_RING,
  941.     MMI_SILENT
  942. } MMI_ALERT_TYPE;
  943. #ifdef __MMI_CONNECT_NOTICE__
  944. typedef enum
  945. {
  946.     MMI_NOTICE_NONE,
  947.     MMI_NOTICE_TONE_ONLY,
  948.     MMI_NOTICE_VIB_ONLY,
  949.     MMI_NOTICE_TONE_AND_VIB
  950. } MMI_CONNECT_NOTICE_TYPE;
  951. #endif /* __MMI_CONNECT_NOTICE__ */ 
  952. typedef struct
  953. {
  954.     kal_uint8 setsec;
  955. } SET_TIMER;
  956. typedef struct
  957. {
  958.     kal_uint8 status;
  959.     unsigned short lcdBacklight;
  960.     SET_TIMER timer;
  961. } LIGHT;
  962. typedef struct
  963. {
  964.     kal_uint16 ringTone;
  965.     kal_uint16 videoCallTone;
  966.     kal_uint16 IMPSContactOnlineTone;
  967.     kal_uint16 IMPSNewMessageTone;
  968.     kal_uint16 IMPSNewInvitationTone;
  969.     kal_uint16 IMPSChatroomNotificationTone;    
  970.     kal_int16 powerOffTone;
  971.     kal_int16 powerOnTone;
  972.     kal_int16 coverOpenTone;
  973.     kal_int16 coverCloseTone;
  974.     kal_int16 messageTone;
  975.     kal_int16 mmsTone;
  976.     kal_int16 smsTone;
  977.     kal_int16 emailTone;
  978.     kal_int16 voiceTone;    
  979.     kal_uint8 keypadTone;
  980.     kal_uint16 alarmTone;
  981.     kal_uint16 card2_ringTone;
  982.     kal_int16 card2_messageTone;
  983. } TONE_SETUP;
  984. typedef struct
  985. {
  986.     unsigned short coverAnswer;
  987.     unsigned short anyKey;
  988.     unsigned short automatic;
  989. } MMI_ANSWERING_MODE;
  990. typedef struct
  991. {
  992.     unsigned short errorTone;
  993.     unsigned short connectTone;
  994.     unsigned short campOnTone;
  995.     unsigned short warningTone;
  996. } EXTRA_TONE;
  997. typedef enum
  998. {
  999.     MMI_INTELLIGENT_CALL_ALERT_OFF,
  1000.     MMI_INTELLIGENT_CALL_ALERT_ON
  1001. } MMI_INTELLIGENT_CALL_ALERT_TYPE;
  1002. typedef struct
  1003. {
  1004.     kal_uint8 ringVolumeLevel;
  1005.     kal_uint8 keypadVolumeLevel;
  1006.     kal_uint8 loudSpeakerVolumeLevel;
  1007.     MMI_ALERT_TYPE mtCallAlertTypeEnum;
  1008.     LIGHT light;
  1009.     kal_uint8 impsStatus;
  1010.     kal_uint8 ringTypeEnum;
  1011.     TONE_SETUP toneSetup;
  1012.     MMI_ANSWERING_MODE answeringMode;
  1013.     kal_uint8 fontSizeEnum;
  1014.     MMI_INTELLIGENT_CALL_ALERT_TYPE intelligentCallAlert;
  1015.     EXTRA_TONE extraTone;
  1016. } PROFILE;
  1017. /* } */
  1018. /* 
  1019.  * phonebook {
  1020.  */
  1021. #if defined(__MMI_PHB_MAX_NAME_60__)
  1022. #define MAX_PB_NAME_LENGTH    60
  1023. #else 
  1024. #define MAX_PB_NAME_LENGTH    30        /* Max character in name field on the ME */
  1025. #endif 
  1026. #define MAX_PB_NUMBER_LENGTH  40        /* Max character in number field on the ME */
  1027. #define MAX_PB_EMAIL_LENGTH      MMI_EMAIL_MAX_ADDR_LEN
  1028. #define MAX_PB_BDAY_LENGTH       12
  1029. #define MAX_PB_TITLE_LENGTH      20
  1030. #define MAX_PB_COMPANY_LENGTH 20
  1031. #define MAX_PB_URL_LENGTH        128
  1032. #define MAX_PB_ADDRESS_LENGTH 25
  1033. #define MAX_PB_NOTE_LENGTH    30
  1034. #define MAX_PB_IMPS_LENGTH    61
  1035. #define MAX_PB_POC_LENGTH        62
  1036. #define MAX_SPEED_DIAL_NUMBER 8
  1037. #define MAX_GRP_NAME_LENGTH      20     /* Caller Group Name Length, Should smaller than PHB name Length. (Share temp buffer.) */
  1038. #define MAX_PB_CALLER_GROUPS   5
  1039. #define MAX_PB_MANDATORY_FIELDS  2
  1040. #define MAX_PB_VIEW_FIELDS       (MMI_PHB_FIELD_TOTAL - MAX_PB_MANDATORY_FIELDS)        /* Exclude mandatory field */
  1041. #ifdef __MMI_PHB_ICE_CONTACT__
  1042. #define MMI_PHB_ICE_CONTACT_COUNT 3
  1043. #endif
  1044. /* The enum decide the order of phonebook fields */
  1045. typedef enum
  1046. {
  1047.     MMI_PHB_FIELD_NAME,     /* Don't change this order */
  1048.     MMI_PHB_FIELD_NUMBER,   /* Don't change this order */
  1049. #if !defined(__MMI_PHB_NO_OPTIONAL_FIELD__)
  1050.     MMI_PHB_FIELD_HOME,
  1051.     MMI_PHB_FIELD_COMPANY_NAME,
  1052.     MMI_PHB_FIELD_EMAIL,
  1053. #if defined(__MMI_PHB_OPTIONAL_FIELDS_2ND_EMAIL__)
  1054.     MMI_PHB_FIELD_EMAIL2,
  1055. #endif
  1056.     MMI_PHB_FIELD_OFFICE,
  1057.     MMI_PHB_FIELD_FAX,
  1058. #endif /* !defined(__MMI_PHB_NO_OPTIONAL_FIELD__) */ 
  1059. #if defined(__MMI_PHB_BIRTHDAY_FIELD__)
  1060.     MMI_PHB_FIELD_BIRTHDAY,
  1061. #endif 
  1062. #if defined(__MMI_PHB_PREFERRED_NUMBER_FIELD__)
  1063.     MMI_PHB_FIELD_PREFERRED_NUMBER,
  1064. #endif
  1065.     MMI_PHB_FIELD_PIC,
  1066. #if defined(__MMI_INCOMING_CALL_VIDEO__)
  1067.     MMI_PHB_FIELD_VIDEO,
  1068. #endif 
  1069.     MMI_PHB_FIELD_RING,
  1070.     MMI_PHB_FIELD_GROUP,
  1071. #ifndef __MMI_PHB_UI_IN_TABS__
  1072. #if defined(__MMI_IMPS__)
  1073.     MMI_PHB_FIELD_IMPS,
  1074. #endif
  1075. #if defined(__MMI_PHB_POC_FIELD__)
  1076.     MMI_PHB_FIELD_POC,
  1077. #endif
  1078. #if defined(__MMI_VOIP__)
  1079.     MMI_PHB_FIELD_VOIP,
  1080. #endif
  1081. #if defined(__MMI_PHB_INFO_FIELD__)
  1082.     MMI_PHB_FIELD_TITLE,
  1083.     MMI_PHB_FIELD_URL,
  1084.     MMI_PHB_FIELD_ADR_POBOX,
  1085.     MMI_PHB_FIELD_ADR_EXTENSION,
  1086.     MMI_PHB_FIELD_ADR_STREET,
  1087.     MMI_PHB_FIELD_ADR_CITY,
  1088.     MMI_PHB_FIELD_ADR_STATE,
  1089.     MMI_PHB_FIELD_ADR_POSTALCODE,
  1090.     MMI_PHB_FIELD_ADR_COUNTRY,
  1091.     MMI_PHB_FIELD_NOTE,
  1092. #endif /* defined(__MMI_PHB_INFO_FIELD__) */ 
  1093. #endif /* __MMI_PHB_UI_IN_TABS__ */
  1094.     MMI_PHB_FIELD_TOTAL
  1095. } MMI_PHB_FIELD_ORDER_ENUM;
  1096. #ifdef __MMI_PHB_UI_IN_TABS__
  1097. /* The enum decide the order of phonebook fields */
  1098. typedef enum
  1099. {
  1100. #if defined(__MMI_PHB_INFO_FIELD__)
  1101.     MMI_PHB_FIELD_TITLE,
  1102.     MMI_PHB_FIELD_URL,
  1103.     MMI_PHB_FIELD_ADR_POBOX,
  1104.     MMI_PHB_FIELD_ADR_EXTENSION,
  1105.     MMI_PHB_FIELD_ADR_STREET,
  1106.     MMI_PHB_FIELD_ADR_CITY,
  1107.     MMI_PHB_FIELD_ADR_STATE,
  1108.     MMI_PHB_FIELD_ADR_POSTALCODE,
  1109.     MMI_PHB_FIELD_ADR_COUNTRY,
  1110.     MMI_PHB_FIELD_NOTE,
  1111. #endif /* defined(__MMI_PHB_INFO_FIELD__) */ 
  1112.     MMI_PHB_EXTRA_FIELD_TOTAL
  1113. } MMI_PHB_EXTRA_FIELD_ORDER_ENUM;
  1114. typedef enum
  1115. {
  1116. #if defined(__MMI_IMPS__)
  1117.     MMI_PHB_FIELD_IMPS,
  1118. #endif
  1119. #if defined(__MMI_PHB_POC_FIELD__)
  1120.     MMI_PHB_FIELD_POC,
  1121. #endif
  1122. #if defined(__MMI_VOIP__)
  1123.     MMI_PHB_FIELD_VOIP,
  1124. #endif
  1125.     MMI_PHB_SERVICE_FIELD_TOTAL
  1126. } MMI_PHB_SERVICE_FIELD_TOTAL_ENUM;
  1127. #endif /* __MMI_PHB_UI_IN_TABS__ */
  1128. typedef struct
  1129. {
  1130.     kal_uint8 type;
  1131.     kal_uint8 storage;
  1132.     kal_uint16 record_index;
  1133.     kal_uint8 number[(MAX_PB_NUMBER_LENGTH + 1 + 1) *ENCODING_LENGTH];
  1134.     kal_uint8 name[(MAX_PB_NAME_LENGTH + 1) *ENCODING_LENGTH];
  1135. } SpeedDialInfo;
  1136. /* phonebook vip contact */
  1137. typedef struct
  1138. {
  1139.     kal_uint8 is_synced;
  1140.     kal_uint8 num_type;
  1141.     kal_uint16 store_index;
  1142.     kal_uint8 name[(MAX_PB_NAME_LENGTH + 1) * ENCODING_LENGTH];
  1143.     kal_uint8 number[(MAX_PB_NUMBER_LENGTH + 1 + 1) * ENCODING_LENGTH];
  1144. } PHB_VIP_CONTACT_INFO;
  1145. /* phonebook vip contact */
  1146. typedef struct
  1147. {
  1148.     kal_uint8 groupName[(MAX_GRP_NAME_LENGTH + 1) *ENCODING_LENGTH];
  1149.     kal_uint16 ringToneID;
  1150.     kal_uint16 pictureTagID;
  1151.     kal_uint16 LEDPatternId;
  1152.     kal_uint16 VideoID; /* Originally "entryCount" is obselete, so change to store VideoID */
  1153.     kal_uint8 alertType;
  1154.     kal_uint8 is_modified;
  1155. } PHB_CALLER_GROUP_STRUCT;
  1156. typedef struct
  1157. {
  1158.     kal_uint16 pictureTagID;
  1159.     kal_uint16 ringToneID;
  1160.     kal_uint8 callerGroupID;
  1161. #if defined(__MMI_PHB_PREFERRED_NUMBER_FIELD__)
  1162.     kal_uint8 preferredNumber;
  1163. #endif
  1164. } PHB_OPTIONAL_IDS_STRUCT;
  1165. /* } */
  1166. /* 
  1167.  * ToDoList {
  1168.  */
  1169. #ifdef __ASCII
  1170. #define ENCODING_LENGTH       1
  1171. #endif 
  1172. #ifdef __UCS2_ENCODING
  1173. #define ENCODING_LENGTH       2
  1174. #endif 
  1175. #define MAX_TODO_NOTE_LEN           36
  1176. #define  MAX_TODO_LIST_NOTE            MAX_TODO_NOTE_LEN * ENCODING_LENGTH
  1177. #define MAX_TDL_DETAILS_LEN                          (100)
  1178. #define MAX_DAY_IN_WEEK             7
  1179. #define MAX_TODO_LIST_TASK          10
  1180. typedef struct MYTIME
  1181. {
  1182.     kal_uint16 nYear;
  1183.     kal_uint8 nMonth;
  1184.     kal_uint8 nDay;
  1185.     kal_uint8 nHour;
  1186.     kal_uint8 nMin;
  1187.     kal_uint8 nSec;
  1188.     kal_uint8 DayIndex; /* 0=Sunday */
  1189. } MYTIME;
  1190. typedef struct
  1191. {
  1192.     /* The order shouldnot be changed */
  1193.     MYTIME start_time;
  1194.     MYTIME end_time;  
  1195.     
  1196.     /* If alarm_type is "custom", then this field present the alarm time user prefered. */
  1197.     MYTIME alarm_time;                      
  1198.     kal_uint8 present;
  1199.     kal_uint8 repeat; 
  1200.     kal_uint8 days;                         /* Week days */
  1201.     kal_uint8 alarm_type;                   /* Weather alarm_type is On or Off or other values */
  1202.     kal_uint8 category;                     /* meeting, course, call, ... */
  1203.     kal_uint8 snooze;                       /* snooze count */
  1204.     kal_uint8 priority;                     /* priority of task */    
  1205.     kal_uint8 status;
  1206.     kal_uint8 subject[MAX_TODO_LIST_NOTE];  /* subject of an Task */
  1207. }tdl_init_struct;  /* Total 102 bytes */
  1208. typedef struct
  1209. {
  1210.     /* The order shouldnot be changed start */
  1211.     MYTIME start_time;                     
  1212.     MYTIME end_time;  
  1213.     
  1214.     /* If alarm_type is "custom", then this field present the alarm time user prefered. */
  1215.     MYTIME alarm_time;                      
  1216.     kal_uint8 present;
  1217.     kal_uint8 repeat; 
  1218.     kal_uint8 days;                         /* Week days */
  1219.     kal_uint8 alarm_type;                   /* Weather alarm_type is On or Off or other values */
  1220.     kal_uint8 category;                     /* meeting, course, call, ... */
  1221.     kal_uint8 snooze;                       /* snooze count */
  1222.     kal_uint8 priority;                     /* priority of task */    
  1223.     kal_uint8 status;
  1224.     kal_uint8 subject[MAX_TODO_LIST_NOTE];  /* subject of an Task */
  1225.     /* The order shouldnot be changed end */
  1226.     kal_uint8 location[MAX_TODO_LIST_NOTE]; /* location of an Task */
  1227.     kal_uint8 details[(MAX_TDL_DETAILS_LEN + 1) * ENCODING_LENGTH];
  1228.     MYTIME complete_time;                   /* complete time */
  1229. } ToDoListNode; /*  Total Size is 384 Bytes. */
  1230. #define NVRAM_TODO_LIST_RECORD_SIZE    sizeof(ToDoListNode)
  1231. #define NVRAM_TODO_LIST_RECORD_TOTAL      NUM_OF_TDL
  1232. typedef struct
  1233. {
  1234. kal_uint8 pbName[(MAX_PB_NAME_LENGTH + 1) * ENCODING_LENGTH];
  1235. kal_uint8 pbNumber[MAX_PB_NUMBER_LENGTH + 1];
  1236. kal_uint16 bday_year;
  1237.     kal_uint8  bday_month;
  1238.     kal_uint8  bday_day;
  1239. kal_uint16 phb_idx;
  1240. kal_uint8  reminder;
  1241. kal_uint8  present;
  1242. kal_uint8  del_flag;
  1243. } nvram_ef_tdl_br_struct;
  1244. #define NVRAM_EF_TDL_BR_SIZE    sizeof(nvram_ef_tdl_br_struct)
  1245. #define NVRAM_EF_TDL_BR_TOTAL  100 /* the max birthday cpacity */
  1246. /* 
  1247.  * Download image {
  1248.  */
  1249. #define MAX_IMAGE_NAME_EXTENSION_WIDTH    (5*ENCODING_LENGTH)
  1250. #define MAX_IMAGE_NAME_WIDTH           ((13*ENCODING_LENGTH)   +  MAX_IMAGE_NAME_EXTENSION_WIDTH + ENCODING_LENGTH)
  1251. typedef struct
  1252. {
  1253.     kal_uint8 ImageName[MAX_IMAGE_NAME_WIDTH];
  1254.     kal_int32 ImagesId;
  1255. } DYNIMAGEINFO;
  1256. /* } */
  1257. /* 
  1258.  * downloaded/composed audio {
  1259.  */
  1260. #define MAX_IMAGE_NAME_EXTENSION_WIDTH    (5*ENCODING_LENGTH)
  1261. #define MAX_AUDIO_NAME_WIDTH           ((13*ENCODING_LENGTH)   +  MAX_IMAGE_NAME_EXTENSION_WIDTH + ENCODING_LENGTH)
  1262. typedef struct
  1263. {
  1264.     kal_uint8 AudioName[MAX_AUDIO_NAME_WIDTH];
  1265.     kal_uint16 AudioId;
  1266. } DYNAUDIOINFO;
  1267. /* } */
  1268. /* 
  1269.  * SMS {
  1270.  */
  1271. #ifdef GEN_FOR_PC
  1272. #define SMS_CB_MAX_ENTRY      10
  1273. #define SMS_CB_ONE_MSG_LEN    162
  1274. #define MAX_EMS_DOWNLOAD_OBJECT_NAME_LEN     13
  1275. typedef struct CB_CHANNEL_INDEX
  1276. {
  1277.     kal_uint8 L4Index[SMS_CB_MAX_ENTRY];
  1278. } CB_CHANNEL_INDEX;
  1279. typedef struct CB_CHANNEL_NAME
  1280. {
  1281.     kal_uint8 NameDCS;
  1282.     kal_uint8 Name[16];
  1283. } CB_CHANNEL_NAME;
  1284. typedef struct CB_MESSAGE_LENGTH
  1285. {
  1286.     kal_uint16 CBMessageLength[5];
  1287. } CB_MESSAGE_LENGTH;
  1288. typedef struct CB_MESSAGE_CONTENT
  1289. {
  1290.     kal_uint8 CBMessageContent[SMS_CB_ONE_MSG_LEN];
  1291. } CB_MESSAGE_CONTENT;
  1292. typedef struct EMS_OBJECT_NAME
  1293. {
  1294.     kal_uint8 object_name[(MAX_EMS_DOWNLOAD_OBJECT_NAME_LEN *ENCODING_LENGTH) + ENCODING_LENGTH];
  1295. } EMS_OBJECT_NAME;
  1296. typedef struct
  1297. {
  1298.     EMS_OBJECT_NAME emsPictureNames1;
  1299.     EMS_OBJECT_NAME emsPictureNames2;
  1300.     EMS_OBJECT_NAME emsPictureNames3;
  1301.     EMS_OBJECT_NAME emsPictureNames4;
  1302.     EMS_OBJECT_NAME emsPictureNames5;
  1303. } nvram_ems_my_picture_name_struct;
  1304. typedef struct
  1305. {
  1306.     EMS_OBJECT_NAME emsAnimationNames1;
  1307.     EMS_OBJECT_NAME emsAnimationNames2;
  1308.     EMS_OBJECT_NAME emsAnimationNames3;
  1309.     EMS_OBJECT_NAME emsAnimationNames4;
  1310.     EMS_OBJECT_NAME emsAnimationNames5;
  1311. } nvram_ems_my_animation_name_struct;
  1312. typedef struct
  1313. {
  1314.     EMS_OBJECT_NAME emsMelodyNames1;
  1315.     EMS_OBJECT_NAME emsMelodyNames2;
  1316.     EMS_OBJECT_NAME emsMelodyNames3;
  1317.     EMS_OBJECT_NAME emsMelodyNames4;
  1318.     EMS_OBJECT_NAME emsMelodyNames5;
  1319. } nvram_ems_my_melody_name_struct;
  1320. typedef struct
  1321. {
  1322.     CB_CHANNEL_INDEX l4MidIndex;
  1323.     CB_CHANNEL_NAME chnlNames1;
  1324.     CB_CHANNEL_NAME chnlNames2;
  1325.     CB_CHANNEL_NAME chnlNames3;
  1326.     CB_CHANNEL_NAME chnlNames4;
  1327.     CB_CHANNEL_NAME chnlNames5;
  1328.     CB_CHANNEL_NAME chnlNames6;
  1329.     CB_CHANNEL_NAME chnlNames7;
  1330.     CB_CHANNEL_NAME chnlNames8;
  1331.     CB_CHANNEL_NAME chnlNames9;
  1332.     CB_CHANNEL_NAME chnlNames10;
  1333. } nvram_sms_cb_chnl_struct;
  1334. #endif /* GEN_FOR_PC */ 
  1335. /* } */
  1336. /*
  1337.  * alarm use 
  1338.  */
  1339. /* number of theme is always 1 */
  1340. #define  NUM_OF_THM_ALM          1
  1341. /* number range of tdl is 1~50, because of limitation of category */
  1342. #define  NUM_OF_TDL           50
  1343. #define  NUM_OF_CAL   (NUM_OF_TDL >> 1)
  1344. #define  NUM_OF_TASK   (NUM_OF_TDL >> 1)
  1345. /* number range of alarm is 1~15 */
  1346. #define  NUM_OF_ALM           5
  1347. /* number range of spof is 1~50 */
  1348. #define  NUM_OF_SPOF          4
  1349. /* number of factory is always 1 */
  1350. #define  NUM_OF_FAC_ALM       1
  1351. #if defined(__MMI_FM_RADIO_SCHEDULE_REC__)
  1352. #define  NUM_OF_FMSR          4
  1353. #else 
  1354. #define  NUM_OF_FMSR          0
  1355. #endif 
  1356. #ifdef __MMI_FM_RADIO_SCHEDULER__
  1357. #define  NUM_OF_FMRDO          9
  1358. #else 
  1359. #define  NUM_OF_FMRDO          0
  1360. #endif 
  1361. #ifdef __MMI_BIRTHDAY_REMINDER__
  1362. #define NUM_OF_BR   1
  1363. #else
  1364. #define NUM_OF_BR   0
  1365. #endif /* __MMI_BIRTHDAY_REMINDER__ */
  1366. #ifdef __SYNCML_SUPPORT__
  1367. #define    NUM_OF_SYNCML      3  
  1368. #else
  1369. #define    NUM_OF_SYNCML      0  
  1370. #endif /* __SYNCML_SUPPORT__ */
  1371. #ifdef __MMI_AZAAN_ALARM__
  1372. #define NUM_OF_AZAAN        5
  1373. #else
  1374. #define NUM_OF_AZAAN        0
  1375. #endif
  1376. #define  ALM_NUM_OF_ALAMRS (NUM_OF_TDL + NUM_OF_THM_ALM + NUM_OF_ALM + NUM_OF_SPOF + NUM_OF_FAC_ALM + NUM_OF_FMSR + NUM_OF_BR + NUM_OF_FMRDO + NUM_OF_SYNCML + NUM_OF_AZAAN)
  1377. #define  NVRAM_ALM_QUEUE_SIZE    (ALM_NUM_OF_ALAMRS * 10)       /* sizeof(alm_queue_node_struct)) */
  1378. #define  NVRAM_ALM_QUEUE_TOTAL      1
  1379. #ifdef __MMI_ALM_AUDIO_OPTIONS__
  1380. #define MAX_NAME_INPUT_LEN 21
  1381. #endif 
  1382. typedef struct
  1383. {
  1384.     unsigned char Hour;
  1385.     unsigned char Min;
  1386.     unsigned char State;
  1387.     unsigned char Freq;
  1388.     unsigned char Snooze;   /* number of snooze time */
  1389.     unsigned char Days;
  1390. #ifdef __MMI_ALM_CUST_VOLUME__
  1391.     unsigned char Volume;
  1392. #endif 
  1393. #ifdef __MMI_ALM_AUDIO_OPTIONS__
  1394.     unsigned char AudioOption;          /* audio option, which is either tone or FM radio */
  1395.     unsigned short AudioOptionValue;    /* Ring Tone ID or FM Frequency */
  1396. #endif /* __MMI_ALM_AUDIO_OPTIONS__ */ 
  1397. #ifdef __MMI_ALM_SNOOZE_SETTING__
  1398.     unsigned char SnoozeInterval;
  1399. #endif 
  1400. #ifdef __MMI_ALM_ALERT_TYPE__
  1401.     unsigned char AlertType;
  1402. #endif 
  1403. } alm_nvram_struct;
  1404. typedef struct
  1405. {
  1406.     unsigned char Type;
  1407.     unsigned char Status;
  1408.     unsigned char Hour;
  1409.     unsigned char Min;
  1410. } spof_nvram_struct;
  1411. #define NVRAM_ALM_ALARM_DATA_TOTAL  1
  1412. #define NVRAM_ALM_ALARM_DATA_SIZE      NUM_OF_ALM * sizeof(alm_nvram_struct)
  1413. #define  NVRAM_ALM_SPOF_DATA_SIZE      NUM_OF_SPOF * sizeof(spof_nvram_struct)
  1414. #define  NVRAM_ALM_SPOF_DATA_TOTAL     1
  1415. #define MAX_NW_LEN 24
  1416. #define  NVRAM_NITZ_NW_NAME_SIZE      sizeof(nitz_nw_name_struct)
  1417. #ifdef __MMI_DUAL_SIM__
  1418. #define  NVRAM_NITZ_NW_NAME_TOTAL     2
  1419. #else /*__MMI_DUAL_SIM__*/
  1420. #define  NVRAM_NITZ_NW_NAME_TOTAL     1
  1421. #endif /*__MMI_DUAL_SIM__*/
  1422. typedef struct
  1423. {
  1424.     kal_uint8 plmn[6];  //#define MAX_PLMN_LEN_MMI 6 in SimDetectionDef.h
  1425.     kal_uint8 name[MAX_NW_LEN *ENCODING_LENGTH];
  1426.     kal_uint8 add_ci;
  1427. } nitz_nw_name_struct;
  1428. /* } */
  1429. /* 
  1430.  * Data account
  1431.  */
  1432. typedef struct
  1433. {
  1434.     // must align with qos_struct
  1435.     // Please see 3GPP TS24.008 Table 10.5.156 Quality of service information element for detail explaination
  1436.     kal_uint8 qos_length;   /* QOS identifer bit, this value must be 16, or the GPRS bearer will not accept */
  1437.     kal_uint8 unused1;      /* Unused Bit */
  1438.     
  1439.     kal_uint8 delay_class;
  1440.     /* 
  1441.       * Delay Class 
  1442.       * 001 Delay Class 1 
  1443.       * 010 Delay Class 2
  1444.       * 011 Delay Class 3
  1445.       * 100 Delay Class 4 (best effort)
  1446.       * ...
  1447.       */
  1448.     
  1449.     kal_uint8 reliability_class;
  1450.     /* 
  1451.       * Reliability Class 
  1452.       * 001 Interpreted as 010
  1453.       * 010 UnACK GTP, ACK LLC, ACK RLC, Protected Data
  1454.       * 011 UnACK GTP, UnACK LLC, ACK RLC, Protected Data
  1455.       * 100 UnACK GTP, UnACK LLC, UnACK RLC, Prottected Data
  1456.       * 101 UnACK GTP, UnACK LLC, UnACK RLC, Unprotected Data
  1457.       * ...
  1458.       */
  1459.     
  1460.     kal_uint8 peak_throughput;
  1461.     /* 
  1462.       * Peak Throughput
  1463.       * 0001 Up to 1000 octet/s
  1464.       * 0010 Up to 2000 octet/s
  1465.       * 0011 Up to 4000 octet/s
  1466.       * 0100 Up to 8000 octet/s
  1467.       * 0101 Up to 16000 octet/s
  1468.       * 0110 Up to 32000 octet/s
  1469.       * 0111 Up to 64000 octet/s
  1470.       * 1000 Up to 128000 octet/s
  1471.       * 1001 Up to 256000 octet/s
  1472.       * ...
  1473.       */
  1474.     
  1475.     kal_uint8 unused2;      /* Unused Bit */
  1476.     
  1477.     kal_uint8 precedence_class;
  1478.     /* 
  1479.       * Precedence Class
  1480.       * 001 High Priority
  1481.       * 010 Normal Priority
  1482.       * 011 Low Priority
  1483.       * ...
  1484.       */
  1485.     
  1486.     kal_uint8 unused3;      /* Unused Bit */
  1487.     
  1488.     kal_uint8 mean_throughput;
  1489.     /* 
  1490.       * Mean Throughput
  1491.       * 00001 Up to 100 octet/h
  1492.       * 00010 Up to 200 octet/h
  1493.       * 00011 Up to 500 octet/h
  1494.       * ...
  1495.       */
  1496.     
  1497.     kal_uint8 traffic_class;
  1498.     /* 
  1499.       * Traffic Class
  1500.       * 001 Conversational class
  1501.       * 010 Streaming class
  1502.       * 011 Interactive class
  1503.       * 100 Background class
  1504.       * ...
  1505.       */
  1506.     
  1507.     kal_uint8 delivery_order;
  1508.     /* 
  1509.       * Delivery Order
  1510.       * 01 With delivery order (yes)
  1511.       * 10 Without delivery order (no)
  1512.       * ...
  1513.       */
  1514.     
  1515.     kal_uint8 delivery_of_err_sdu;
  1516.     /* 
  1517.       * Delivery of erroneous SDUs
  1518.       * 001 No detect (-)
  1519.       * 010 Erroneous SDUs are delivered (yes)
  1520.       * 011 Erroneous SDUs are not delivered (no)
  1521.       * ...
  1522.       */
  1523.     
  1524.     kal_uint8 max_sdu_size;
  1525.     /* 
  1526.       * Maximum SDU Size
  1527.       * ...
  1528.       * 10010111 1502 octets
  1529.       * 10011000 1510 octets
  1530.       * 10011001 1520 octets
  1531.       * ...
  1532.       */
  1533.     kal_uint8 max_bitrate_up_lnk; // see 24.008 Table 10.5.156
  1534.     
  1535.     kal_uint8 max_bitrate_down_lnk; // see 24.008 Table 10.5.156
  1536.     
  1537.     kal_uint8 residual_bit_err_rate;
  1538.     /* 
  1539.       * Residual Bit Error Rate
  1540.       * 0001 5*10^-2
  1541.       * 0010 1*10^-2
  1542.       * 0011 5*10^-3
  1543.       * 0100 4*10^-3      
  1544.       * 0101 1*10^-3      
  1545.       * 0110 1*10^-4      
  1546.       * ...
  1547.       */
  1548.     
  1549.     kal_uint8 sdu_err_ratio;
  1550.     /* 
  1551.       * SDU Error Ratio
  1552.       * 0001 1*10^-2
  1553.       * 0010 7*10^-3
  1554.       * 0011 1*10^-3
  1555.       * 0100 1*10^-4     
  1556.       * 0101 1*10^-5      
  1557.       * 0110 1*10^-6      
  1558.       * ...
  1559.       */
  1560.     
  1561.     kal_uint8 transfer_delay; // see 24.008 Table 10.5.156
  1562.     
  1563.     kal_uint8 traffic_hndl_priority;
  1564.     /* 
  1565.       * Traffic Handling Priority
  1566.       * 01 Priority level 1
  1567.       * 10 Priority level 2
  1568.       * 11 Priority level 3
  1569.       * ...
  1570.       */
  1571.     
  1572.     kal_uint8 guarntd_bit_rate_up_lnk; // see 24.008 Table 10.5.156
  1573.     
  1574.     kal_uint8 guarntd_bit_rate_down_lnk; // see 24.008 Table 10.5.156
  1575.     
  1576.     kal_uint8 unused4; /* Unused Bit */
  1577.     
  1578.     kal_uint8 signalling_indication;
  1579.     /* 
  1580.       * Signaling Indication
  1581.       * 0 Not optimised for signalling traffic
  1582.       * 1 Optimised for signalling traffic
  1583.       * ...
  1584.       */
  1585.     
  1586.     kal_uint8 source_statistics_descriptor;
  1587.     /* 
  1588.       * Source Statistics Descriptor
  1589.       * 0000 Unknown
  1590.       * 0001 Speech
  1591.       * ...
  1592.       */
  1593.     
  1594.     kal_uint8 ext_max_bitrate_down_lnk; // see 24.008 Table 10.5.156
  1595.     
  1596.     kal_uint8 ext_guarntd_bit_rate_down_lnk; // see 24.008 Table 10.5.156
  1597.     
  1598.     kal_uint8 ext_max_bitrate_up_lnk; // see 24.008 Table 10.5.156
  1599.     
  1600.     kal_uint8 ext_guarntd_bit_rate_up_lnk; // see 24.008 Table 10.5.156
  1601. } nvram_editor_qos_struct;
  1602. #if !defined(__MAUI_BASIC__) && !defined(__L1_STANDALONE__)
  1603. #define MAX_GPRS_USER_NAME_LEN 32
  1604. #define MAX_GPRS_PASSWORD_LEN  32
  1605. #define MAX_GPRS_APN_LEN       100
  1606. #define MAX_GPRS_IP_ADDR       4 /* IP address length */
  1607. /* these structures needed by Res_DataAccount.c */
  1608. typedef struct
  1609. {
  1610.     kal_uint8 context_id;
  1611.     kal_uint8 name_length;
  1612.     kal_uint8 name_dcs;
  1613.     kal_uint8 authentication_type;
  1614.     kal_uint8 name[32];
  1615.     kal_uint8 user_name[MAX_GPRS_USER_NAME_LEN];
  1616.     kal_uint8 password[MAX_GPRS_PASSWORD_LEN];
  1617.     kal_uint8 dns[MAX_GPRS_IP_ADDR];
  1618.     kal_uint8 sec_dns[MAX_GPRS_IP_ADDR];
  1619.     kal_uint8 apn[MAX_GPRS_APN_LEN];
  1620.     kal_uint8 apn_length;
  1621.     kal_uint8 provurl[16];
  1622.     kal_uint8 napid[16];
  1623.     kal_uint8 account_type;
  1624.     kal_uint8 read_only;
  1625.     //nvram_editor_qos_struct req_qos;
  1626.     kal_uint8 dcomp_algo; // Fixed value: SND_NO_DCOMP
  1627.     kal_uint8 hcomp_algo; // Fixed value: SND_NO_PCOMP
  1628.     kal_uint8 pdp_type; // Fixed value: IPV4_ADDR_TYPE 0x21 for IPv4
  1629.     kal_uint8 pdp_addr_len; // Fixed value: NULL_PDP_ADDR_LEN = 0x01, if use fixed IP address, this should be IPV4_ADDR_LEN = 0x04
  1630.     kal_uint8 pdp_addr_val[MAX_GPRS_IP_ADDR]; // should be all 0
  1631.     kal_uint8 resrvd; // reservied to let the size of NVRAM in even number
  1632. } nvram_ef_abm_gprs_profile_struct;
  1633. typedef struct
  1634. {
  1635.     nvram_editor_qos_struct req_qos;
  1636.     nvram_editor_qos_struct min_qos;
  1637. } nvram_ef_abm_ps_qos_profile_struct;
  1638. typedef struct
  1639. {
  1640.     l4_addr_bcd_struct addr;
  1641.     kal_uint8 csd_ur;
  1642.     kal_uint8 csd_type;
  1643.     kal_uint8 csd_module;
  1644.     kal_uint8 auth_type;
  1645.     kal_uint8 user_id[32];
  1646.     kal_uint8 user_pwd[32];
  1647.     kal_uint8 dns_addr[4];
  1648.     kal_uint8 sec_dns_addr[4];//[MAUI_01235799]
  1649.     l4_name_struct name;
  1650.     kal_uint8 prov_url[16];//[MAUI_00778420]
  1651.     kal_uint8 napid[16];
  1652.     kal_uint8 account_type;
  1653.     kal_uint8 read_only;
  1654. } nvram_ef_csd_profile_struct;
  1655. #endif /* !defined(__MAUI_BASIC__) && !defined(__L1_STANDALONE__) */ 
  1656. /* } */
  1657. #define MAX_SYNCML_SV_PROFILES         3
  1658. #define MAX_SYNCML_USERNAME           32
  1659. #define MAX_SYNCML_PASSWORD           32
  1660. #define MAX_SYNCML_SERVER_ADDR_LEN   128
  1661. #define MAX_SYNCML_DATABASE_ADDR_LEN  64
  1662. #define MAX_SYNCML_PROFILE_NAME       32
  1663. #define MAX_SYNCML_PROXY_USERNAME     30
  1664. #define MAX_SYNCML_PROXY_PASSWORD     30
  1665. #define MAX_SYNCML_PROXY_ID_LEN       32
  1666. #define MAX_SYNCML_PROXY_IP_ADDR_LEN  16
  1667. #define MAX_SYNCML_PROXY_PORT_LEN      6
  1668. #define MAX_SYNCML_HASH_BUF_LEN   16
  1669. #define MAX_SYNCML_DEV_NUM        3  /* Device sync */
  1670. #define MAX_SYNCML_DEV_NAME_LEN      64 /* Device sync */
  1671. #define MAX_SYNCML_REMOTE_ANCHOR_SIZE 17
  1672. #define FACTORY_RESTORE_DEFAULT_SPEED_DIAL                  0
  1673. #define FACTORY_RESTORE_DEFAULT_CONTRAST_SUBLCD_LEVEL_VALUE    7
  1674. #define FACTORY_RESTORE_DEFAULT_CONTRAST_MAINLCD_LEVEL_VALUE   7
  1675. #define FACTORY_RESTORE_DEFAULT_WELCOME_TEXT_STATUS            0
  1676. #define  FACTORY_RESTORE_DEFAULT_APHORISM_TEXT_STATUS       1
  1677. #define FACTORY_RESTORE_DEFAULT_OWNER_NO_STATUS             0
  1678. #define FACTORY_RESTORE_DEFAULT_STATUS_SHOW_DT_TIME_STATUS     1
  1679. #define FACTORY_RESTORE_DEFAULT_AUTOUPDATE_TIME_VALUE       0
  1680. #define FACTORY_RESTORE_DEFAULT_SCREENSAVER_STATUS          0
  1681. #define FACTORY_RESTORE_DEFAULT_SCREENSAVER_WAITING_TIME    30
  1682. #define  FACTORY_RESTORE_DEFAULT_PROFILES_ACTIVATED_ID         0
  1683. #define  MAXIMUM_EMS_DOWNLOAD_IMELODY     5
  1684. #define  MAXIMUM_DOWNLOAD_IMAGES          15
  1685. #define  MAXIMUM_DOWNLOAD_AUDIO           15
  1686. #define  MAXIMUM_COMPOSED_RINGTONE        5
  1687. #define MAXIMUM_FULLSCREEN_FACTORY_IMAGES       7
  1688. #define MAXIMUM_ASSOCIATED_FACTORY_IMAGES       5
  1689. #define  MAXIMUM_FACTORY_TONES            5
  1690. #define  MAXIMUM_FACTORY_IMELODY          5
  1691. #define FACTORY_RESTORE_DEFAULT_AUDPLY_LIST_AUTO_GEN  1
  1692. #ifdef __MMI_9700_SW_SUPPORT__
  1693. #define FACTORY_RESTORE_DEFAULT_AUDPLY_VOLUME 0x0F
  1694. #else
  1695. #define FACTORY_RESTORE_DEFAULT_AUDPLY_VOLUME  4
  1696. #endif
  1697. #define FACTORY_RESTORE_DEFAULT_AUDPLY_PREFER_LIST  0
  1698. #define FACTORY_RESTORE_DEFAULT_AUDPLY_SKIN  0
  1699. #define FACTORY_RESTORE_DEFAULT_AUDPLY_REPEAT  0
  1700. #define FACTORY_RESTORE_DEFAULT_AUDPLY_SHUFFLE  0
  1701. #define FACTORY_RESTORE_DEFAULT_AUDPLY_BACKGROUND_PLAY  1
  1702. #define FACTORY_RESTORE_DEFAULT_SNDREC_STORAGE  0
  1703. #define FACTORY_RESTORE_DEFAULT_SNDREC_FORMAT  0
  1704. #ifdef __MMI_LANG_EUROPE_ASIA_TYPE__
  1705. #define FACTORY_RESTORE_DEFAULT_SNDREC_QUALITY 0 
  1706. #elif defined (__THAI_SUPPORT__)
  1707. #define FACTORY_RESTORE_DEFAULT_SNDREC_QUALITY 1
  1708. #else
  1709. #define FACTORY_RESTORE_DEFAULT_SNDREC_QUALITY 0 
  1710. #endif
  1711. #define FACTORY_RESTORE_DEFAULT_FMRDO_BACKGROUND_PLAY  1
  1712. #define FACTORY_RESTORE_DEFAULT_FMRDO_SKIN  0
  1713. #define FACTORY_RESTORE_DEFAULT_FMRDO_VOLUME  4
  1714. #define FACTORY_RESTORE_DEFAULT_MTPNP_SETTING   0
  1715. #define EM_NW_EVENT_MAX_NUM_OF_EVENTS         100
  1716. #define DM_TFTP_MAX_SERVER_NAME_LEN     64
  1717. #define DM_TFTP_MAX_FILENAME_LEN        260
  1718. #define DM_HTTP_MAX_URL_LEN             128
  1719. #define VIDEO_MAX_HISTORY_URL_LEN       256
  1720. #define VIDEO_MAX_HISTORY_NAME_LEN      40
  1721. #define VIDEO_MAX_PREDEFINED_URL_LEN    128
  1722. #define VIDEO_MAX_PREDEFINED_NAME_LEN   40
  1723. #define VIDEO_MAX_PROFILE_NAME_LEN      40
  1724. #define VIDEO_MAX_PROFILE_NAME_BUF_SIZE ((VIDEO_MAX_PROFILE_NAME_LEN + 1) * ENCODING_LENGTH)
  1725. #define VIDEO_PORXY_IP_COUNT            4   /* ip4 */
  1726. #define STREAMING_OTA_HASH_LEN          16
  1727. /* Note application */
  1728. #define MMI_MAX_NOTE_ITEM 50 /* can't bigger than MAX_SUB_MENUS */
  1729. #define MMI_MAX_NOTE_LEN 100
  1730. /*
  1731.  * This is the defined value of supported preferred networks in MMI.
  1732.  * The maximum supported preferred networks in SMU is MAX_SUPPORT_EF_PLMNSEL_REC. (sim_common.h)
  1733.  * MMI can support at most the same as MAX_SUPPORT_EF_PLMNSEL_REC.
  1734.  * Some specific SIMs allocate too many preferred networks but are not able to access all of them.
  1735.  * Therefore, MMI default allows 50 preferred networks.
  1736.  */
  1737. #ifdef LOW_COST_SUPPORT
  1738. #define MAX_PREFFERED_PLMN  24
  1739. #else
  1740. #define MAX_PREFFERED_PLMN  50
  1741. #endif /* LOW_COST_SUPPORT */
  1742. typedef struct
  1743. {
  1744.     kal_uint16 ActivityId[MAX_ACTIVITIES_PER_DAY];
  1745.     float CaloriePerActivity[MAX_ACTIVITIES_PER_DAY];
  1746.     kal_uint16 MinutesPerActivity[MAX_ACTIVITIES_PER_DAY];
  1747. } ActivityDetails;
  1748. typedef struct
  1749. {
  1750.     kal_uint8 shortcut_state;
  1751.     kal_uint16 shortcuts;
  1752. } shct_item_struct;
  1753. typedef struct
  1754. {
  1755.     unsigned char   Hour;
  1756.     unsigned char   Min;
  1757.     unsigned char   State;
  1758.     unsigned short   AudioValue;
  1759.     unsigned char   AlertType;
  1760. }mmi_hijri_azaan_nvram_struct;
  1761. #define NVRAM_AZAAN_ALARM_TOTAL  1
  1762. #define NVRAM_AZAAN_ALARM_SIZE      NUM_OF_AZAAN * sizeof(mmi_hijri_azaan_nvram_struct)
  1763. #define MMI_MEDPLY_MAX_PROFILE_NAME_LEN          (40)
  1764. #define MMI_MEDPLY_MAX_PROFILE_NAME_BUF_SIZE     (MMI_MEDPLY_MAX_PROFILE_NAME_LEN + 1)*ENCODING_LENGTH
  1765. #define MMI_MEDPLY_PROXY_IP_COUNT                (4)
  1766. #define MEDPLY_MAX_HISTORY_NAME_LEN              (40)
  1767. #define MEDPLY_MAX_HISTORY_URL_LEN               (256)
  1768. /************************************ 
  1769. * PLUTO MMI NVRAM ITEM
  1770. ************************************/
  1771. /* PLUTO MMI [BYTE -8bit] */
  1772. typedef enum
  1773. {
  1774.     NVRAM_PHONELOCK_INDEX,                  /* 0 */
  1775.     NVRAM_AUTOLOCK_TIMEOUT_INDEX,
  1776.     NVRAM_SETTING_PHONELOCK,
  1777.     NVRAM_SETTING_AUTOKEYPADLOCK,
  1778.     NVRAM_SETTING_AUTOREDIAL,
  1779.     NVRAM_SETTING_AUTOKEYPADLOCK_TIME,      /* 5 */
  1780.     NVRAM_SETTING_WELCOME_TEXT,
  1781.     NVRAM_SETTING_APHORISM_TEXT,
  1782.     NVRAM_SETTING_CALL_TIME_DISPLAY,
  1783.     NVRAM_SETTING_SPEED_DIAL,
  1784.     NVRAM_SETTING_CONTRAST_LEVEL,           /* 10 */
  1785.     NVRAM_SETTING_AUTOUPDATE_DT_TIME,
  1786.     NVRAM_SETTING_OWNER_NO,
  1787.     NVRAM_SETTING_STATUS_DT_TIME,
  1788.     NVRAM_SETTING_LANG,
  1789.     NVRAM_SETTING_CTR,                      /* 15 */
  1790.     NVRAM_SETTING_CONTRAST_SUBLCD_LEVEL,
  1791.     NVRAM_HELP_ENABLED_FLAG,
  1792.     NVRAM_PROFILES_ACTIVATED,
  1793.     NVRAM_CH_QUICK_END_FLAG,
  1794.     NVRAM_SMSCOUNTERS_SENT,                 /* 20 */
  1795.     NVRAM_SMSCOUNTERS_RECD,
  1796.     NVRAM_DOWNLOAD_IMAGE,
  1797.     NVRAM_DOWNLOAD_TONE,
  1798.     CURRENT_CITY,
  1799.     FOREIGN_CITY,
  1800.     TIME_FORMAT,                            /* 25 */
  1801.     DATE_FORMAT,
  1802.     NVRAM_GAME_SNAKE_LEVEL,
  1803.     LUNAR_CALENDAR,
  1804.     NVRAM_DOWNLOAD_CITY1,
  1805.     NVRAM_DOWNLOAD_CITY2,                   /* 30 */
  1806.     NVRAM_SCREENSAVER_STATUS,
  1807.     NVRAM_SCREENSAVER_WAITING,
  1808.     NVRAM_CALLERID,
  1809.     NVRAM_GROUPINDEX,
  1810.     NVRAM_GAME_RICHES_STATUS,               /* 35 */
  1811.     NVRAM_RICHES_OPTION_STATUS,
  1812.     NVRAM_PROFILES_LASTACTIVATED,
  1813.     TOH_CURRENT_LEVEL,
  1814.     SMASH_CURRENT_LEVEL,
  1815.     NVRAM_SMS_ACTIVE_PROFILE_INDEX,         /* 40 */
  1816.     SMS_CONCAT_MSG_REF_VALUE,
  1817.     NVRAM_COLORBALLS_OPTION_STATUS,
  1818.     NVRAM_PROFILES_LOUDSPKR,
  1819.     RESTORE_DEFAULT_SPEED_DIAL,
  1820.     RESTORE_DEFAULT_CONTRAST_SUBLCD_LEVEL,  /* 45 */
  1821.     RESTORE_DEFAULT_CONTRAST_LEVEL,
  1822.     RESTORE_DEFAULT_WELCOME_TEXT,
  1823.     RESTORE_DEFAULT_APHORISM_TEXT,
  1824.     RESTORE_DEFAULT_OWNER_NO,
  1825.     RESTORE_DEFAULT_STATUS_SHOW_DT_TIME,    /* 50 */
  1826.     RESTORE_DEFAULT_AUTOUPDATE_TIME,
  1827.     RESTORE_DEFAULT_SCREENSAVER_STATUS,
  1828.     RESTORE_DEFAULT_SCREENSAVER_WAITING,
  1829.     RESTORE_DEFAULT_PROFILES_ACTIVATED,
  1830.     RESTORE_DEFAULT_TIME_FORMAT,            /* 55 */
  1831.     RESTORE_DEFAULT_DATE_FORMAT,
  1832.     NVRAM_DOWNLOAD_MELODY,
  1833.     NVRAM_NORMAL_MODE_VOICE_LEVEL,
  1834.     NVRAM_LDSPK_MODE_VOICE_LEVEL,
  1835.     NVRAM_HDSET_MODE_VOICE_LEVEL,           /* 60 */
  1836.     NVRAM_NITZTIMEZONE,
  1837.     NVRAM_WALLPAPER_ROTATE_STATUS,
  1838.     NVRAM_GX_MAJUNG_LEVEL,
  1839.     NVRAM_GX_MEMORY_LEVEL,
  1840.     NVRAM_DEFAULT_USB_APP,                  /* 65 */
  1841.     NVRAM_FMRDO_BACKGROUND_PLAY,
  1842.     NVRAM_FMRDO_SKIN,
  1843.     NVRAM_FMRDO_VOLUME,
  1844.     NVRAM_AUDPLY_LIST_AUTO_GEN,
  1845.     NVRAM_AUDPLY_VOLUME,                    /* 70 */
  1846.     NVRAM_AUDPLY_PREFER_LIST,
  1847.     NVRAM_AUDPLY_SKIN,
  1848.     NVRAM_AUDPLY_REPEAT,
  1849.     NVRAM_AUDPLY_SHUFFLE,
  1850.     NVRAM_AUDPLY_BACKGROUND_PLAY,           /* 75 */
  1851.     NVRAM_SNDREC_STORAGE,
  1852.     NVRAM_SNDREC_FORMAT,
  1853.     NVRAM_IP_NUMBER_SETTING,
  1854.     NVRAM_SET_MAINMENU_STYLE,
  1855.     NVRAM_EF_FMGR_SORT_OPTION_LID,          /* 80 */
  1856.     NVRAM_GFX_AUDIO_SETTING,
  1857.     NVRAM_GFX_AUDIO_VOLUMN,
  1858.     NVRAM_GFX_VIBRATION_SETTING,
  1859.     NVRAM_GX_PUZZLE_LEVEL,
  1860.     NVRAM_GX_STAIR_LEVEL,                   /* 85 */
  1861.     NVRAM_SETTING_DEF_ENCODING,
  1862.     NVRAM_STOPWATCH_TOTAL_RECORDS,
  1863.     NVRAM_JAVA_SETTING_SOUND,
  1864.     NVRAM_JAVA_SETTING_PROF_ID,
  1865.     NVRAM_JAVA_SETTING_BKLIGHT_ID,    
  1866.     NVRAM_ALM_SNOOZE_TIME,                  /* 90 */
  1867.     NVRAM_VDOPLY_VOLUMN,
  1868.     NVRAM_SETTING_OPN_DISPLAY,
  1869.     RESTORE_DEFAULT_OPN_DISPLAY,
  1870.     NVRAM_BLACK_LIST_SETTING,
  1871.     NVRAM_VRSD_RCG_SETTING,
  1872.     NVRAM_PHB_SPEAK_NAME_ON_OFF,            /* 100 */
  1873.     NVRAM_JAVA_SETTING_VIB,
  1874.     NVRAM_JAVA_SETTING_BKL,
  1875.     NVRAM_JAVA_SETTING_LED,
  1876.     NVRAM_VRSI_RCG_SETTING,
  1877.     NVRAM_IRDA_STORAGE,                     /* 105 */
  1878.     NVRAM_PEN_SPEED,
  1879.     NVRAM_PEN_COLOR,
  1880.     NVRAM_SETTING_DT_DST,
  1881.     NVRAM_SSC_DISABLE_FLAG,
  1882.     NVRAM_ABREPEAT_VOLUME,                  /* 110 */
  1883.     NVRAM_IMGVIEW_VIEW_SYTLE,
  1884.     NVRAM_ABREPEAT_STORAGE,
  1885.     NVRAM_WC_DST,
  1886.     NVRAM_GFX_BACKGROUND_MUSIC_SETTING,
  1887.     NVRAM_GFX_SOUND_EFFECT_SETTING,         /* 115 */
  1888.     NVRAM_PHNSET_IDLE_CLOCK_TYPE,
  1889.     RESOTRE_DEFAULT_IDLE_CLOCK_TYPE,
  1890.     NVRAM_FMRDO_RECORD_FORMAT,
  1891.     NVRAM_FMRDO_RECORD_STORAGE,
  1892.     NVRAM_BYTE_FONT_SIZE,                   /* 120 */
  1893.     NVRAM_BYTE_LED_SETTING,
  1894.     NVRAM_BYTE_BL_SETTING_LEVEL,
  1895.     NVRAM_BYTE_BL_SETTING_HFTIME,
  1896.     NVRAM_BYTE_COVER_CLOSE_BACK_TO_IDLE,
  1897.     NVRAM_BYTE_COVER_CLOSE_REJECT_CALL,     /* 125 */
  1898.     NVRAM_BYTE_COVER_CLOSE_KEYPAD_LOCK,
  1899.     NVRAM_MOTION_DICE_DICE_COUNT,
  1900.     NVRAM_MOTION_DICE_EVENT_ON,
  1901.     NVRAM_AUDPLY_SPECTRUM_DISPLAY_STYLE,
  1902.     NVRAM_FTP_ACCESS_RIGHT,
  1903.     NVRAM_CTM_MODE,
  1904.     NVRAM_CTM_SETTING,
  1905.     NVRAM_CCONV_SETTING_SELECTED_LOCAL_CURRENCY,
  1906.     NVRAM_CCONV_SETTING_SELECTED_FOREIGN_CURRENCY,
  1907.     NVRAM_CCONV_COMPUTE_SELECTED_LOCAL_CURRENCY,
  1908.     NVRAM_CCONV_COMPUTE_SELECTED_FOREIGN_CURRENCY,
  1909.     NVRAM_CCONV_SETTING_NOUSE1,
  1910.     NVRAM_CCONV_SETTING_NOUSE2,
  1911.     NVRAM_CCONV_SETTING_NOUSE3,
  1912.     NVRAM_CCONV_SETTING_NOUSE4,
  1913.     NVRAM_BYTE_AUDIO_REVERB_INDEX,
  1914.     NVRAM_POC_ACTIVITY_PRESENT,
  1915.     NVRAM_POC_ACTIVITY,
  1916.     NVRAM_POC_MOOD_PRESENT,
  1917.     NVRAM_POC_MOOD,
  1918.     NVRAM_POC_ANS_MODE,
  1919.     NVRAM_POC_CALL_BAR_MODE,
  1920.     NVRAM_POC_ALERT_BAR_MODE,
  1921.     NVRAM_POC_MAO_MODE,
  1922.     NVRAM_POC_PRIVACY_MODE,
  1923.     NVRAM_POC_START_BOOTUP,
  1924.     NVRAM_POC_USE_XDM,
  1925.     NVRAM_POC_USE_PRES,
  1926.     NVRAM_POC_PROFILE_ACTIVE,
  1927.     NVRAM_JAVA_SETTING_VK,
  1928.     NVRAM_EM_SWDBG_MODE,
  1929.     NVRAM_GX_FRUIT_LEVEL,
  1930.     NVRAM_GX_VSMJ_LEVEL,
  1931.     NVRAM_BRW_SHOW_IMAGE_ON_OFF,
  1932.     NVRAM_BRW_SHOW_HISTORY_AS,
  1933.     NVRAM_PH_ACTIVATED_WAP_PROFILE_INDEX,
  1934.     NVRAM_PH_ACTIVATED_MMS_PROFILE_INDEX,
  1935.     NVRAM_BRW_SHOW_SERVICE_INBOX_MSG,
  1936.     NVRAM_FMRDO_SPEAKER_STATUS,
  1937.     NVRAM_AUTO_VM_SETTING_VM_SUPPORT,
  1938.     NVRAM_AUTO_VM_SETTING_AUTO_VM,    
  1939.     NVRAM_AUDPLY_LYRICS_DISPLAY,
  1940.     NVRAM_SWFLASH_STORAGE,
  1941.     NVRAM_SWFLASH_DATA_ACCOUNT,
  1942.     NVRAM_SWFLASH_VOLUME,
  1943. NVRAM_BRW_IMAGE_SELECTION_ON_OFF,
  1944.     NVRAM_VOIP_PROF_ACTIVATED,
  1945.     NVRAM_CLNDR_PERIOD_INTERVAL,
  1946.     NVRAM_UC_PREFERRED_MSG_TYPE,
  1947.     NVRAM_VDOPLY_ACTIVE_PROFILE_IDX,  
  1948.     NVRAM_VDOPLY_PROXY_IP1,          /* not used */
  1949.     NVRAM_VDOPLY_PROXY_IP2,          /* not used */    
  1950.     NVRAM_VDOPLY_PROXY_IP3,          /* not used */
  1951.     NVRAM_VDOPLY_PROXY_IP4,          /* not used */
  1952.     NVRAM_VDOPLY_PROXY_ON_OFF,       /* not used */   
  1953.     NVRAM_NETSET_PREFERRED_MODE,
  1954.     NVRAM_BYTE_AUDIO_SURROUND_INDEX,
  1955. NVRAM_BRW_SETTINGS_RENDER_MODE,
  1956. NVRAM_BRW_SETTINGS_NAVIGATE_MODE,
  1957. /*Added by shariq on 150507 for font size*//*START*/
  1958. NVRAM_BRW_SETTINGS_FONT_SIZE,
  1959. /*Added by shariq on 150507 for font size*//*END*/
  1960. NVRAM_BRW_SETTINGS_THUMBNAIL,
  1961. NVRAM_BRW_SETTINGS_SCREEN_SIZE,
  1962. NVRAM_BRW_SETTINGS_ENCODE_METHOD_INDEX,
  1963. NVRAM_BRW_SETTINGS_SHOW_VIDEO,
  1964. NVRAM_BRW_SETTINGS_PLAY_SOUND,
  1965. NVRAM_BRW_SETTINGS_LOAD_UNKOWN_MEDIA,
  1966. NVRAM_BRW_SETTINGS_CSS,
  1967. NVRAM_BRW_SETTINGS_SCRIPTS,
  1968. NVRAM_BRW_SETTINGS_CACHE,
  1969. NVRAM_BRW_SETTINGS_COOKIE,
  1970. NVRAM_BRW_SETTINGS_SHORTCUTS,
  1971. NVRAM_BRW_SETTINGS_SECURITY_WARNINGS,  
  1972. NVRAM_BRW_SETTINGS_SEND_DEVICE_ID,
  1973. /* __MMI_BRW_POST_SESSION_INFO__ */ 
  1974. NVRAM_BRW_SETTINGS_POST_SESSION_INFO,
  1975. /* __MMI_BRW_POST_SESSION_INFO__ */ 
  1976. NVRAM_BRW_RECENT_PAGES_SORTING_METHOD,
  1977.     NVRAM_DM_SELF_REGISTER_RESULT,
  1978.     NVRAM_DICTIANRY_TTS_ON_OFF,
  1979.     NVRAM_DICTIANRY_TTS_SPEAK_SPEED,
  1980.     NVRAM_DICTIANRY_TTS_SPEAK_VOLUME,
  1981.     NVRAM_SNDREC_QUALITY,
  1982.     NVRAM_FMRDO_RECORD_QUALITY,
  1983.     NVRAM_LANGLN_DRIVE,
  1984.     NVRAM_LANGLN_WK_REMINDER,
  1985.     NVRAM_LANGLN_WK_RMD_HOUR,
  1986.     NVRAM_LANGLN_WK_RMD_MIN,
  1987.     NVRAM_LANGLN_DK_TTS_STATUS,
  1988.     NVRAM_DM_OTA_PROFILE_INIT,
  1989.     NVRAM_SMS_BACKGROUND_SAVE_TO_SENT,
  1990.     NVRAM_LANGLN_DK_TTS_VOLUME,
  1991.     NVRAM_MOTION_DICE_SOUND_ON,
  1992.     NVRAM_MOTION_DICE_VOL,
  1993.     NVRAM_VT_ANSWER_MODE,
  1994.     NVRAM_VT_DIAL_MODE,
  1995.     NVRAM_VT_AUDIO_OPT_MIC,
  1996.     NVRAM_VT_AUDIO_OPT_SPEAKER,
  1997.     NVRAM_VOIP_LOG_ACTIVATE,
  1998.     NVRAM_VOIP_LOG_STORAGE,
  1999.     NVRAM_VOIP_LOG_DELETE_TIME,
  2000.     NVRAM_JAVA_SETTING_NET_ICON,
  2001. NVRAM_BRW_SHOW_IMAGE_MODE,
  2002.     NVRAM_BRW_ACTIVATED_WAP_PROFILE_INDEX,
  2003.     NVRAM_BRW_ACTIVATED_MMS_PROFILE_INDEX,
  2004.     NVRAM_BYTE_AUDIO_EFFECT_INDEX,
  2005.     NVRAM_CLNDR_VIEW_TYPE,
  2006.     NVRAM_FMRDO_CHANNEL_MONO,
  2007.     NRRAM_GPS_LOGGING_SWITCH,
  2008.     NVRAM_SET_CALENDAR_IDLESCREEN,
  2009.     NVRAM_SET_DUALCLOCK_IDLESCREEN,
  2010.     NVRAM_MTPNP_SETTING,
  2011.     NVRAM_MTPNP_STATUS,
  2012.     NVRAM_SLAVE_ACTIVE_PROFILE_IDX,
  2013.     NVRAM_SLAVE_NORMAL_MODE_VOICE_LEVEL,
  2014.     NVRAM_SLAVE_LDSPK_MODE_VOICE_LEVEL,
  2015.     NVRAM_SLAVE_HDSET_MODE_VOICE_LEVEL,
  2016.     NVRAM_SLAVE_IP_NUMBER_SETTING,
  2017.     NVRAM_CARD2_OWNER_NUMBER,
  2018.     NVRAM_MTPNP_SMS_SHOW_STYLE,
  2019.     //#if defined(__SF_API_EX__)
  2020.     NVRAM_SFSET_0,
  2021.     NVRAM_SFSET_1,
  2022.     NVRAM_SFSET_2,
  2023.     NVRAM_SFSET_3,
  2024.     NVRAM_SFSET_4,
  2025.     NVRAM_SFSET_5,
  2026.     NVRAM_SFSET_6,
  2027.     NVRAM_SFSET_7,
  2028.     NVRAM_SFSET_8,
  2029.     NVRAM_SFSET_9,
  2030.     NVRAM_SFSET_A,
  2031.     NVRAM_SFSET_B,
  2032.     NVRAM_SFSET_C,
  2033.     NVRAM_SFSET_D,
  2034.     NVRAM_SFSET_E,
  2035.     NVRAM_SFSET_F,
  2036.     //#endif //defined(__SF_API_EX__)
  2037.     
  2038.     /* below define restore value */
  2039.     RESTORE_DEFAULT_MTPNP_SETTING,
  2040.     RESTORE_DEFAULT_CARD2_OWNER_NUMBER,
  2041.     RESTORE_DEFAULT_MTPNP_SMS_SHOW_STYLE,
  2042.     /* restore value */
  2043.     NVRAM_AUDPLY_SINGLE_VOL,
  2044.     NVRAM_SET_DCD_SETTING,
  2045.     NVRAM_BT_RECEIVE_DRIVE,
  2046.     NVRAM_BT_RECEIVE_DRIVE_ASK,
  2047.     NVRAM_SET_SCREFFECT_STYLE,      /* __MMI_SCREEN_SWITCH_EFFECT__ */
  2048.     NVRAM_SET_DIAL_STYLE,         /* __MMI_MOTION_DIAL__ */
  2049.     NRRAM_CAMCO_BEFORE_SWITCH_CAPSIZE,
  2050.     NVRAM_MEMORY_PROFILING_ENABLE,
  2051.     NVRAM_JAVA_SETTING_SIM_ID,
  2052.     NVRAM_JAVA_SETTING_PROF2_ID,
  2053.     NVRAM_EM_AGPSLOG_ENABLED,
  2054.     NVRAM_SET_HOMESCREEN,
  2055.     /*Media Player*/
  2056. NVRAM_MEDPLY_PREFER_LIST,
  2057.     NVRAM_MEDIA_PLAYER_VOLUME,
  2058.     NVRAM_MEDIA_PLAYER_SINGLE_VOLUME,
  2059.     NVRAM_MEDIA_PLAYER_MUTE,
  2060.     NVRAM_MEDIA_PLAYER_SINGLE_MUTE,
  2061.     NVRAM_EF_MEDPLY_SETTINGS_ACTIVE_PROFILE_INX,
  2062.     NVRAM_EF_MEDPLY_SETTINGS_REPEAT_PLAY,
  2063.     NVRAM_EF_MEDPLY_SETTINGS_SHUFFLE,
  2064.     NVRAM_DT_SEP_FORMAT,
  2065.     NVRAM_MOTION_DJ_VOLUMN,    
  2066.     NVRAM_RMGR_DB_CHECK,
  2067. NVRAM_MSG_HS_VOICEMAIL_RECENT_EVENT_ID, /* __MMI_OP11_HOMESCREEN__ */
  2068.     NVRAM_SMS_MISCELL_SETTING, /* __EMS_NON_STD_7BIT_CHAR__ __EMS_DYNAMIC_SEG_NUM__ */
  2069.     /* Activate IPSec on start */
  2070.     NVRAM_IPSEC_ACTIVATE_ON_START,
  2071.     NVRAM_IPSEC_ACTIVATE_PROF_INDEX,
  2072.     NVRAM_SIM2_CALLERID,
  2073.     NVRAM_VENDOR_TEST1,
  2074.     NVRAM_BLACK_LIST_SETTING_UNKNOWN_NUMBER,
  2075.     NVRAM_WHITE_LIST_SETTING,
  2076.     /* Internet Application */
  2077.     NVRAM_EM_INET_ACTIVE_USER_AGENT,
  2078.     NVRAM_EM_INET_ACTIVE_ACCEPT_HEADER,
  2079.     NVRAM_EM_INET_ACTIVE_MMS_VERSION,
  2080.     NVRAM_VODAFONE_FLAG,
  2081.     NVRAM_UDX_DATA_USE_WAY, /* __MMI_UDX_SUPPORT__ */
  2082.     NVRAM_BYTE_AUDIO_BASS_ENHANCEMENT_INDEX,
  2083.     NVRAM_AUTOUPDATE_DT_STATUS,
  2084.     NVRAM_HIJRI_CORRECTION,
  2085.     /* VF UE - PB copy SIM when startup */
  2086.     NVRAM_PHB_STARTUP_COPY_SIM,
  2087.     NVRAM_PHB_STARTUP_COPY_SIM2,
  2088. NVRAM_NETSET_CELL_INFO_STATUS,
  2089.     NVRAM_VT_MIRROR,
  2090.     NVRAM_VT_VIDEO_QUALITY,
  2091.     
  2092.     NVRAM_IME_SMART_MODE_CONFIG,
  2093.     NVRAM_SETTING_REJ_BY_SMS,
  2094.     NVRAM_PIM_DEFAULT_ACCOUNT,
  2095.     NVRAM_VUI_PHNSET_HOMESCREEN,
  2096.     NVRAM_VUI_PHNSET_MAINMENU_EFFECT,
  2097.     NVRAM_SETTING_AUTO_TEST,
  2098.     
  2099.     #if defined(__MF_VOICETONE__)
  2100.     NVRAM_BYTE_MF_SETTING,
  2101.     NVRAM_BYTE_MF_MODEL,
  2102.     #endif
  2103. #if defined(JOGBALL_SUPPORT)
  2104.     NVRAM_BYTE_JB_SENSITIVITY,
  2105. #endif
  2106. #ifdef __MMI_OFN_MOUSE__
  2107. NVRAM_BYTE_OFN_MODE,
  2108. NVRAM_BYTE_OFN_MOUSE_IMG_INDEX,
  2109. NVRAM_BYTE_CURSOR_TONE,
  2110.     NVRAM_BYTE_KEY_SENSITIVITY,
  2111.     NVRAM_BYTE_MOUSE_SENSITIVITY,
  2112. #endif
  2113. #ifdef __MMI_INNERVATION_WORLD__
  2114. NVRAM_DYNAMIC_WALLPAPER_SETTING,
  2115. #ifdef __MMI_TV_PLAYER__
  2116. NVRAM_TV_FULLSCREEN_SWITCH,
  2117. #endif
  2118. NVRAM_VDO_FULLSCREEN_SWITCH,
  2119. NVRAM_ROCK_SONG_SWITCH,
  2120. NVRAM_CALLIN_SILENT_MODE,
  2121. NVRAM_LAZYBOOTS_CLOCK,
  2122. NVRAM_FMRADIO_CHANNEL_SWITCH,
  2123. #endif
  2124. #if defined(__MMI_FREETYPE_SETTING_SUPPORT__)
  2125.     NVRAM_FREETYPE_SETTING,
  2126. #endif
  2127.     /* don not remove last element */
  2128.     NVRAM_LAST_BYTE_ELEMENT
  2129. } BYTEDATA;
  2130. /* PLUTO MMI [SHORT - 16bit] */
  2131. typedef enum
  2132. {
  2133.     NVRAM_SHORTDATA1_INDEX,             /* 0 */
  2134.     NVRAM_SHORTDATA2_INDEX,
  2135.     NVRAM_SNAKE_LEVEL1_SCORE,
  2136.     NVRAM_SNAKE_LEVEL2_SCORE,
  2137.     NVRAM_SNAKE_LEVEL3_SCORE,
  2138.     NVRAM_SNAKE_LEVEL4_SCORE,           /* 5 */
  2139.     NVRAM_F1RACE_SCORE,
  2140.     NVRAM_CURRENT_SCREENSVER_ID,
  2141.     NVRAM_PHB_STORAGE_LOCATION,
  2142.     NVRAM_FUNANDGAMES_SETWALLPAPER,
  2143.     NVRAM_GAME_DOLL_GRADE,              /* 10 */
  2144.     TOH_LEVEL1_HIGHEST_SCORE,
  2145.     TOH_LEVEL2_HIGHEST_SCORE,
  2146.     TOH_LEVEL3_HIGHEST_SCORE,
  2147.     TOH_LEVEL4_HIGHEST_SCORE,
  2148.     NVRAM_RICHES_EASY_SCORE,            /* 15 */
  2149.     NVRAM_RICHES_NORMAL_SCORE,
  2150.     NVRAM_RICHES_HARD_SCORE,
  2151.     NVRAM_COLORBALLS_EASY_SCORE,
  2152.     NVRAM_COLORBALLS_NORMAL_SCORE,
  2153.     NVRAM_COLORBALLS_HARD_SCORE,        /* 20 */
  2154.     NVRAM_SMASH_NORMAL_SCORE,
  2155.     NVRAM_SMASH_SPEEDY_SCORE,
  2156.     NVRAM_SMASH_ACCURACY_SCORE,
  2157.     NVRAM_SETTING_CTR_TIME,
  2158.     NVRAM_SETTING_PREFER_INPUT_METHOD,  /* 25 */
  2159.     RESTORE_DEFAULT_CURRENT_SCREENSVER_ID,
  2160.     RESTORE_DEFAULT_FUNANDGAMES_SETWALLPAPER,
  2161.     RESTORE_PREFER_INPUT_METHOD,
  2162.     NVRAM_GX_NINJA_SCORE,
  2163.     NVRAM_GX_MAJUNG_EASY_SCORE,         /* 30 */
  2164.     NVRAM_GX_MAJUNG_NORMAL_SCORE,
  2165.     NVRAM_GX_MAJUNG_HARD_SCORE,
  2166.     NVRAM_GX_MEMORY_EASY_SCORE,
  2167.     NVRAM_GX_MEMORY_NORMAL_SCORE,
  2168.     NVRAM_GX_MEMORY_HARD_SCORE,         /* 35 */
  2169.     NVRAM_GX_COPTER_SCORE,
  2170.     NVRAM_GX_PUZZLE_EASY_SCORE,
  2171.     NVRAM_GX_PUZZLE_NORMAL_SCORE,
  2172.     NVRAM_GX_PUZZLE_HARD_SCORE,
  2173.     NVRAM_GX_PANDA_SCORE,               /* 40 */
  2174.     NVRAM_GX_STAIR_EASY_SCORE,
  2175.     NVRAM_GX_STAIR_NORMAL_SCORE,
  2176.     NVRAM_GX_STAIR_HARD_SCORE,
  2177.     NVRAM_GX_UFO_SCORE,
  2178.     NVRAM_GX_DANCE_SCORE,               /* 45 */
  2179.     NVRAM_CAM_FILENAME_SEQ_NO,
  2180.     NVRAM_IMG_VIEWER_FILE_PATH,
  2181.     NVRAM_VDOREC_FILENAME_SEQ_NO,
  2182.     NVRAM_VDOPLY_SNAPSHOT_SEQ_NO,
  2183.     NVRAM_RESTORE_POWER_ON_DISPLAY,     /* 50 */
  2184.     NVRAM_RESTORE_POWER_OFF_DISPLAY,
  2185.     NVRAM_CURRENT_POWER_ON_DISPLAY,
  2186.     NVRAM_CURRENT_POWER_OFF_DISPLAY,
  2187.     NVRAM_POWER_ON_DISPLAY_SUCCESS,
  2188.     NVRAM_POWER_OFF_DISPLAY_SUCCESS,    /* 55 */
  2189.     NVRAM_SCREENSAVER_DISPLAY_SUCCESS,
  2190.     NVRAM_POWER_ON_FORCE_STOP_TIME,
  2191.     NVRAM_POWER_OFF_FORCE_STOP_TIME,
  2192.     NVRAM_SETWALLPAPER_SUB,
  2193.     RESTORE_DEFAULT_SETWALLPAPER_SUB,   /* 60 */
  2194.     NVRAM_CH_QUICK_END_TIME,
  2195.     NVRAM_GX_MAGICSUSHI_SCORE,
  2196.     NVRAM_SCR_SNAPSHOT_SEQ_NO,
  2197.     NVRAM_SETTING_TVOUT_FORMAT,
  2198.     NVRAM_SETTING_TVOUT_Y_GAMMA,        /* 65 */
  2199.     NVRAM_AUDIO_MIC_VOLUME_SET,
  2200.     NVRAM_SMS_CONCAT_MSG_REF_VALUE,
  2201.     NVRAM_GX_FRUIT_NO_USE,
  2202.     NVRAM_GX_FRUIT_EASY_SCORE,
  2203.     NVRAM_GX_FRUIT_NORMAL_SCORE,        /* 70 */
  2204.     NVRAM_GX_FRUIT_HARD_SCORE,
  2205.     NVRAM_AUDIO_SPEED_VALUE,
  2206.     NVRAM_SETTING_TVOUT_U,
  2207.     NVRAM_SETTING_TVOUT_V,
  2208.     NVRAM_IMGVIEW_STORAGE,              /* 75 */
  2209.     NVRAM_VDOPLY_STORAGE,
  2210.     NVRAM_VDOPLY_OPTION_BRIGHTNESS,
  2211.     NVRAM_VDOPLY_OPTION_CONTRAST,
  2212.     NVRAM_VDOPLY_OPTION_REPEAT,
  2213.     NVRAM_ALARM_FIRSTSAVE,              /* 80 */
  2214.     NVRAM_SMSCOUNTERS_SENT_SHORT,
  2215.     NVRAM_SMSCOUNTERS_RECD_SHORT,
  2216.     NVRAM_GX_VSMJ_LEVEL1,
  2217.     NVRAM_GX_VSMJ_LEVEL2,
  2218.     NVRAM_GX_VSMJ_LEVEL3,               /* 85 */
  2219.     NVRAM_IMGTILE_FILENAME_SEQ_NO,
  2220.     NVRAM_BRW_TIME_OUT_VALUE,
  2221.     NVRAM_EBOOK_NFO_LID,
  2222.     NVRAM_EBOOK_LAST_HIGHLIGHT_ID,
  2223.     NVRAM_BARCODE_FILENAME_SEQ_NO,      /* 90 */
  2224.     NVRAM_SETTING_TVOUT_AUD_PATH,
  2225.     NVRAM_FMRDO_LAST_CHANNEL,
  2226.     NVRAM_TIMEZONE,
  2227.     NVRAM_FRN_TIMEZONE,
  2228.     NVRAM_FM_FM_RADIO_CHANNEL_1,
  2229.     NVRAM_FM_FM_RADIO_CHANNEL_2,        /* 95 */
  2230.     NVRAM_FM_FM_RADIO_CHANNEL_3,
  2231.     NVRAM_PHB_NAME_LIST_FILTER,
  2232.     NVRAM_JMMS_LANGUAGE_CHANGE,
  2233.     NVRAM_VDOPLY_STREAM_SEQ_NO,
  2234.     NVRAM_CHIST_HAVE_MISSED_CALL,       /* 100 */
  2235.     NVRAM_SETTING_WRITING_LANG,
  2236.     NVRAM_SETTING_WRITING_LANG_SUB,
  2237. //NVRAM_BRW_SETTINGS_ZOOM_VALUE,
  2238.     NVRAM_UMMS_LANGUAGE_CHANGE,
  2239.     NVRAM_PHB_VCARD_VERSION,
  2240. NVRAM_BRW_PAGE_TIME_OUT_VALUE,
  2241.     NVRAM_EDITABLE_EQ_RENAME_FLAG,
  2242.     NVRAM_SLAVE_SMSCOUNTERS_SENT,
  2243.     NVRAM_SLAVE_SMSCOUNTERS_RECV,
  2244.     NVRAM_SLAVE_CHIST_HAVE_MISSED_CALL,    /* 110 */
  2245.     NVRAM_CHIST_NUM_MISSED_CALL_BEFORE_VIEW,
  2246.     NVRAM_AUDPLY_LAST_PLAYLIST_INDEX,
  2247.     NVRAM_WAP_PROF_ACTIVE_WAP_PROFILE_INDEX,
  2248.     NVRAM_WAP_PROF_ACTIVE_MMS_PROFILE_INDEX,
  2249.     NVRAM_SPA_LAST_SIM_STATUS,
  2250.     NVRAM_SPA_CUR_SIM_STATUS,
  2251.     NVRAM_SPA_EF_PROCESSED_FLAGS,
  2252.     NVRAM_PHB_SAVE_CONTACT_NOTIFY,
  2253.     NVRAM_MEDPLY_LAST_PLAYLIST_INDEX,
  2254.     NVRAM_MEDPLY_SNAPSHOT_SEQ_NO,
  2255.     NVRAM_EC_DEFAULT_CITY,
  2256.     NVRAM_SEARCH_WEB_BAIDU_HOT_KEY_SETTING,
  2257.     NVRAM_SEARCH_WEB_BAIDU_DEFAULT_CATEGORY,
  2258.     /* don not remove last element */
  2259.     NVRAM_LAST_SHORT_ELEMENT
  2260. } SHORTDATA;
  2261. /* PLUTO MMI [DOUBLE - 64bit] */
  2262. typedef enum
  2263. {
  2264.     CURRENCY_CONVERTOR_EXCHANGE_RATE,               /* 0 */
  2265.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE1,
  2266.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE2,
  2267.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE3,
  2268.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE4,
  2269.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE5,   /* 5 */
  2270.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE6,
  2271.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE7,
  2272.     NVRAM_RESTORE_DEFAULT_PEN_CALIBRATION_VALUE8,
  2273.     NVRAM_PEN_CALIBRATION_VALUE1,
  2274.     NVRAM_PEN_CALIBRATION_VALUE2,                   /* 10 */
  2275.     NVRAM_PEN_CALIBRATION_VALUE3,
  2276.     NVRAM_PEN_CALIBRATION_VALUE4,
  2277.     NVRAM_PEN_CALIBRATION_VALUE5,
  2278.     NVRAM_PEN_CALIBRATION_VALUE6,
  2279.     NVRAM_PEN_CALIBRATION_VALUE7,                   /* 15 */
  2280.     NVRAM_PEN_CALIBRATION_VALUE8,
  2281.     THEME_MANAGER_MAX_THEME_ID,
  2282.     THEME_MANAGER_CURR_THEME_ID,
  2283.     NVRAM_CCONV_EXCHANGE_RATE1,
  2284.     NVRAM_CCONV_EXCHANGE_RATE2,
  2285.     NVRAM_CCONV_EXCHANGE_RATE3,
  2286.     NVRAM_CCONV_EXCHANGE_RATE4,
  2287.     NVRAM_CCONV_EXCHANGE_RATE5,
  2288.     NVRAM_JMMS_RETRIEVAL_SETTINGS,
  2289.     NVRAM_JMMS_JAVA_MESSAGE_ID,
  2290.     NVRAM_JMMS_NORMAL_MESSAGE_ID,
  2291.     NVRAM_JMMS_CHINESE_TRANSACTION_ID,
  2292.     NVRAM_AUDIO_DEBUG_INFO1,
  2293.     NVRAM_AUDIO_DEBUG_INFO2,
  2294.     NVRAM_JMMS_RESTORE_RETRIEVAL_SETTINGS,
  2295.     NVRAM_USB_PREVIOUS_THEME_INDEX,
  2296.     THEME_MANAGER_DEFAULT_THEME_ID,
  2297.     NVRAM_VDOPLY_PROXY_PORT,        /* not used */  
  2298.     NVRAM_DISPCHAR_AVATAR_WPSS,
  2299.     NARAM_DISPCHAR_AVATAR_ONOFF,
  2300.     NVRAM_VDOPLY_HIGHEST_UDP_PORT,  /* not used */
  2301.     NVRAM_VDOPLY_LOWEST_UDP_PORT,   /* not used */     
  2302.     NVRAM_UMMS_RETRIEVAL_SETTINGS,
  2303.     NVRAM_UMMS_RESTORE_RETRIEVAL_SETTINGS,
  2304.     NVRAM_DISPCHAR_AVATAR_WPSS_SERIALNUM,
  2305.     NVRAM_DISPCHAR_AVATAR_ONOFF_SERIALNUM,
  2306.     NVRAM_CCONV_EXCHANGE_RATE6,
  2307.     NVRAM_CCONV_EXCHANGE_RATE7,
  2308.     NVRAM_CCONV_EXCHANGE_RATE8,
  2309.     NVRAM_CCONV_EXCHANGE_RATE9,
  2310.     NVRAM_AUDIO_DEBUG_INFO3,
  2311.     NVRAM_AUDIO_DEBUG_INFO4,
  2312.     NVRAM_MEDPLY_LAST_PLAYLIST_ID,
  2313.     
  2314.     NVRAM_A8BOX_DATA_ACNT,
  2315.     NVRAM_A8BOX_SETTINGS,
  2316.     /* don not remove last element */
  2317.     NVRAM_LAST_DOUBLE_ELEMENT
  2318. } DOUBLEDATA;
  2319. #endif /* CUSTOM_MMI_DEFAULT_VALUE_H */ /* _CUSTOM_MMI_DEFAULT_VALUE_PLUTO_H */