blob: f3a29a79d4e0599e280c0d8851b366376cf10e3a [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
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) 2005
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 *
38 * Filename:
39 * ---------
40 * customer_ps_inc.h
41 *
42 * Project:
43 * --------
44 * MAUI
45 *
46 * Description:
47 * ------------
48 * This file is intends for include file of PS customization parameters.
49 *
50 * Author:
51 * -------
52 *
53 *============================================================================
54 * HISTORY
55 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
56 *------------------------------------------------------------------------------
57 * removed!
58 * removed!
59 * removed!
60 * removed!
61 * removed!
62 * removed!
63 * removed!
64 *
65 * removed!
66 * removed!
67 * removed!
68 *
69 * removed!
70 * removed!
71 * removed!
72 *
73 * removed!
74 * removed!
75 * removed!
76 *
77 * removed!
78 * removed!
79 * removed!
80 *
81 * removed!
82 * removed!
83 * removed!
84 *
85 * removed!
86 * removed!
87 * removed!
88 *
89 * removed!
90 * removed!
91 * removed!
92 *
93 * removed!
94 * removed!
95 * removed!
96 *
97 * removed!
98 * removed!
99 * removed!
100 *
101 * removed!
102 * removed!
103 * removed!
104 *
105 * removed!
106 * removed!
107 * removed!
108 * removed!
109 * removed!
110 * removed!
111 *
112 * removed!
113 * removed!
114 * removed!
115 *
116 * removed!
117 * removed!
118 * removed!
119 *
120 * removed!
121 * removed!
122 * removed!
123 *
124 * removed!
125 * removed!
126 * removed!
127 *
128 * removed!
129 * removed!
130 * removed!
131 *
132 * removed!
133 * removed!
134 * removed!
135 *
136 * removed!
137 * removed!
138 * removed!
139 *
140 * removed!
141 * removed!
142 * removed!
143 * removed!
144 * removed!
145 * removed!
146 * removed!
147 * removed!
148 * removed!
149 * removed!
150 * removed!
151 *------------------------------------------------------------------------------
152 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
153 *============================================================================
154 ****************************************************************************/
155
156#ifndef _CUSTOMER_PS_INC_H
157#define _CUSTOMER_PS_INC_H
158#ifdef __UNIFIED_MESSAGE_ARCHIVE_SUPPORT__
159#define CM_SMS_MAX_ARMSG_NUM 100
160#endif
161/* For customer define SMS message box number. */
162/* This parameter means total number of SMS stored in SIM and NVRAM can be read. */
163
164/* This value is to define the maximun segment number of EMS short message. */
165#ifdef __EMS_REL5__
166#define MMI_SMS_MAX_MSG_SEG 8
167#else
168#define MMI_SMS_MAX_MSG_SEG 4
169#endif
170
171/* In later branch, each entry costs (46 + 2* MMI_SMS_MAX_MSG_SEG) bytes. */
172#define CM_SMS_MAX_MSG_NUM SMS_TOTAL_ENTRY
173
174/* From 3GPP 23.040, if __EMS_REL5__ is NOT turned ON, segment number shall be */
175/* larger than 8 segments. */
176#ifdef __EMS_REL5__
177#if MMI_SMS_MAX_MSG_SEG < 8
178#error segment number shall be larger than 8 for EMS 5.0
179#endif
180
181#endif
182
183/* The value defines the buffer size for EMS objects, such as pre-defined animation. */
184/* The more of buffer size would support more objects numbers. */
185#define EMS_OBJ_BUFF_SIZE_PER_SEG 300
186
187/* For EMS 5.1, the buffer for raw data of objects is separated to another memory pool. */
188/* The pool size is (MMI_SMS_MAX_MSG_SEG * 140 * EMS_RATIO_OF_OBJ_PDU_BUFF). */
189/* 140 is the max size of a SMS */
190
191/* The more of EMS_RATIO_OF_OBJ_PDU_BUFF value will support */
192/* the larger objects which is compressed in higher compression ratio. */
193
194/* The ratio can be a float value, for example, 1.5, 2.5 */
195
196#ifdef __EMS_REL5__
197#define EMS_RATIO_OF_OBJ_PDU_BUFF 2
198#endif
199
200
201/* TOTAL memory cost in EMS library : */
202/* If __EMS_REL5__ is NOT turned ON : */
203/* memory costs = 2 * CM_SMS_MAX_MSG_NUM * (EMS_OBJ_BUFF_SIZE_PER_SEG + 310) bytes */
204
205/* If __EMS_REL5__ is turned ON : */
206/* memory costs = 2 * CM_SMS_MAX_MSG_NUM * (EMS_OBJ_BUFF_SIZE_PER_SEG + 310 + */
207/* 140 *EMS_RATIO_OF_OBJ_PDU_BUFF) bytes */
208
209/* ps: 310 bytes per segment are for text string buffer */
210
211
212/* display when concatenated segment missed */
213/* for example: a 3-segment concatenated message, but 2nd segment misses. */
214/* MMI would show : "content of seg1(.....)content of seg3 " */
215/* Note :DO NOT use the UCS2 coding string . */
216#define EMS_MISS_SEG_DELIMIT_STR "(.....)"
217
218//#include "customer_email_num.h"
219
220#ifndef __OPTR_NONE__
221 #include "op_custom_ps_inc.h"
222#endif
223
224/* =========================================================================== */
225
226#endif /* _CUSTOMER_PS_INC_H */
227