Initial refactoring merge
[platform/core/telephony/libtapi.git] / include / common / tel_sat.h
1 /*
2  * tel-headers
3  *
4  * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
5  * Copyright (c) 2013 Intel Corporation. All rights reserved.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19
20 #ifndef __TEL_SAT_H__
21 #define __TEL_SAT_H__
22
23 #include <glib.h>
24 #include <tel_if.h>
25 #include <tel_call.h>
26 #include <tel_ss.h>
27
28 /**
29 *  @addtogroup TAPI_SAT
30 *  @{
31 *
32 *  @file tel_sat.h
33 *  @brief TAPI sat Interface
34 */
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 #define TELEPHONY_SAT_INTERFACE TELEPHONY_SERVICE".Sat"
41
42 #define TEL_SAT_DEF_TEXT_STRING_LEN_MAX 500 /**< max length for Text String  */
43 #define TEL_SAT_DEF_TITLE_LEN_MAX       50 /**< max length for Menu Title */
44 #define TEL_SAT_DEF_ITEM_STR_LEN_MAX    50 /**< max length for default item string */
45 #define TEL_SAT_TEXT_STRING_LEN_MAX             500 /**< max length for text string */
46 #define TEL_SAT_DEF_BIT_MASK_CONTACT    0x01 /**< Bit Mask for Contact */
47 #define TEL_SAT_DEF_BIT_MASK_MSG        0x02 /**< Bit Mask for Msg */
48 #define TEL_SAT_DEF_BIT_MASK_OTHER      0x04 /**< Bit Mask for Psh */
49 #define TEL_SAT_REFRESH_FILE_LIST               20 /**< Refresh File List */
50 #define TEL_SAT_DEF_SS_LEN_MAX  250 /**< max length for SS */
51 #define TEL_SAT_DEF_USSD_LEN_MAX        250 /**< max length for USSD */
52 #define TEL_SAT_DIALING_NUMBER_LEN_MAX  200 /**< max length for dailing number */
53 #define TEL_SAT_ALPHA_ID_LEN_MAX        255     /**< max length of  alpha identifier */
54 #define TEL_SAT_SUB_ADDR_LEN_MAX        30 /**< max length for Sub address */
55 #define TEL_SAT_CCP_DATA_LEN_MAX        30 /**< max length of ccp data */
56 #define TEL_SAT_SS_STRING_LEN_MAX       160 /**< max length for SS string */
57 #define TEL_SAT_USSD_STRING_LEN_MAX     255 /**< max length for USSD string */
58 #define TEL_SAT_ITEM_TEXT_LEN_MAX       45 /**< max length of item text */
59 #define TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX       175 /**< max length for SMS TPDU SMS data */
60 #define TEL_SAT_FILE_ID_LIST_MAX_COUNT  255 /**< max length for file id list */
61 #define TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT   50 /**< max count of items next action indication list */
62 #define TEL_SAT_EVENT_LIST_MAX  17 /**< max count of event list */
63 #define TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX      50 /**< max length of image data file name (Icon, CLUT) */
64 #define TEL_SAT_ICON_LIST_MAX_COUNT     50 /**< max count of icon list */
65 #define TEL_SAT_DTMF_STRING_LEN_MAX     30 /**< max length of dtmf string */
66 #define TEL_SAT_URL_LEN_MAX     129 /**< max length of URL*/
67 #define TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX  50 /**< max length of provisioning file path */
68 #define TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX     255 /**< max length for channel data string */
69 #define TEL_SAT_OTHER_ADDR_LEN_MAX      30 /**< max length of other address */
70 #define TEL_SAT_NET_ACC_NAM_LEN_MAX     30 /**< max length of net acc name */
71 #define TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX      50 /**< max length of remote entity address */
72 #define TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT     50 /**< max count of item text attributes list */
73 #define TEL_SAT_MENU_ITEM_COUNT_MAX     40 /**< max count for Menu items */
74
75 /**
76  * @enum TelSatResult
77  * Response (Result) codes
78 */
79 typedef enum {
80         TEL_SAT_RESULT_SUCCESS, /**< Operation completed successfully */
81         TEL_SAT_RESULT_FAILURE, /**< Operation Failed */
82         TEL_SAT_RESULT_INVALID_PARAMETER, /**< Invalid input parameters */
83         TEL_SAT_RESULT_MEMORY_FAILURE, /**< Memory allocation failed */
84         TEL_SAT_RESULT_OPERATION_NOT_SUPPORTED, /**< Operation not supported */
85         TEL_SAT_RESULT_UNKNOWN_FAILURE, /**< Unknown failure */
86
87         TEL_SAT_RESULT_REQUIRED_VALUE_MISSING, /**< Required value missing */
88         TEL_SAT_RESULT_COMMAND_NOT_UNDERSTOOD, /**< Command not understood by ME */
89         TEL_SAT_RESULT_BEYOND_ME_CAPABILITY /**< Beyond ME capability */
90 } TelSatResult;
91
92 /**
93  * @enum TelSatUiUserConfirmType
94  * This enumeration defines UI user confirm types
95 */
96 typedef enum {
97         TEL_SAT_USER_CONFIRM_YES, /**<This Enum Informs That user confirms yes */
98         TEL_SAT_USER_CONFIRM_NO_OR_CANCEL, /**<This enum informs that user confirms no/cancel */
99         TEL_SAT_USER_CONFIRM_HELP_INFO, /**<This enum informs that user wants help information */
100         TEL_SAT_USER_CONFIRM_END, /**<This enum informs that user confirms end */
101         TEL_SAT_USER_CONFIRM_TIMEOUT, /**<This enum informs that user did not respond */
102 } TelSatUiUserConfirmType;
103
104 /**
105  * @enum TelSatUiDisplayStatusType
106  * This enumeration defines the UI Display Status.
107  */
108 typedef enum
109 {
110         TEL_SAT_DISPLAY_SUCCESS = 0x00, /**< This enum informs  UI display success */
111         TEL_SAT_DISPLAY_FAIL = 0x01, /**< This enum informs  UI display failure */
112 }TelSatUiDisplayStatusType;
113
114 /**
115  * @enum TelSatRefreshAppType
116  * This enumeration defines the Refresh Application Type.
117  */
118  typedef enum
119 {
120         TEL_SAT_REFRESH_CONTACT = 0x00,  /**< refresh application type - Phonebook */
121         TEL_SAT_REFRESH_MSG, /**< refresh application type - SMS */
122         TEL_SAT_REFRESH_OTHER, /**< refresh application type - other */
123         TEL_SAT_REFRESH_MAX      /**< Maximum Enumeration Value */
124 }TelSatRefreshAppType;
125
126 /**
127  * @enum TelSatCallCtrlType
128  * This enumeration defines Call Control Type.
129  */
130 typedef enum
131 {
132         TEL_SAT_CALL_CNF_NONE = 0x00, /**< call control confirm type - None */
133         TEL_SAT_CALL_CNF_CALL, /**< call control confirm type - call */
134         TEL_SAT_CALL_CNF_SS, /**< call control confirm type - ss */
135         TEL_SAT_CALL_CNF_USSD, /**< call control confirm type - ussd */
136         TEL_SAT_CALL_CNF_MAX /**< Maximum Enumeration Value */
137 }TelSatCallCtrlType;
138
139 /**
140  * @enum TelSatProactiveCmdType
141  * This enumeration defines Proactive command types
142 */
143 typedef enum {
144         TEL_SAT_PROATV_CMD_NONE = 0x00, /**< command type - None */
145         TEL_SAT_PROATV_CMD_REFRESH = 0x01, /**< command type - refresh */
146         TEL_SAT_PROATV_CMD_MORE_TIME = 0x02, /**< command type - more time      */
147         TEL_SAT_PROATV_CMD_SETUP_EVENT_LIST = 0x05, /**< command type - setup event list */
148         TEL_SAT_PROATV_CMD_SETUP_CALL = 0x10, /**<      command type - setup call */
149         TEL_SAT_PROATV_CMD_SEND_SS = 0x11, /**< command type - send ss */
150         TEL_SAT_PROATV_CMD_SEND_USSD = 0x12, /**< command type - send ussd       */
151         TEL_SAT_PROATV_CMD_SEND_SMS = 0x13, /**< command type - send sms */
152         TEL_SAT_PROATV_CMD_SEND_DTMF = 0x14, /**< command type - send dtmf      */
153         TEL_SAT_PROATV_CMD_LAUNCH_BROWSER = 0x15, /**< command type - launch browser     */
154         TEL_SAT_PROATV_CMD_PLAY_TONE = 0x20, /**< command type - play tone */
155         TEL_SAT_PROATV_CMD_DISPLAY_TEXT = 0x21, /**< command type - display text */
156         TEL_SAT_PROATV_CMD_GET_INKEY = 0x22, /**< command type - get inkey */
157         TEL_SAT_PROATV_CMD_GET_INPUT = 0x23, /**< command type - get input */
158         TEL_SAT_PROATV_CMD_SELECT_ITEM = 0x24, /**< command type - select item */
159         TEL_SAT_PROATV_CMD_SETUP_MENU = 0x25, /**< command type - setup menu */
160         TEL_SAT_PROATV_CMD_PROVIDE_LOCAL_INFO = 0x26, /**< command type - provide local info */
161         TEL_SAT_PROATV_CMD_SETUP_IDLE_MODE_TEXT = 0x28, /**< command type - setup idle mode text */
162         TEL_SAT_PROATV_CMD_LANGUAGE_NOTIFICATION = 0x35, /**< command type - language notification */
163         TEL_SAT_PROATV_CMD_OPEN_CHANNEL = 0x40, /**< command type - open channel -class e */
164         TEL_SAT_PROATV_CMD_CLOSE_CHANNEL = 0x41, /**< command type - close channel - class e */
165         TEL_SAT_PROATV_CMD_RECEIVE_DATA = 0x42, /**< command type - receive data -class e */
166         TEL_SAT_PROATV_CMD_SEND_DATA = 0x43, /**< command type - send data */
167         TEL_SAT_PROATV_CMD_GET_CHANNEL_STATUS = 0x44, /**< command type - get channel status -class e */
168         TEL_SAT_PROATV_CMD_TYPE_END_PROACTIVE_SESSION = 0xFE, /**< command type - end proactive session */
169         TEL_SAT_PROATV_CMD_RESERVED = 0xFF /**< command type - reserved */
170 } TelSatProactiveCmdType;
171
172 /**
173  * @enum TelSatAlphabetFormatType
174  * This enumeration defines Alphabet format type
175 */
176 typedef enum {
177         TEL_SAT_ALPHABET_FORMAT_SMS_DEFAULT = 0x00, /**< Alphabet type -SMS default format */
178         TEL_SAT_ALPHABET_FORMAT_8BIT_DATA = 0x01, /**< Alphabet type -8 bit format data */
179         TEL_SAT_ALPHABET_FORMAT_UCS2 = 0x02, /**< Alphabet type -UCS2 format */
180         TEL_SAT_ALPHABET_FORMAT_RESERVED = 0x03 /**< Alphabet type -format reserved */
181 } TelSatAlphabetFormatType;
182
183 /**
184  * @enum TelSatMsgClassType
185  * This enumeration defines message class types
186 */
187 typedef enum {
188         TEL_SAT_MSG_CLASS_NONE = 0x00, /**< class none */
189         TEL_SAT_MSG_CLASS_0 = 0x01, /**< class 0 */
190         TEL_SAT_MSG_CLASS_1, /**< class 1 Default meaning:ME-specific */
191         TEL_SAT_MSG_CLASS_2, /**< class 2 SIM specific message */
192         TEL_SAT_MSG_CLASS_3, /**< class 3 Default meaning: TE specific */
193         TEL_SAT_MSG_CLASS_RESERVED = 0xFF /**< class reserved */
194 } TelSatMsgClassType;
195
196 /**
197  * @enum TelSatCallCtrlResultType
198  * This enum indicates the result of call control by SIM.
199  */
200 typedef enum {
201         TEL_SAT_CALL_CTRL_R_ALLOWED_NO_MOD = 0, /**<    call control result type -  ALLOWED WITH NO MOD */
202         TEL_SAT_CALL_CTRL_R_NOT_ALLOWED = 1, /**< call control result type -  NOT ALLOWED */
203         TEL_SAT_CALL_CTRL_R_ALLOWED_WITH_MOD = 2, /**< call control result type -  ALLOWED WITH MOD     */
204         TEL_SAT_CALL_CTRL_R_RESERVED = 0xFF /**< call control result type -  RESERVED */
205 } TelSatCallCtrlResultType;
206
207 /**
208  * @enum TelSatCallType
209  * This enum indicates the SAT call type
210  */
211 typedef enum {
212         TEL_SAT_CALL_TYPE_MO_VOICE = 0X00,      /**<    call type -mo voice */
213         TEL_SAT_CALL_TYPE_MO_SMS, /**< call type - mo sms */
214         TEL_SAT_CALL_TYPE_SS, /**< call type -  ss */
215         TEL_SAT_CALL_TYPE_USSD, /**< call type -  ussd */
216         TEL_SAT_PDP_CNTXT_ACT, /**< call type -  pdp context action */
217         TEL_SAT_CALL_TYPE_MAX /**< call type -  max */
218 }TelSatCallType;
219
220 /**
221  * @enum TelSatUseInputAlphabetType
222  * This is associated with the command qualifier for get input.
223  */
224 typedef enum {
225         TEL_SAT_USER_INPUT_ALPHABET_TYPE_SMS_DEFAULT = 1, /**< command qualifier for  ALPHABET TYPE SMS DEFAULT */
226         TEL_SAT_USER_INPUT_ALPHABET_TYPE_UCS2 = 2 /**< command qualifier for  ALPHABET TYPE UCS2 */
227 } TelSatUseInputAlphabetType;
228
229 /**
230  * @enum TelSatResultType
231  * This enumeration defines sat result types
232 */
233 typedef enum {
234         TEL_SAT_RESULT_SUCCESS_RETURN = 0x0, /**< command performed successfully */
235         TEL_SAT_RESULT_SUCCESS_WITH_PARTIAL_COMPREHENSION = 0x01, /**< command performed with partial comprehension */
236         TEL_SAT_RESULT_SUCCESS_WITH_MISSING_INFO = 0x02, /**< command performed, with missing information */
237
238         TEL_SAT_RESULT_REFRESH_PERFORMED_WITH_ADDITIONAL_EFS_READ = 0x03, /**< REFRESH PERFORMED WITH ADDITIONAL EFS READ */
239         TEL_SAT_RESULT_SUCCESS_BUT_REQUESTED_ICON_NOT_DISPLAYED = 0x04, /**<     command performed but REQUESTED ICON NOT DISPLAYED */
240         TEL_SAT_RESULT_SUCCESS_BUT_MODIFIED_BY_CALL_CONTROL_BY_SIM = 0x05, /**< command performed but MODIFIED BY CALL CONTROL BY SIM */
241         TEL_SAT_RESULT_SUCCESS_LIMITED_SERVICE = 0x06, /**< command performed with LIMITED SERVICE */
242         TEL_SAT_RESULT_SUCCESS_WITH_MODIFICATION = 0x07, /**< command performed with MODIFICATION */
243         TEL_SAT_RESULT_REFRESH_PRFRMD_BUT_INDICATED_USIM_NOT_ACTIVE = 0x08, /**< REFRESH PERFORMED BUT INDICATED USIM NOT ACTIVE */
244         TEL_SAT_RESULT_SUCCESS_BUT_TONE_NOT_PLAYED = 0x09, /**< command performed successfully, tone not played */
245
246         TEL_SAT_RESULT_PROACTIVE_SESSION_TERMINATED_BY_USER = 0x10, /**< proactive sim application session terminated by user    */
247         TEL_SAT_RESULT_BACKWARD_MOVE_BY_USER = 0x11, /**< backward move in the proactive sim application session request by the user */
248         TEL_SAT_RESULT_NO_RESPONSE_FROM_USER = 0x12, /**< no response from user */
249
250         TEL_SAT_RESULT_HELP_INFO_REQUIRED_BY_USER = 0x13, /**< HELP INFO REQUIRED BY USER */
251         TEL_SAT_RESULT_USSD_OR_SS_TRANSACTION_TERMINATED_BY_USER = 0x14, /**< USSD OR SS TRANSACTION TERMINATED BY USER */
252
253         TEL_SAT_RESULT_ME_UNABLE_TO_PROCESS_COMMAND = 0x20, /**<        ME currently unable to process command  */
254         TEL_SAT_RESULT_NETWORK_UNABLE_TO_PROCESS_COMMAND = 0x21, /**< Network currently unable to process command */
255         TEL_SAT_RESULT_USER_DID_NOT_ACCEPT_CALL_SETUP_REQ = 0x22, /**< User did not accept call setup request */
256         TEL_SAT_RESULT_USER_CLEAR_DOWN_CALL_BEFORE_CONN = 0x23, /**< User cleared down call before connection or network released */
257
258         TEL_SAT_RESULT_INTERACTION_WITH_CC_BY_SIM_IN_TMP_PRBLM = 0x25, /**< INTERACTION WITH CALL CONTROL BY SIM IN TEMPORARY PROBLEM */
259         TEL_SAT_RESULT_LAUNCH_BROWSER_GENERIC_ERROR_CODE = 0x26, /**< LAUNCH BROWSER GENERIC ERROR CODE */
260
261         TEL_SAT_RESULT_BEYOND_ME_CAPABILITIES = 0x30, /**< command beyond ME's capabilities */
262         TEL_SAT_RESULT_COMMAND_TYPE_NOT_UNDERSTOOD_BY_ME = 0x31, /**< command type not understood by ME */
263         TEL_SAT_RESULT_COMMAND_DATA_NOT_UNDERSTOOD_BY_ME = 0x32, /**< command data not understood by ME */
264         TEL_SAT_RESULT_COMMAND_NUMBER_NOT_KNOWN_BY_ME = 0x33, /**<      command number not known by ME */
265         TEL_SAT_RESULT_SS_RETURN_ERROR = 0x34, /**< SS return error */
266         TEL_SAT_RESULT_SMS_RP_ERROR = 0x35, /**< SMS rp-error */
267         TEL_SAT_RESULT_ERROR_REQUIRED_VALUES_ARE_MISSING = 0x36, /**< Error, required values are missing */
268
269         TEL_SAT_RESULT_USSD_RETURN_ERROR = 0x37, /**<   USSD_RETURN_ERROR */
270         TEL_SAT_RESULT_INTRCTN_WITH_CC_OR_SMS_CTRL_PRMNT_PRBLM = 0x39, /**<     INTERACTION WITH CALL CONTROL OR SMS CONTROL PERMANENT PROBLEM */
271         TEL_SAT_RESULT_BEARER_INDEPENDENT_PROTOCOL_ERROR = 0x3A, /**< BEARER INDEPENDENT PROTOCOL ERROR */
272         TEL_SAT_RESULT_FRAMES_ERROR = 0x3C, /**< FRAMES ERROR */
273 } TelSatResultType;
274
275 /**
276  * @enum TelSatMeProblemType
277  * This enumeration defines ME problem types
278 */
279 typedef enum {
280         TEL_SAT_ME_PROBLEM_NO_SPECIFIC_CAUSE = 0x0, /**< ME problem with NO SPECIFIC CAUSE */
281         TEL_SAT_ME_PROBLEM_SCREEN_BUSY = 0x01, /**< ME problem with SCREEN BUSY */
282         TEL_SAT_ME_PROBLEM_ME_BUSY_ON_CALL = 0x02, /**< ME problem with ME BUSY ON CALL */
283         TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SS = 0x03, /**< ME problem with ME_BUSY ON SS */
284         TEL_SAT_ME_PROBLEM_NO_SERVICE = 0x04, /**<      ME problem with NO SERVICE */
285         TEL_SAT_ME_PROBLEM_ACCESS_CONTROL_CLASS_BAR = 0x05, /**< ME problem with ACCESS CONTROL CLASS BAR */
286         TEL_SAT_ME_PROBLEM_RADIO_RES_NOT_GRANTED = 0x06, /**< ME problem with RADIO RES NOT GRANTED */
287         TEL_SAT_ME_PROBLEM_NOT_IN_SPEECH_CALL = 0x07, /**< ME problem with NOT IN SPEECH CALL */
288         TEL_SAT_ME_PROBLEM_ME_BUSY_ON_USSD = 0x08, /**< ME problem with ME BUSY ON USSD */
289         TEL_SAT_ME_PROBLEM_ME_BUSY_ON_SEND_DTMF_CMD = 0x09, /**<        ME problem with ME BUSY ON SEND DTMF CMD */
290         TEL_SAT_ME_PROBLEM_NO_USIM_ACTIVE = 0x0A, /**< ME problem with NO USIM ACTIVE */
291         TEL_SAT_ME_PROBLEM_INVALID = 0xFF /**< ME problem with INVALID */
292 } TelSatMeProblemType;
293
294 /**
295  * @enum TelSatCallControlResult
296  * This enumeration defines call control result types
297 */
298 typedef enum {
299         TEL_SAT_CALL_CTRL_RESULT_ALLOWED_NO_MOD = 0x00, /**< call control result type -ALLOWED NO MOD */
300         TEL_SAT_CALL_CTRL_RESULT_NOT_ALLOWED = 0x01, /**< call control result type -NOT ALLOWED */
301         TEL_SAT_CALL_CTRL_RESULT_ALLOWED_WITH_MOD = 0x02, /**< call control result type -ALLOWED WITH MOD */
302         TEL_SAT_CALL_CTRL_RESULT_RESERVED /**< call control result type -RESERVED */
303 } TelSatCallControlResult;
304
305 /**
306  * @enum TelSatTypeOfNum
307  * This enumeration defines sat type of number
308 */
309 typedef enum {
310         TEL_SAT_TON_UNKNOWN = 0,                        /*< unknown */
311         TEL_SAT_TON_INTERNATIONAL = 1,          /*< international number */
312         TEL_SAT_TON_NATIONAL = 2,                       /*< national number */
313         TEL_SAT_TON_NETWORK_SPECIFIC = 3,       /*< network specific number */
314         TEL_SAT_TON_DEDICATED_ACCESS = 4,       /*< subscriber number */
315         TEL_SAT_TON_ALPHA_NUMERIC = 5,          /*< alphanumeric, GSM 7-bit default alphabet) */
316         TEL_SAT_TON_ABBREVIATED_NUMBER = 6,     /*< abbreviated number */
317         TEL_SAT_TON_RESERVED_FOR_EXT = 7        /*< reserved for extension */
318 } TelSatTypeOfNum;
319
320 /**
321  * @enum TelSatNumberingPlanIdentity
322  * This enumeration defines numbering plan identity
323 */
324 typedef enum {
325         TEL_SAT_NPI_UNKNOWN = 0,                                /*< Unknown */
326         TEL_SAT_NPI_ISDN_TEL = 1,                               /*< ISDN Telephone numbering plan */
327         TEL_SAT_NPI_DATA_NUMBERING_PLAN = 3,    /*< Data numbering plan */
328         TEL_SAT_NPI_TELEX = 4,                                  /*< Telex numbering plan */
329         TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN = 5, /*< Service Center Specific plan */
330         TEL_SAT_NPI_SVC_CNTR_SPECIFIC_PLAN2 = 6,/*< Service Center Specific plan */
331         TEL_SAT_NPI_NATIONAL = 8,                               /*< National numbering plan */
332         TEL_SAT_NPI_PRIVATE = 9,                                /*< Private numbering plan */
333         TEL_SAT_NPI_ERMES_NUMBERING_PLAN = 10,  /*< ERMES numbering plan */
334         TEL_SAT_NPI_RESERVED_FOR_EXT = 0xF              /*< Reserved for extension */
335 } TelSatNumberingPlanIdentity;
336
337 /**
338  * @enum TelSatDeviceIdentitiesTagType
339  * This enumeration defines device identities tag types
340 */
341 typedef enum {
342         TEL_SAT_DEVICE_ID_KEYPAD = 0x01, /**< device identities tag type -ID KEYPAD */
343         TEL_SAT_DEVICE_ID_DISPLAY = 0x02, /**< device identities tag type -ID DISPLAY */
344         TEL_SAT_DEVICE_ID_EARPIECE = 0x03, /**< device identities tag type -ID EARPIECE */
345         /* 21-27 for channel */
346         TEL_SAT_DEVICE_ID_SIM = 0x81, /**< device identities tag type -ID SIM */
347         TEL_SAT_DEVICE_ID_ME = 0x82, /**< device identities tag type -ID ME */
348         TEL_SAT_DEVICE_ID_NETWORK = 0x83, /**< device identities tag type -ID NETWORK */
349         TEL_SAT_DEVICE_ID_RESERVED = 0XFF /**< device identities tag type -ID RESERVED */
350 } TelSatDeviceIdentitiesTagType;
351
352 /**
353  * @enum TelSatTimeUnitType
354  * This enumeration defines time unit types
355 */
356 typedef enum {
357         TEL_SAT_TIME_UNIT_MINUTES = 0x0, /**< Time unit type -MINUTES */
358         TEL_SAT_TIME_UNIT_SECONDS = 0x01, /**< Time unit type -SECONDS */
359         TEL_SAT_TIME_UNIT_TENTHS_OF_SECONDS     = 0x02, /**< Time unit type -TENTHS_OF_SECONDS */
360         TEL_SAT_TIME_UNIT_RESERVED       = 0xFF /**< Time unit type -RESERVED */
361 } TelSatTimeUnitType;
362
363 /**
364  * @enum TelSatSmsTpduType
365  * This enumeration defines SMS TPDU types
366 */
367 typedef enum {
368         TEL_SAT_SMS_TPDU_TYPE_DELIVER_TPDU = 0, /**< SMS TPDU type -DELIVER TPDU */
369         TEL_SAT_SMS_TPDU_TYPE_DELIVER_RPT = 1, /**< SMS TPDU type -DELIVER RPT */
370         TEL_SAT_SMS_TPDU_TYPE_SUBMIT_TPDU = 2, /**< SMS TPDU type -SUBMIT TPDU */
371         TEL_SAT_SMS_TPDU_TYPE_SUBMIT_RPT        = 3, /**< SMS TPDU type -SUBMIT RPT */
372         TEL_SAT_SMS_TPDU_TYPE_STATUS_RPT        = 4, /**< SMS TPDU type -STATUS RPT */
373         TEL_SAT_SMS_TPDU_TYPE_TPDU_CMD = 5 /**< SMS TPDU type -TPDU CMD */
374 } TelSatSmsTpduType;
375
376 /**
377  * @enum TelSatEventListType
378  * This enumeration defines event list types
379 */
380 typedef enum {
381         TEL_SAT_EVENT_MT_CALL = 0, /**< event type -MT CALL */
382         TEL_SAT_EVENT_CALL_CONNECTED = 1, /**< event type -CALL CONNECTED */
383         TEL_SAT_EVENT_CALL_DISCONNECTED = 2, /**< event type -CALL DISCONNECTED */
384         TEL_SAT_EVENT_LOCATION_STATUS = 3, /**< event type -LOCATION STATUS */
385         TEL_SAT_EVENT_USER_ACTIVITY = 4, /**< event type - USER_ACTIVITY */
386         TEL_SAT_EVENT_IDLE_SCREEN_AVAILABLE = 5, /**< event type - IDLE SCREEN AVAILABLE */
387         TEL_SAT_EVENT_CARD_READER_STATUS = 6, /**< event type -CARD READER STATUS */
388         TEL_SAT_EVENT_LANGUAGE_SELECTION = 7, /**<      event type - LANGUAGE SELECTION */
389         TEL_SAT_EVENT_BROWSER_TERMINATION = 8, /**< event type - BROWSER TERMINATION */
390         TEL_SAT_EVENT_DATA_AVAILABLE = 9, /**< event type -DATA AVAILABLE */
391         TEL_SAT_EVENT_CHANNEL_STATUS = 0x0A, /**< event type - CHANNEL STATUS    */
392         TEL_SAT_EVENT_ACCESS_TECHNOLOGY_CHANGED = 0x0B, /**< event type -TECHNOLOGY CHANGED */
393         TEL_SAT_EVENT_DISPLAY_PARAMETERS_CHANGED = 0x0C, /**< event type -PARAMETERS CHANGED */
394         TEL_SAT_EVENT_LOCAL_CONNECTION = 0x0D, /**< event type -LOCAL CONNECTION */
395         TEL_SAT_EVENT_NW_SEARCH_MODE_CHANGED = 0X0E, /**< event type -NW SEARCH MODE CHANGED */
396         TEL_SAT_EVENT_BROWSING_STATUS = 0X0F, /**< event type -BROWSING STATUS */
397         TEL_SAT_EVENT_FRAMES_INFORMATION_CHANGED = 0X10, /**< event type -FRAMES INFORMATION CHANGED */
398         TEL_SAT_EVENT_RESERVED_FOR_3GPP = 0X11, /**< event type -RESERVED FOR 3GPP */
399         TEL_SAT_EVENT_UNKNOWN = 0xFF /**< event type - UNKNOWN */
400 } TelSatEventListType;
401
402 /**
403  * @enum TelSatCallCtrlStringType
404  * This enumeration defines call control string type.
405  */
406 typedef enum {
407         TEL_SAT_CC_VOICE = 0x00, /**< Call Control String Type - voice */
408         TEL_SAT_CC_SS = 0x01, /**< Call Control String Type - ss */
409         TEL_SAT_CC_USSD = 0x02, /**< Call Control String Type - ussd */
410         TEL_SAT_CC_NONE = 0xFF /**< Call Control String Type - none */
411 } TelSatCallCtrlStringType;
412
413 /**
414  * @enum TelSatInkeyType
415  * This enumeration defines inkey type
416 */
417 typedef enum {
418         TEL_SAT_INKEY_TYPE_CHARACTER_SET_ENABLED = 0, /**< Display inkey type -character set enabled */
419         TEL_SAT_INKEY_TYPE_YES_NO_REQUESTED = 1 /**< Display inkey type -yes/No requested */
420 } TelSatInkeyType;
421
422 /**
423  * @enum TelSatToneType
424  * This enumeration defines tone types
425 */
426 typedef enum {
427         /* standard supervisory tones */
428         TEL_SAT_DIAL_TONE = 0x01, /**<  TONE TYPE DIAL TONE */
429         TEL_SAT_CALLED_SUBSCRIBER_BUSY = 0x02, /**< TONE TYPE CALLED SUBSCRIBER BUSY */
430         TEL_SAT_CONGESTION = 0x03, /**< TONE TYPE CONGESTION */
431         TEL_SAT_RADIO_PATH_ACK = 0x04, /**< TONE TYPE RADIO PATH ACK */
432         TEL_SAT_RADIO_PATH_NOT_AVAILABLE_CALL_DROPPED = 0x05, /**< TONE TYPE RADIO PATH NOT AVAILABLE CALL DROPPED */
433         TEL_SAT_ERR_SPECIAL_INFO = 0x06, /**<   TONE TYPE ERR SPECIAL INFO */
434         TEL_SAT_CALL_WAITING_TONE = 0x07, /**< TONE TYPE CALL WAITING TONE */
435         TEL_SAT_RINGING_TONE = 0x08, /**< TONE TYPE RINGING TONE */
436
437         /* ME proprietary tones */
438         TEL_SAT_GENERAL_BEEP = 0x10, /**<       TONE TYPE GENERAL BEEP */
439         TEL_SAT_POSITIVE_ACK_TONE = 0x11, /**< TONE TYPE POSITIVE ACK TONE */
440         TEL_SAT_NEGATIVE_ACK_OR_ERROR_TONE = 0x12, /**< TONE TYPE NEGATIVE ACK OR ERROR TONE */
441         TEL_SAT_RINGING_TONE_SLCTD_BY_USR_FOR_INCOM_SPEECH_CALL = 0x13, /**<    TONE TYPE RINGING TONE SELECTED BY USER FOR INCOMING SPEECH CALL */
442         TEL_SAT_ALERT_TONE_SELECTED_BY_USER_FOR_INCOMING_SMS = 0x14, /**< TONE TYPE ALERT TONE SELECTED BY USER FOR INCOMING SMS */
443         TEL_SAT_CRITICAL_ALERT = 0x15, /**< TONE TYPE CRITICAL ALERT */
444
445         /* Themed tones */
446         TEL_SAT_HAPPY_TONE = 0x30, /**< TONE TYPE HAPPY TONE */
447         TEL_SAT_SAD_TONE = 0x31, /**< TONE TYPE SAD TONE */
448         TEL_SAT_URGENT_ACTION_TONE = 0x32, /**< TONE TYPE URGENT ACTION TONE */
449         TEL_SAT_QUESTION_TONE = 0x33, /**< TONE TYPE QUESTION TONE */
450         TEL_SAT_MESSAGE_RECEIVED_TONE = 0x34, /**< TONE TYPE MESSAGE RECEIVED TONE */
451
452         /* Melody tones */
453         TEL_SAT_MELODY_1 = 0x40, /**<   TONE TYPE MELODY 1 */
454         TEL_SAT_MELODY_2 = 0x41, /**<   TONE TYPE MELODY 2 */
455         TEL_SAT_MELODY_3 = 0x42, /**<   TONE TYPE MELODY 3 */
456         TEL_SAT_MELODY_4 = 0x43, /**<   TONE TYPE MELODY 4 */
457         TEL_SAT_MELODY_5 = 0x44, /**<   TONE TYPE MELODY 5 */
458         TEL_SAT_MELODY_6 = 0x45, /**<   TONE TYPE MELODY 6 */
459         TEL_SAT_MELODY_7 = 0x46, /**<   TONE TYPE MELODY 7 */
460         TEL_SAT_MELODY_8 = 0x47, /**<   TONE TYPE MELODY 8 */
461
462         TEL_SAT_TONE_TYPE_RESERVED = 0xFF /**< TONE TYPE RESERVED */
463 } TelSatToneType;
464
465 /**
466  * @enum TelSatBcRepeatIndicatorType
467  * This enumeration defines BC repeat indicator types
468 */
469 typedef enum {
470         TEL_SAT_BC_REPEAT_INDI_ALTERNATE_MODE = 0x01, /**< BC REPEAT ALTERNATE MODE */
471         TEL_SAT_BC_REPEAT_INDI_SEQUENTIAL_MODE = 0x03, /**< BC REPEAT SEQUENTIAL MODE */
472         TEL_SAT_BC_REPEAT_INDI_RESERVED = 0xFF /**< RESERVED */
473 } TelSatBcRepeatIndicatorType;
474
475 /**
476  * @enum TelSatImageCodingSchemeType
477  * This enumeration defines image coding scheme types
478 */
479 typedef enum {
480         TEL_SAT_SIM_IMAGE_CODING_SCHEME_BASIC = 0x11, /**< Image coding scheme type - BASIC */
481         TEL_SAT_SIM_IMAGE_CODING_SCHEME_COLOUR = 0x21, /**< Image coding scheme type - COLOUR */
482         TEL_SAT_SIM_IMAGE_CODING_SCHEME_RESERVED = 0xFF /**< Image coding scheme type - RESERVED */
483 } TelSatImageCodingSchemeType;
484
485 /**
486  * @enum TelSatIconQualifierType
487  * This enumeration defines icon qualifier types
488 */
489 typedef enum {
490         TEL_SAT_ICON_QUALI_SELF_EXPLANATORY = 0, /**< Icon qualifier type - SELF EXPLANATORY */
491         TEL_SAT_ICON_QUALI_NOT_SELF_EXPLANATORY = 1, /**< Icon qualifier type - NOT SELF EXPLANATORY */
492         TEL_SAT_ICON_QUALI_RESERVED = 0xFF /**< Icon qualifier type - RESERVED */
493 } TelSatIconQualifierType;
494
495 /**
496  * @enum TelSatBrowserIdentityType
497  * This enumeration defines browser identity types
498 */
499 typedef enum {
500         TEL_SAT_BROWSER_ID_DEFAULT = 0, /**< DEFAULT BROWSER */
501         TEL_SAT_BROWSER_ID_WML, /**< BROWSER WML */
502         TEL_SAT_BROWSER_ID_HTML, /**< BROWSER HTML */
503         TEL_SAT_BROWSER_ID_XHTML, /**< BROWSER XHTML */
504         TEL_SAT_BROWSER_ID_CHTML, /**<  BROWSER CHTML */
505         TEL_SAT_BROWSER_ID_RESERVED = 0xFF /**< RESERVED */
506 } TelSatBrowserIdentityType;
507
508 /**
509  * @enum TelSatBearerListType
510  * This enumeration defines bearer list types
511 */
512 typedef enum {
513         TEL_SAT_BEARER_LIST_SMS = 0, /**<       BEARER SMS */
514         TEL_SAT_BEARER_LIST_CSD = 1, /**<       BEARER CSD */
515         TEL_SAT_BEARER_LIST_USSD = 2, /**< BEARER USSD  */
516         TEL_SAT_BEARER_LIST_GPRS = 3, /**< BEARER GPRS */
517         TEL_SAT_BEARER_LIST_RESERVED = 0xFF /**< BEARER RESERVED */
518 } TelSatBearerListType;
519
520 /**
521  * @enum TelSatChannelStatusType
522  * This enumeration defines channel status types
523 */
524 typedef enum {
525         TEL_SAT_LINK_OR_PACKET_SERVICE_NOT_ACTIVATED, /**< channel status type -LINK OR PACKET SERVICE NOT ACTIVATED */
526         TEL_SAT_LINK_OR_PACKET_SERVICE_ACTIVATED /**< channel status type -LINK OR PACKET SERVICE ACTIVATED */
527 } TelSatChannelStatusType;
528
529 /**
530  * @enum TelSatChannelStatusInfoType
531  * This enumeration defines channel status info types
532 */
533 typedef enum {
534         TEL_SAT_CHANNEL_STATUS_NO_FURTHER_INFO = 0x00, /**< channel status info type - NO FURTHER INFO */
535         TEL_SAT_CHANNEL_STATUS_LINK_DROPPED = 0x05 /**< channel status info type -LINK DROPPED */
536 } TelSatChannelStatusInfoType;
537
538 /**
539  * @enum TelSatAddressType
540  * This enumeration defines address types
541 */
542 typedef enum {
543         TEL_SAT_ADDR_TYPE_IPv4 = 0x21, /**< address type - IPv4 */
544         TEL_SAT_ADDR_TYPE_IPv6 = 0x57, /**< address type - IPv6 */
545         TEL_SAT_ADDR_RESERVED = 0xFF /**< reserved */
546 } TelSatAddressType;
547
548 /**
549  * @enum TelSatTransportProtocolType
550  * This enumeration defines transport protocal types
551 */
552 typedef enum {
553         TEL_SAT_TP_TYPE_UDP_UICC_CLIENT = 0x01, /**< transport protocol type- UDP UICC CLIENT */
554         TEL_SAT_TP_TYPE_TCP_UICC_CLIENT = 0x02, /**< transport protocol type-TCP UICC CLIENT */
555         TEL_SAT_TP_TYPE_TCP_UICC_SERVER = 0x03 /**< transport protocol type- TCP UICC SERVER    */
556 } TelSatTransportProtocolType;
557
558 /**
559  * @enum TelSatRemoteEntityAddrCodingType
560  * This enumeration defines remote entity address coding types
561 */
562 typedef enum {
563         TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IEEE802_48BIT = 0, /**<  remote entity address coding type- IEEE802 48BIT */
564         TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_IRDA_32BIT = 1, /**< remote entity address coding type- IRDA 32BIT */
565         TEL_SAT_REMOTE_ENTITY_ADDR_CODING_TYPE_RESERVED = 0xFF /**< reserved */
566 } TelSatRemoteEntityAddrCodingType;
567
568 /**
569  * @enum TelSatLanguageInfo
570  * This enumeration defines lists the language values.
571  */
572 typedef enum {
573         TEL_SAT_LP_GERMAN = 0x00, /**< GERMAN */
574         TEL_SAT_LP_ENGLISH = 0x01, /**< ENGLISH */
575         TEL_SAT_LP_ITALIAN = 0x02, /**< ITALIAN */
576         TEL_SAT_LP_FRENCH = 0x03, /**< FRENCH */
577         TEL_SAT_LP_SPANISH = 0x04, /**< SPANISH */
578         TEL_SAT_LP_DUTCH = 0x05, /**<   DUTCH */
579         TEL_SAT_LP_SWEDISH = 0x06, /**< SWEDISH */
580         TEL_SAT_LP_DANISH = 0x07, /**<  DANISH  */
581         TEL_SAT_LP_PORTUGUESE = 0x08, /**< PORTUGUESE   */
582         TEL_SAT_LP_FINNISH = 0x09, /**< FINNISH */
583         TEL_SAT_LP_NORWEGIAN = 0x0A, /**< NORWEGIAN */
584         TEL_SAT_LP_GREEK = 0x0B, /**< GREEK */
585         TEL_SAT_LP_TURKISH = 0x0C, /**< TURKISH */
586         TEL_SAT_LP_HUNGARIAN = 0x0D, /**< HUNGARIAN */
587         TEL_SAT_LP_POLISH = 0x0E, /**<  POLISH  */
588         TEL_SAT_LP_LANG_UNSPECIFIED = 0x0F /**< LANGUAGE UNSPECIFIED */
589 } TelSatLanguageInfo;
590
591 /**
592  * @enum TelSatCmdQualifierLaunchBrowser
593  * This enumeration defines cmd qualifier for launch browser
594 */
595 typedef enum {
596         TEL_SAT_LAUNCH_BROWSER_IF_NOT_ALREADY_LAUNCHED = 0, /**<        command qualifier for  LAUNCH BROWSER */
597         TEL_SAT_LAUNCH_BROWSER_NOT_USED = 1, /**< command qualifier for  NOT USED */
598         TEL_SAT_LAUNCH_BROWSER_USE_EXISTING_BROWSER = 2, /**< command qualifier for  USE EXISTING BROWSER if secure session, do not use it */
599         TEL_SAT_LAUNCH_BROWSER_CLOSE_AND_LAUNCH_NEW_BROWSER = 3, /**<   command qualifier for CLOSE AND LAUNCH NEW BROWSER      */
600         TEL_SAT_LAUNCH_BROWSER_NOT_USED2 = 4, /**< command qualifier for  NOT USED2 */
601         TEL_SAT_LAUNCH_BROWSER_RESERVED = 0xFF /**<     reserved        */
602 } TelSatCmdQualifierLaunchBrowser;
603
604 /**
605  * @enum TelSatCmdQualifierRefresh
606  * This enumeration defines cmd qualifier for refresh cmd
607 */
608 typedef enum {
609         TEL_SAT_REFRESH_SIM_INIT_AND_FULL_FCN = 0, /**< command qualifier for REFRESH SIM INIT AND FULL FILE CHANGE_NOTIFICATION */
610         TEL_SAT_REFRESH_FCN = 1, /**<   command qualifier for REFRESH FILE CHANGE NOTIFICATION */
611         TEL_SAT_REFRESH_SIM_INIT_AND_FCN = 2, /**< command qualifier for REFRESH SIM INIT AND FILE CHANGE NOTIFICATION  */
612         TEL_SAT_REFRESH_SIM_INIT = 3, /**< command qualifier for REFRESH SIM INIT */
613         TEL_SAT_REFRESH_SIM_RESET = 4, /**< command qualifier for REFRESH SIM RESET */
614         TEL_SAT_REFRESH_3G_APPLICATION_RESET = 5, /**<  command qualifier for REFRESH 3G APPLICATION RESET */
615         TEL_SAT_REFRESH_3G_SESSION_RESET = 6, /**< command qualifier for REFRESH 3G SESSION RESET       */
616         TEL_SAT_REFRESH_RESERVED = 0xFF /**< command qualifier for REFRESH RESERVED */
617 } TelSatCmdQualifierRefresh;
618
619 /**
620  * @enum TelSatCmdQualifierProvideLocalInfo
621  * This enumeration defines cmd qualifier for local info
622 */
623 typedef enum {
624         TEL_SAT_LOCAL_INFO_LOCATION = 0, /**< local info cmd qualifier -location */
625         TEL_SAT_LOCAL_INFO_IMEI = 1, /**< local info cmd qualifier -IMEI */
626         TEL_SAT_LOCAL_INFO_NMR = 2, /**< local info cmd qualifier -NMR */
627         TEL_SAT_LOCAL_INFO_DATE_TIME_AND_TIMEZONE = 3, /**< local info cmd qualifier -DATE TIME AND TIMEZONE */
628         TEL_SAT_LOCAL_INFO_LANGUAGE = 4, /**< local info cmd qualifier -LANGUAGE */
629         TEL_SAT_LOCAL_INFO_TIMING_ADVANCE = 5, /**< local info cmd qualifier -TIMING ADVANCE */
630         TEL_SAT_LOCAL_INFO_ACT = 6, /**< local info cmd qualifier -ACT */
631         TEL_SAT_LOCAL_INFO_ESN = 7, /**< local info cmd qualifier -ESN */
632         TEL_SAT_LOCAL_INFO_IMEISV = 8, /* *<local info cmd qualifier -IMEISV */
633         TEL_SAT_LOCAL_INFO_MEID = 0x0B, /**< local info cmd qualifier -MEID */
634         TEL_SAT_LOCAL_INFO_RESERVED = 0xFF /* local info cmd qualifier -RESERVED */
635 } TelSatCmdQualifierProvideLocalInfo;
636
637 /**
638  * @enum TelSatCmdQualifierSetupCall
639  * This enumeration defines cmd qualifier for setup call
640 */
641 typedef enum {
642         TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY = 0x00, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY       */
643         TEL_SAT_SETUP_CALL_IF_ANOTHER_CALL_NOT_BUSY_WITH_REDIAL = 0x01, /**< command qualifier for SETUP CALL IF ANOTHER CALL NOT BUSY WITH REDIAL */
644         TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD = 0x02, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD */
645         TEL_SAT_SETUP_CALL_PUT_ALL_OTHER_CALLS_ON_HOLD_WITH_REDIAL = 0x03, /**< command qualifier for SETUP CALL PUTTING ALL OTHER CALLS ON HOLD WITH REDIAL */
646         TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS = 0x04, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS */
647         TEL_SAT_SETUP_CALL_DISCONN_ALL_OTHER_CALLS_WITH_REDIAL = 0x05, /**< command qualifier for SETUP CALL DISCONNECTING ALL OTHER CALLS WITH REDIAL */
648         TEL_SAT_SETUP_CALL_RESERVED = 0xFF /**<  command qualifier for SETUP CALL RESERVED      */
649 } TelSatCmdQualifierSetupCall;
650
651 /**
652  * @enum TelSatCallCtrlProblemType
653  * This enumeration defines call control problem types
654 */
655 typedef enum {
656         TEL_SAT_CC_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**< Call Control problem with no specific cause */
657         TEL_SAT_CC_PROBLEM_ACTION_NOT_ALLOWED = 1, /**< Call Control problem with action not allowed */
658         TEL_SAT_CC_PROBLEM_REQUEST_TYPE_HAS_CHANGED = 2 /**< Call Control problem with request type has changed */
659 } TelSatCallCtrlProblemType;
660
661 /**
662  * @enum TelSatLaunchBrowserProblemType
663  * This enumeration defines launch browser problem types
664 */
665 typedef enum {
666         TEL_SAT_BROWSER_PROBLEM_NO_SPECIFIC_CAUSE = 0, /**<     Browser problem with no specific cause */
667         TEL_SAT_BROWSER_PROBLEM_BEARER_UNAVAILABLE = 1, /**< Browser problem with bearer unavailable */
668         TEL_SAT_BROWSER_PROBLEM_BROWSER_UNAVAILABLE = 2, /**<   Browser problem with browser unavailable */
669         TEL_SAT_BROWSER_PRBLM_ME_UNABLE_TO_READ_PROV_DATA = 3 /**< Browser problem with ME unable to read provisioning data */
670 } TelSatLaunchBrowserProblemType;
671
672 /**
673  * @enum TelSatBrowserTerminationCauseType
674  * This enumeration defines browser termination cause types
675 */
676 typedef enum {
677         TEL_SAT_BROWSER_TERMINATED_BY_USER = 0, /**<    BROWSER TERMINATED BY USER */
678         TEL_SAT_BROWSER_TERMINATED_BY_ERROR = 1, /**< BROWSER TERMINATED BY ERROR */
679 } TelSatBrowserTerminationCauseType;
680
681 /**
682  * This structure defines Result data object.
683  */
684 typedef struct {
685         TelSatResultType general_result; /**< general result */
686         TelSatMeProblemType me_problem; /**< additional information on general result */
687 } TelSatResultInfo;
688
689 /**
690  * This structure defines expected user response length.
691  */
692 typedef struct {
693         unsigned char min; /**< user response length minimum value */
694         unsigned char max; /**< user response length maximum value */
695 } TelSatRespLenInfo;
696
697 /**
698 * This structure defines Address Info
699 */
700 typedef struct {
701         TelSatTypeOfNum ton; /**< type of number */
702         TelSatNumberingPlanIdentity npi; /**< numbering plan identity */
703         unsigned int dialing_number_len; /**< Dialing Number length */
704         char dialing_number[TEL_SAT_DIALING_NUMBER_LEN_MAX]; /**< Dialing Number */
705 } TelSatAddressInfo;
706
707 /**
708 * This structure defines Data Coding Scheme Info
709 */
710 typedef struct {
711         gboolean is_compressed_format;          /**< if FALSE, unpacked format */
712         TelSatAlphabetFormatType a_format; /**< Alphabet format type */
713         TelSatMsgClassType m_class; /**< msg class type */
714         unsigned char raw_dcs; /**< raw dcs data */
715 } TelSatDataCodingSchemeInfo;
716
717 /**
718 * This structure defines Alpha identifier Info
719 */
720 typedef struct {
721         gboolean is_exist; /**< identifier check */
722         TelSatDataCodingSchemeInfo dcs; /**< data coding scheme */
723         unsigned char alpha_data_len; /**< alpha identifier length */
724         char alpha_data[TEL_SAT_ALPHA_ID_LEN_MAX]; /**< alpha identifier info */
725 } TelSatAlphaIdentifierInfo;
726
727 /**
728 * This structure defines the Sub Address data object.
729 */
730 typedef struct {
731         unsigned int subaddress_len; /**< sub address length */
732         char subaddress[TEL_SAT_SUB_ADDR_LEN_MAX]; /**< sub address data */
733 } TelSatSubAddressInfo;
734
735 /**
736 * This structure defines Capability configuration parameters Info
737 */
738 typedef struct {
739         unsigned int data_len; /**< ccp info data length */
740         char data[TEL_SAT_CCP_DATA_LEN_MAX]; /**< ccp info data */
741 } TelSatCcpInfo;
742
743 /**
744 * This structure defines device identities tag Info
745 */
746 typedef struct {
747         TelSatDeviceIdentitiesTagType src; /**< src device identities tag type */
748         TelSatDeviceIdentitiesTagType dest; /**< dest device identities tag type */
749 } TelSatDeviceIdentitiesInfo;
750
751 /**
752 * This structure defines duration Info
753 */
754 typedef struct {
755         TelSatTimeUnitType time_unit;  /**< duration info -time unit type */
756         unsigned char time_interval; /**< duration info -time interval type */
757 } TelSatDurationInfo;
758
759 /**
760 * This structure defines menu item Info
761 */
762 typedef struct {
763         unsigned char item_id; /**< menu item info -item id */
764         unsigned char text_len; /**< menu item info -text len */
765         unsigned char text[TEL_SAT_ITEM_TEXT_LEN_MAX + 1]; /**< menu item info -text */
766 } TelSatMenuItemInfo;
767
768 /**
769 * This structure defines Response length Info
770 */
771 typedef struct {
772         unsigned char min; /**< min Response length */
773         unsigned char max; /**< max Response length */
774 } TelSatResponseLength;
775
776 /**
777 * This structure defines SMS TPDU Info
778 */
779 typedef struct {
780         TelSatSmsTpduType tpdu_type;  /**< SMS TPDU info -tpdu type */
781         unsigned int data_len; /**< SMS TPDU info -data len */
782         char data[TEL_SAT_SMS_TPDU_SMS_DATA_LEN_MAX]; /**< SMS TPDU info -data */
783 } TelSatSmsTpduInfo;
784
785 /**
786 * This structure defines SS string Info
787 */
788 typedef struct {
789         TelSatTypeOfNum ton; /**< SS string info -type of number */
790         TelSatNumberingPlanIdentity npi; /**< SS string info -numbering plan identity */
791         unsigned char string_len; /**< SS string length */
792         char ss_string[TEL_SAT_SS_STRING_LEN_MAX];      /**< SS string */
793 } TelSatSsStringInfo;
794
795 /**
796 * This structure defines Text string Info
797 */
798 typedef struct {
799         gboolean is_digit_only; /**< text type is digit check */
800         TelSatDataCodingSchemeInfo dcs; /**< text data coding scheme */
801         unsigned int string_length; /**< text string length */
802         char string[TEL_SAT_TEXT_STRING_LEN_MAX+1]; /**< text string */
803 } TelSatTextTypeInfo;
804
805 /**
806 * This structure defines USSD string Info
807 */
808 typedef struct {
809         TelSatDataCodingSchemeInfo dsc; /**< USSD string data coding scheme */
810         unsigned char string_len; /**< USSD string length */
811         char ussd_string[TEL_SAT_USSD_STRING_LEN_MAX]; /**< USSD string */
812 } TelSatUssdStringInfo;
813
814 /**
815 * This structure defines File List Info
816 */
817 typedef struct {
818         int file_count; /**< file count */
819         int file_id[TEL_SAT_FILE_ID_LIST_MAX_COUNT]; /**< file id */
820 } TelSatFileListInfo;
821
822 /**
823 * This structure defines Location information Info
824 */
825 typedef struct {
826         char mcc[3+1]; /**< MCC */
827         char mnc[3+1]; /**< MNC */
828         char lac [4+1]; /**< LAC */
829         char cell_id[4+1]; /**< cell id */
830         char extended_cell_id[4+1]; /**< extended cell id */
831 } TelSatLocationInformationInfo;
832
833 /**
834 * This structure defines Items next action indicator List Info
835 */
836 typedef struct {
837         unsigned char cnt; /**< next action indicator items count */
838         unsigned char indicator_list[TEL_SAT_ITEMS_NEXT_ACTION_INDI_LIST_MAX_COUNT]; /**< next action indicator items list */
839 } TelSatItemsNextActionIndiListInfo;
840
841 /**
842 * This structure defines Event List Info
843 */
844 typedef struct {
845         int event_list_cnt; /**< event list count */
846         TelSatEventListType evt_list[TEL_SAT_EVENT_LIST_MAX]; /**< event list type */
847 } TelSatEventListInfo;
848
849 /**
850  * This structure defines call control strings.
851  */
852 typedef struct {
853         TelSatCallCtrlStringType call_ctrl_string_type; /**< call control type  */
854         union {
855                 TelSatAddressInfo voice_string; /**< voice call string */
856                 TelSatSsStringInfo ss_string; /**< ss string */
857                 TelSatUssdStringInfo ussd_string; /**< ussd string */
858         } call_ctrl_data; /**< call ctrl data Union */
859 } TelSatCallCtrlAddressStringInfo;
860
861 /**
862 * This structure defines Call control requested action Info
863 */
864 typedef struct {
865         TelSatCallCtrlAddressStringInfo call_ctrl_add_string; /**< Call control address string info */
866         TelSatCcpInfo ccp1; /**< Call control CCP info */
867         TelSatSubAddressInfo sub_address; /**< Call control sub address info */
868         TelSatAlphaIdentifierInfo alpha_id; /**< Call control alpha identifier info */
869         TelSatBcRepeatIndicatorType bc_repeat_type; /**< Call control bc repeat indicator type info */
870         TelSatCcpInfo ccp2; /**< Call control CCP info */
871 } TelSatCallCtrlRequestedActionInfo;
872
873 /**
874 * This structure defines Item icon Info
875 */
876 typedef struct {
877         unsigned char width; /**< icon info -width */
878         unsigned char height;  /**< icon info -height */
879         TelSatImageCodingSchemeType ics; /**< icon info -image coding scheme */
880         unsigned short icon_data_len; /**< icon info -data len */
881         unsigned short clut_data_len; /**< icon info -CLUT data len */
882         char icon_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -image data file data */
883         char clut_file[TEL_SAT_IMG_DATA_FILE_PATH_LEN_MAX]; /**< icon info -clut file data */
884 } TelSatIconInfo;
885
886 /**
887 * This structure defines Item icon identifier Info
888 */
889 typedef struct {
890         gboolean is_exist; /**< icon identifier check */
891         TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
892         unsigned char icon_identifier; /**< icon identifier data */
893         TelSatIconInfo icon_info; /**< icon info data */
894 } TelSatIconIdentifierInfo;
895
896 /**
897 * This structure defines Item icon identifier list Info
898 */
899 typedef struct {
900         gboolean is_exist; /**< icon identifier list present check */
901         TelSatIconQualifierType icon_qualifer; /**< icon qualifer type */
902         unsigned char icon_cnt; /**< icon count */
903         unsigned char icon_id_list[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon id list data */
904         TelSatIconInfo icon_info[TEL_SAT_ICON_LIST_MAX_COUNT]; /**< icon info data */
905 } TelSatIconIdentifierListInfo;
906
907 /**
908 * This structure defines date, time and timezone Info
909 */
910 typedef struct {
911         unsigned char year; /**< year */
912         unsigned char month; /**<       month */
913         unsigned char day; /**< day */
914         unsigned char hour; /**< hour */
915         unsigned char minute; /**< minute */
916         unsigned char second; /**< second */
917         unsigned char time_zone; /**< timeZone  */
918 } TelSatDateTimeZoneInfo;
919
920 /**
921 * This structure defines Dtmf String Info
922 */
923 typedef struct {
924         unsigned int dtmf_length; /**< DTMF string length */
925         char dtmf_string[TEL_SAT_DTMF_STRING_LEN_MAX]; /**< DTMF string */
926 } TelSatDtmfStringInfo;
927
928 /**
929  * 8.48 URL
930  * URL shall be coded as defined in RFC 1738 on using the "SMS 7bit default alphabet" with bit 8 set to 0.
931  */
932 typedef struct {
933         unsigned int url_length; /**< URL length */
934         char url[TEL_SAT_URL_LEN_MAX]; /**< URL data */
935 } TelSatUrlInfo;
936
937 /**
938 * This structure defines Bearer List Info
939 */
940 typedef struct {
941         int count; /**< Bearer List count */
942         TelSatBearerListType bear[6]; /**< Bearer List type */
943 } TelSatBearerList;
944
945 /**
946 * This structure defines Provisioning file Info
947 */
948 typedef struct {
949         unsigned int file_path_length; /**< Provisioning file path length */
950         char file_path[TEL_SAT_PROVISIONING_FILE_PATH_LEN_MAX]; /**< Provisioning file path data */
951 } TelSatProvisioningFileRef;
952
953 /**
954 * This structure defines channel data Info
955 */
956 typedef struct {
957         unsigned char data_string_len; /**< channel data string length */
958         char    data_string[TEL_SAT_CHANNEL_DATA_STRING_LEN_MAX]; /**< channel data string */
959 } TelSatChannelDataInfo;
960
961 /**
962 * This structure defines Channel Status Info
963 */
964 typedef struct {
965         unsigned char channel_id; /**< channel id */
966         TelSatChannelStatusType status; /**< channel Status Type */
967         TelSatChannelStatusInfoType status_info; /**< channel Status info Type */
968 } TelSatChannelStatusInfo;
969
970 /**
971 * This structure defines Other Address Info
972 */
973 typedef struct {
974         TelSatAddressType address_type; /**< channel address type */
975         unsigned char address_len; /**< channel address length */
976         char address[TEL_SAT_OTHER_ADDR_LEN_MAX]; /**< channel address */
977 } TelSatOtherAddressInfo;
978
979 /**
980 * This structure defines Me Interface Transport Level Info
981 */
982 typedef struct {
983         TelSatTransportProtocolType protocol_type; /**< Transport Protocol Type */
984         unsigned short port_number; /**< Transport Protocol port number */
985 } TelSatSimMeInterfaceTransportLevelInfo;
986
987 /**
988 * This structure defines Remote Entity Address info
989 */
990 typedef struct {
991         TelSatRemoteEntityAddrCodingType coding_type; /**< Remote Entity Addr Coding Type */
992         unsigned short length;  /**< Remote Entity Addr length */
993         unsigned char remote_entity_address[TEL_SAT_REMOTE_ENTITY_ADDR_LEN_MAX]; /**< Remote Entity Addr data */
994 } TelSatRemoteEntityAddressInfo;
995
996 /**
997 * This structure defines Network access name info
998 */
999 typedef struct {
1000         unsigned short length; /**< Network access name length */
1001         unsigned char network_access_name[TEL_SAT_NET_ACC_NAM_LEN_MAX]; /**< Network access name data */
1002 } TelSatNetworkAccessNameInfo;
1003
1004 /**
1005 * This structure defines Item text attribute list
1006 */
1007 typedef struct {
1008         unsigned int list_cnt; /**< text attribute list count */
1009         unsigned char text_attribute_list[TEL_SAT_ITEM_TEXT_ATTRIBUTES_LIST_MAX_COUNT]; /**< text attribute list data */
1010 } TelSatTextAttributeListInfo;
1011
1012
1013 /**
1014  * This structure defines the call control result ind data.
1015  */
1016 typedef struct {
1017         TelSatCallControlResult cc_result; /**< Call Control Result */
1018
1019         TelSatAddressInfo address; /**< Address Info */
1020         TelSatSsStringInfo ss_string; /**< Ss String Info  */
1021
1022         TelSatCcpInfo ccp1; /**< Ccp Info */
1023         TelSatSubAddressInfo sub_address; /**< Sub Address Info */
1024         TelSatAlphaIdentifierInfo alpha_id; /**< alpha id */
1025         TelSatBcRepeatIndicatorType bc_repeat_type; /**< Bc Repeat Indicator Type */
1026         TelSatCcpInfo ccp2; /**< Ccp Info */
1027 } TelSatNotiCallControlResultInd;
1028
1029 /**
1030  * This structure defines the mo sms control result ind data.
1031  */
1032 typedef struct {
1033         TelSatCallControlResult cc_result; /**< Call Control Result */
1034
1035         TelSatAddressInfo rp_dst_address; /**< Address Info */
1036         TelSatAddressInfo tp_dst_address; /**< Address Info */
1037         TelSatAlphaIdentifierInfo alpha_id; /**< Alpha Identifier Info */
1038 } TelSatNotiMoSmControlResultInd;
1039
1040 /**
1041  * This structure defines the user confirmation data.
1042  */
1043 typedef struct
1044 {
1045         int command_id; /**< Proactive Command Number sent by USIM */
1046         TelSatProactiveCmdType command_type; /**< Proactive Command Type */
1047         TelSatUiUserConfirmType key_type; /**< User Response Type */
1048         unsigned char* additional_data; /**< Additional Data */
1049         unsigned int data_len; /**< Additional Data Length */
1050 } TelSatUiUserConfirmInfo;
1051
1052 /**
1053  * This structure defines the character data for sat engine data structure.
1054  */
1055 typedef struct
1056 {
1057         unsigned short string_len;      /**< character data length */
1058         unsigned char string[TEL_SAT_DEF_TEXT_STRING_LEN_MAX+1]; /**< character data */
1059 } TelSatTextInfo;
1060
1061 /**
1062  * This structure defines the main menu title to check sat menu.
1063  */
1064 typedef struct
1065 {
1066         gboolean is_main_menu_present; /**<flag to check sat main menu existence */
1067         TelSatTextInfo main_menu_title; /**< main menu title data */
1068 } TelSatMainMenuTitleInfo;
1069
1070 /**
1071  * This structure defines the display text proactive command for sat ui.
1072  */
1073 typedef struct
1074 {
1075         int command_id; /**< Proactive Command Number sent by USIM */
1076         TelSatTextInfo text; /**< character data to display on screen */
1077         unsigned int duration; /**< the duration of display */
1078         gboolean is_priority_high;       /**< indicates whether the text is to be displayed if some other app is using the screen */
1079         gboolean is_user_resp_required; /**< indicates whether user response required or Not */
1080         gboolean immediately_resp; /**< indicates whether response is immediate or not */
1081         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1082 } TelSatDisplayTextInd;
1083
1084 /**
1085  * This structure defines the get inkey proactive command data for sat ui.
1086  */
1087 typedef struct
1088 {
1089         int command_id; /**< Proactive Command Number sent by USIM */
1090         TelSatInkeyType key_type; /**< input Type:Character Set or Yes/No */
1091         TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
1092         gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
1093         gboolean is_help_info_available; /**< help info request flag */
1094         TelSatTextInfo text; /**< character data to display on screen */
1095         unsigned int duration;   /**< the duration of display */
1096         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1097 } TelSatGetInkeyInd;
1098
1099 /**
1100  * This structure defines the get input proactive command data for sat ui.
1101  */
1102 typedef struct
1103 {
1104         int command_id; /**< Proactive Command Number sent by USIM */
1105         TelSatUseInputAlphabetType input_char_mode; /**< input character mode(SMS default, UCS2) */
1106         gboolean is_numeric;    /**< is input character numeric(0-9, *, # and +) */
1107         gboolean is_help_info_available; /**< flag for help info request */
1108         gboolean is_echo_input; /**< indicates whether to show input data on screen or not */
1109         TelSatTextInfo text; /**< character data to display on screen */
1110         TelSatRespLenInfo resp_len; /**< input data min, max length */
1111         TelSatTextInfo default_text; /**< default input character data */
1112         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1113 } TelSatGetInputInd;
1114
1115 /**
1116  * This structure defines the play tone proactive command data for application.
1117  */
1118 typedef struct
1119 {
1120         int command_id; /**< Proactive Command Number sent by USIM */
1121         TelSatTextInfo text; /**< character data to display on screen */
1122         TelSatToneType tone; /**< tone info */
1123         unsigned int duration; /**< the duration for playing tone */
1124         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1125 } TelSatPlayToneInd;
1126
1127 /**
1128  * This structure defines the data for sat ui.
1129  */
1130 typedef struct
1131 {
1132         int command_id; /**< Proactive Command Number sent by USIM */
1133         int user_confirm; /**< user confirmation */
1134         TelSatTextInfo text; /**< character data to display on screen */
1135         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1136 } TelSatSendUiInfo;
1137
1138 /**
1139  * This structure defines the menu item info for setup menu.
1140  */
1141 typedef struct
1142 {
1143         char item_string[TEL_SAT_DEF_ITEM_STR_LEN_MAX + 6]; /**< menu item character data */
1144         char item_id; /**< identifies the item on the menu that user selected */
1145 } TelSatMenuInfo;
1146
1147 /**
1148  * This structure defines the sat main menu info.
1149  */
1150 typedef struct
1151 {
1152         int command_id; /**< Proactive Command Number sent by USIM */
1153         gboolean is_main_menu_present; /**< is main menu present check */
1154         char sat_main_title[TEL_SAT_DEF_TITLE_LEN_MAX + 1]; /**< menu title text */
1155         unsigned short sat_main_menu_item_count; /**< number of menu items */
1156         TelSatMenuInfo sat_main_menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
1157         gboolean is_sat_main_menu_help_info; /**< flag for help information request */
1158         gboolean is_updated_sat_main_menu; /**< check whether sat_main_menu is updated or not */
1159         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1160         TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
1161 } TelSatSetupMenuInfo;
1162
1163 /**
1164  * This structure defines the select item proactive command data for sat ui.
1165  */
1166 typedef struct
1167 {
1168         int command_id; /**< Proactive Command Number sent by USIM */
1169         gboolean is_help_info_available; /**< flag for help information request */
1170         TelSatTextInfo text; /**< menu title text */
1171         char default_item_index; /**< selected default item - default value is 0 */
1172         char menu_item_count; /**< number of menu items */
1173         TelSatMenuItemInfo menu_item[TEL_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items */
1174         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1175         TelSatIconIdentifierListInfo icon_id_list; /**< List of Icon Identifiers */
1176 }TelSatSelectItemInd;
1177
1178 /**
1179  * This structure defines the setup idle mode text proactive command for idle application.
1180  */
1181 typedef struct
1182 {
1183         int command_id; /**< Proactive Command Number sent by USIM */
1184         TelSatTextInfo text; /**< character data to display on screen */
1185         TelSatIconIdentifierInfo icon_id; /**< Icon Identifier */
1186 } TelSatSetupIdleModeTextInd;
1187
1188 /**
1189  * This structure defines the refresh proactive command data for sat ui.
1190  */
1191 typedef struct
1192 {
1193         int command_id; /**< Proactive Command Number sent by USIM */
1194         unsigned int duration; /**< the duration of display */
1195         TelSatCmdQualifierRefresh       refresh_type; /**< refresh mode */
1196 } TelSatRefreshIndUiInfo;
1197
1198 /**
1199  * This structure defines the refresh proactive command data for applications which are concerned with files resident on USIM .
1200  */
1201 typedef struct
1202 {
1203         int command_id; /**< Proactive Command Number sent by USIM */
1204         TelSatRefreshAppType     app_type; /**< concerned application type */
1205         TelSatCmdQualifierRefresh       refresh_mode; /**< refresh mode */
1206         unsigned char file_count; /**< refresh file count */
1207         int file_id[TEL_SAT_REFRESH_FILE_LIST]; /**< refresh file identifier */
1208 } TelSatRefreshInd;
1209
1210 /**
1211  * This structure defines the data objects to indicate to sat ui, the end of execution of a specific proactive command by other application.
1212  */
1213 typedef struct
1214 {
1215         int command_id; /**< Proactive Command Number sent by USIM */
1216         char command_type;      /**< Command Type */
1217         gboolean result; /**< result of command execution by application */
1218 } TelSatProactiveCmdEndIndInfo;
1219
1220 /**
1221  * This structure defines the send sms proactive command data for sms application.
1222  */
1223 typedef struct
1224 {
1225         int command_id; /**< Proactive Command Number sent by USIM */
1226         gboolean is_packing_required; /**< flag to check if packing required for sms tpdu */
1227         TelSatAddressInfo address; /**< destination address */
1228         TelSatSmsTpduInfo sms_tpdu; /**< SMS TPDU data */
1229 } TelSatSendSmsIndSmsData;
1230
1231 /**
1232  * This structure defines the send ss proactive command data for ss application.
1233  */
1234 typedef struct
1235 {
1236         int command_id; /**< Proactive Command Number sent by USIM */
1237         unsigned short ss_string_len; /**< SS string data length */
1238         unsigned char ss_string[TEL_SAT_DEF_SS_LEN_MAX+1]; /**< SS string data */
1239 } TelSatSendSsIndSsData;
1240
1241 /**
1242  * This structure defines the send ussd proactive command data for ussd application.
1243  */
1244 typedef struct
1245 {
1246         int command_id; /**< Proactive Command Number sent by USIM */
1247         unsigned char raw_dcs; /**< data coding scheme */
1248         unsigned short ussd_string_len; /**< USSD string data length */
1249         unsigned char ussd_string[TEL_SAT_DEF_USSD_LEN_MAX+1]; /**< USSD string data */
1250 } TelSatSendUssdIndUssdData;
1251
1252 /**
1253  * This structure defines the send dtmf proactive command data for dtmf application.
1254  */
1255 typedef struct
1256 {
1257         int command_id; /**< Proactive Command Number sent by USIM */
1258         gboolean is_hidden_mode; /**< hidden mode flag */
1259         TelSatTextInfo dtmf_string; /**< dtmf string data */
1260 } TelSatSendDtmfIndDtmfData;
1261
1262 /**
1263  * This structure defines the setup call proactive command data for call application.
1264  */
1265 typedef struct
1266 {
1267         int command_id; /**< Proactive Command Number sent by USIM */
1268         TelSatCmdQualifierSetupCall call_type; /**< call type */
1269         TelSatTextInfo disp_text; /**< display data for calling */
1270         TelSatTextInfo call_number; /**< call number */
1271         unsigned int duration; /**< maximum repeat duration */
1272         TelSatIconIdentifierInfo icon_id; /**< icon identifier for call application */
1273 } TelSatSetupCallIndCallData;
1274
1275 /**
1276  * This structure defines the launch browser proactive command data for browser application.
1277  */
1278 typedef struct
1279 {
1280         int command_id; /**< Proactive Command Number sent by USIM */
1281         char url[TEL_SAT_URL_LEN_MAX + 1]; /**< url to connect */
1282         TelSatCmdQualifierLaunchBrowser launch_type; /**< launch type */
1283         TelSatBrowserIdentityType identity_type; /**< Browser Identity -default, html, etc */
1284 } TelSatLaunchBrowserIndBrowserData;
1285
1286 /**
1287  * This structure defines the provide local info proactive command data for application.
1288  */
1289 typedef struct
1290 {
1291         int command_id; /**< Proactive Command Number sent by USIM */
1292         TelSatCmdQualifierProvideLocalInfo local_info_type; /**< Provide Local Information Type */
1293 } TelSatProvideLocalInfoInd;
1294
1295 /**
1296  * This structure defines the language notification proactive command data for application.
1297  */
1298 typedef struct
1299 {
1300         int command_id; /**< Proactive Command Number sent by USIM */
1301         gboolean specific_language_notification;  /**< flag for checking specific language notification. if FALSE, non-specific language notification */
1302         TelSatLanguageInfo language; /**< language info from USIM application */
1303 } TelSatLanguageNotiInfoInd;
1304
1305 /**
1306  * This structure defines the return result data for refresh proactive command.
1307  */
1308 typedef struct
1309 {
1310         TelSatRefreshAppType     app_type; /**< application type */
1311         TelSatResultType resp; /**< result response value */
1312 } TelSatRefreshRetInfo;
1313
1314 /**
1315  * This structure defines the return result data for setup call proactive command.
1316  */
1317 typedef struct
1318 {
1319         TelSatResultType resp; /**< result response value */
1320         gboolean is_tapi_cause_exist; /**< flag for checking tapi error cause */
1321         TelCallResult call_cause; /**< call error(result) cause */
1322         TelSsResult ss_cause; /**< ss error(result) cause */
1323         TelSatMeProblemType me_problem; /**< me problem error cause */
1324         gboolean is_other_info_exist; /**< call control result existence flag */
1325         TelSatCallCtrlProblemType permanent_call_ctrl_problem; /**< call control problem type */
1326         TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
1327         TelSatResultInfo result2; /**< call control envelope result value */
1328         TelSatTextTypeInfo text; /**< call control envelope display data */
1329 } TelSatCallRetInfo;
1330
1331 /**
1332  * This structure defines the return result data for send ss proactive command.
1333  */
1334 typedef struct
1335 {
1336         TelSatResultType resp; /**< result response value */
1337         TelSsResult ss_cause; /**< ss error(result) cause */
1338         TelSatTextInfo ss_string; /**< ss result string */
1339         TelSatMeProblemType me_problem; /**< error - me problem */
1340         gboolean is_other_info_exist; /**< call control result exist flag */
1341         TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
1342         TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
1343         TelSatResultInfo result2; /**< call control envelope result value */
1344 } TelSatSsRetInfo;
1345
1346 /**
1347  * This structure defines the return result data for send ussd proactive command.
1348  */
1349 typedef struct
1350 {
1351         TelSatResultType resp; /**< result response value */
1352         TelSsResult ss_cause; /**< ss error(result) cause */
1353         TelSatTextInfo ussd_string; /**< ussd result string */
1354         TelSatDataCodingSchemeInfo dcs_ussd_string; /**< dcs of ussd result string */
1355         TelSatMeProblemType me_problem; /**< error - me problem */
1356         gboolean is_other_info_exist; /**< call control result exist flag */
1357         TelSatCallCtrlProblemType additional_call_ctrl_problem_info; /**< call control problem */
1358         gboolean is_call_ctrl_has_modification; /**< call control request modification flag */
1359         TelSatCallCtrlRequestedActionInfo call_ctrl_requested_action; /**< call control request data */
1360         TelSatResultInfo result2; /**< call control envelope result value */
1361         TelSatTextTypeInfo text2; /**< cc envelope display data */
1362 } TelSatUssdRetInfo;
1363
1364 /**
1365  * This structure defines the return result data for launch browser proactive command.
1366  */
1367 typedef struct
1368 {
1369         TelSatResultType resp; /**< result response value */
1370         TelSatLaunchBrowserProblemType browser_problem; /**< specific browser problem */
1371 } TelSatBrowserRetInfo;
1372
1373 /**
1374  * This structure defines the return result data for setup idle mode text proactive command.
1375  */
1376 typedef struct
1377 {
1378         TelSatResultType resp; /**< result response value */
1379         gboolean other_info; /**< flag to check whether other information are required or not */
1380         TelSatCmdQualifierProvideLocalInfo      info_type; /**< local info type - e.g. time zone or language info, etc */
1381         union
1382         {
1383                 TelSatDateTimeZoneInfo time_zone_info; /**< current time zone info */
1384                 TelSatLanguageInfo language_info; /**< current ME language setting info */
1385         }local_info; /**< Union */
1386 } TelSatProvideLocalRetInfo;
1387
1388 /**
1389  * This structure defines the return result data for setup idle mode text proactive command.
1390  */
1391 typedef struct
1392 {
1393         TelSatResultType resp; /**< result response value */
1394         TelSatMeProblemType      me_problem; /**< Me Problem Type */
1395 } TelSatDiplayTextRetInfo;
1396
1397 /**
1398  * This structure defines the common return result data for applications proactive command.
1399  */
1400 typedef struct
1401 {
1402         TelSatProactiveCmdType command_type; /**< Proactive Command type */
1403         int command_id; /**< Proactive Command Number sent by USIM */
1404         union
1405                 {
1406                         TelSatResultType setup_menu_resp; /**< result response value for setup menu */
1407                         TelSatRefreshRetInfo refresh; /**< result response value for refresh */
1408                         TelSatCallRetInfo setup_call; /**< result response value for setup call */
1409                         TelSatSsRetInfo send_ss; /**< result response value for send ss */
1410                         TelSatUssdRetInfo send_ussd; /**< result response value for send ussd */
1411                         TelSatResultType send_sms_resp; /**< result response value for send sms */
1412                         TelSatResultType send_dtmf_resp; /**< result response value for send dtmf */
1413                         TelSatBrowserRetInfo launch_browser; /**< result response value for launch browser */
1414                         TelSatResultType setup_idle_mode_text_resp; /**< result response value for setup idle mode text */
1415                         TelSatResultType language_noti_resp; /**< result response value for language notification */
1416                         TelSatProvideLocalRetInfo provide_local_info; /**< result response value for provide local info */
1417                         TelSatDiplayTextRetInfo display_text; /**< result response value for dsiplay text */
1418                         TelSatResultType play_tone_resp; /**< result response value for play tone */
1419                 }apps_ret; /**< common union result value */
1420 }TelSatAppsRetInfo;
1421
1422 /**
1423  * This structure defines the call control confirm data for call.
1424  */
1425 typedef struct
1426 {
1427         TelSatTextInfo address; /**< call destination address */
1428         TelSatTextInfo sub_address; /**< call SUB address */
1429         TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator*/
1430         TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1*/
1431         TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2*/
1432 } TelSatCallCtrlIndCallData;
1433
1434 /**
1435  * This structure defines the call control confirm data for ss.
1436  */
1437 typedef struct
1438 {
1439         TelSatTextInfo ss_string; /**< ss destination address */
1440         TelSatTextInfo sub_address; /**< call SUB address */
1441         TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
1442         TelSatTextInfo ccp1; /**< Configuration Capability Parameter 1 */
1443         TelSatTextInfo ccp2; /**< Configuration Capability Parameter 2 */
1444 } TelSatCallCtrlIndSsData;
1445
1446 /**
1447  * This structure defines the common call control confirm data.
1448  */
1449 typedef struct
1450 {
1451         TelSatCallType call_ctrl_cnf_type; /**< call control confirm type - call, ss or ussd */
1452         TelSatCallCtrlResultType call_ctrl_result; /**< call control result */
1453         TelSatTextInfo disp_data; /**< call control display data */
1454         gboolean is_user_info_display_enabled; /**< flag for checking existence of call control display */
1455
1456         union
1457                 {
1458                         TelSatCallCtrlIndCallData call_ctrl_cnf_call_data; /**< call control call address */
1459                         TelSatCallCtrlIndSsData call_ctrl_cnf_ss_data; /**< call control ss string */
1460                         TelSatTextInfo call_ctrl_cnf_ussd_data; /**< call control ussd string */
1461                 }call_ctrl_data; /**< Union */
1462 } TelSatCallCtrlIndData;
1463
1464 /**
1465  * This structure defines the mo sms control confirm data.
1466  */
1467 typedef struct
1468 {
1469         TelSatCallCtrlResultType mo_sms_ctrl_result; /**< envelope result */
1470         gboolean is_user_info_display_enabled; /**< display present flag */
1471         TelSatTextTypeInfo disp_data; /**< display data for sending SMS */
1472         TelSatTextTypeInfo rp_dest_addr; /**< the RP_Destination_Address of the Service Center */
1473         TelSatTextTypeInfo tp_dest_addr; /**< the TP_Destination_Address */
1474 } TelSatMoSmCtrlIndData;
1475
1476 /**
1477  * This structure defines the Event List Info.
1478  */
1479 typedef struct
1480 {
1481         gboolean is_event_download_active; /**< Is Event Download Active */
1482         gboolean is_mt_call_event; /**< Is Mt Call Event */
1483         gboolean is_call_connected; /**< Is Call Connected */
1484         gboolean is_call_disconnected; /**< Is Call Disconnected */
1485         gboolean is_location_status; /**< Is Location Status */
1486         gboolean is_user_activity;      /**< Is User Activity */
1487         gboolean is_idle_screen_available;      /**< Is Idle Screen Available */
1488         gboolean is_card_reader_status; /**< Is Card Reader Status */
1489         gboolean is_language_selection; /**< Is Language Selection */
1490         gboolean is_browser_termination;        /**< Is Browser Termination */
1491         gboolean is_data_available; /**< Is Data Available */
1492         gboolean is_channel_status; /**< Is Channel Status */
1493 } TelSatEventListData;
1494
1495 /**
1496  * This structure contains the data objects for MENU SELECTION envelope.
1497  */
1498 typedef struct
1499 {
1500         unsigned char item_identifier; /**< menu selection item identifier */
1501         gboolean is_help_requested; /**< flag to check whether help information required or not */
1502 } TelSatMenuSelectionReqInfo;
1503
1504 /**
1505  * This struct contains the data objects for Call Control result data sent by USIM.
1506  */
1507 typedef struct
1508 {
1509         TelSatAddressInfo address; /**< call number */
1510         TelSatSubAddressInfo sub_address; /**< call number sub address */
1511         TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
1512         TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
1513         TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
1514 }TelSatVoiceCallCtrlIndInfo;
1515
1516 /**
1517  * This struct contains SAT ss control result data sent by USIM.
1518  */
1519 typedef struct
1520 {
1521         TelSatSsStringInfo ss_string; /**< ss number */
1522         TelSatSubAddressInfo sub_address; /**< ss sub address */
1523         TelSatBcRepeatIndicatorType bc_repeat_indicator; /**< bc repeat indicator */
1524         TelSatCcpInfo ccp1; /**< capability configuration parameter1 */
1525         TelSatCcpInfo ccp2; /**< capability configuration parameter2 */
1526 }TelSatSsCtrlIndInfo;
1527
1528 /**
1529  * This struct contains SAT mo SMS control configuration data
1530  */
1531 typedef struct
1532 {
1533         TelSatAddressInfo rp_dest_address; /**< sms control rp destination address */
1534         TelSatAddressInfo       tp_dest_address; /**<    sms control tp destination address */
1535 } TelSatMoSmsCtrlIndInfo;
1536
1537 /**
1538  * This struct contains SAT call control configuration data
1539  */
1540 typedef struct
1541 {
1542         TelSatCallType call_type; /**< call type */
1543         TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
1544         TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
1545         unsigned char call_id; /**< call id */
1546         TelSatCallType old_call_type; /**< old call type */
1547         union
1548         {
1549                 TelSatVoiceCallCtrlIndInfo      voice_call_data; /**< voice call control data */
1550                 TelSatSsCtrlIndInfo ss_data; /**< ss control data */
1551                 TelSatMoSmsCtrlIndInfo sms_data; /**< Mo Sms Ctrl Ind Info */
1552         }call_ctrl_data; /**< Union */
1553 } TelSatCallCtrlIndInfo;
1554
1555 /**
1556  * This struct contains SAT mo ss control request data
1557  */
1558  typedef struct
1559 {
1560         TelSatCallCtrlResultType call_ctrl_result; /**< call control result     */
1561         TelSatAlphaIdentifierInfo alpha_identifier; /**< alpha identifier */
1562         TelSatMoSmsCtrlIndInfo sms_data;        /**< sms control data */
1563 }TelSatMoSMCtrlResult;
1564
1565 /**
1566  * This struct contains SAT user activity event request data
1567  */
1568 typedef struct
1569 {
1570         TelSatEventListInfo event_list; /**< event List  */
1571         TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
1572
1573 } TelSatUserActivityEventReqInfo;
1574
1575 /**
1576  * This struct contains SAT data available event request data
1577  */
1578 typedef struct
1579 {
1580         TelSatEventListInfo event_list; /**< event List  */
1581         TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
1582         TelSatChannelStatusInfo channel_status; /**< channel status */
1583         unsigned char channel_data_len; /**< channel data length */
1584
1585 } TelSatDataAvailableEventReqInfo;
1586
1587 /**
1588  * This struct contains SAT channel status even request data
1589  */
1590 typedef struct
1591 {
1592         TelSatEventListInfo event_list; /**< event list */
1593         TelSatDeviceIdentitiesInfo device_identities;   /**<    device identities info */
1594         TelSatChannelStatusInfo channel_status; /**< channel Status */
1595 } TelSatChannelStatusEventReqInfo;
1596
1597 /**
1598  * This is the structure to be used by the Application to send envelope/event download data.
1599  * This contains the data structures to be used to send any envelope/event download data.
1600  */
1601 typedef struct
1602 {
1603         TelSatEventListType event_download_type; /**< eventDownload Type */
1604         union
1605         {
1606                 gboolean is_idle_screen_available; /**< flag to specify whether Idle Screen is Available or not */
1607                 TelSatLanguageInfo language_selection_event_req_info; /**< Selected Language Information */
1608                 TelSatBrowserTerminationCauseType browser_termination_event_req_info; /**< BrowserTermination Event Information */
1609                 TelSatDataAvailableEventReqInfo data_available_event_req_info; /**< dataAvailableEventReqInfo */
1610                 TelSatChannelStatusEventReqInfo channel_status_event_req_info; /**< channelStatusEventReqInfo */
1611         } event_download_data; /**< Union */
1612 } TelSatEventDownloadReqInfo;
1613
1614 /**
1615  *  \defgroup TAPI_EVENT TAPI Event IDs
1616  *  @{
1617  */
1618
1619 /**
1620  *  \defgroup TEL_EVENT_SAT SAT Event IDs
1621  *  @{
1622  */
1623
1624 /**
1625  *  @hideinitializer
1626  *  @brief Setup menu information
1627  *  @section subscription Event Subscription
1628  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_MENU
1629  *  @sa tapi_register_event_id
1630  *  @section handling Event Handling
1631  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1632  *  @retval handle #TelHandle used for registering the event
1633  *  @retval evt_id TEL_NOTI_SAT_SETUP_MENU
1634  *  @retval data reference to \ref TelSatSetupMenuInfo structure
1635  *  @retval user_data user data passed while registering the event
1636  */
1637 #define TEL_NOTI_SAT_SETUP_MENU                                 TELEPHONY_SAT_INTERFACE":SetupMenu"
1638
1639 /**
1640  *  @hideinitializer
1641  *  @brief Display text information
1642  *  @section subscription Event Subscription
1643  *  @details Event can be subscribed with event id TEL_NOTI_SAT_DISPLAY_TEXT
1644  *  @sa tapi_register_event_id
1645  *  @section handling Event Handling
1646  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1647  *  @retval handle #TelHandle used for registering the event
1648  *  @retval evt_id TEL_NOTI_SAT_DISPLAY_TEXT
1649  *  @retval data reference to \ref TelSatDisplayTextInd structure
1650  *  @retval user_data user data passed while registering the event
1651  */
1652 #define TEL_NOTI_SAT_DISPLAY_TEXT                                       TELEPHONY_SAT_INTERFACE":DisplayText"
1653
1654 /**
1655  *  @hideinitializer
1656  *  @brief Select item information
1657  *  @section subscription Event Subscription
1658  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SELECT_ITEM
1659  *  @sa tapi_register_event_id
1660  *  @section handling Event Handling
1661  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1662  *  @retval handle #TelHandle used for registering the event
1663  *  @retval evt_id TEL_NOTI_SAT_SELECT_ITEM
1664  *  @retval data reference to \ref TelSatSelectItemInd structure
1665  *  @retval user_data user data passed while registering the event
1666  */
1667 #define TEL_NOTI_SAT_SELECT_ITEM                                        TELEPHONY_SAT_INTERFACE":SelectItem"
1668
1669 /**
1670  *  @hideinitializer
1671  *  @brief Get inkey information
1672  *  @section subscription Event Subscription
1673  *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INKEY
1674  *  @sa tapi_register_event_id
1675  *  @section handling Event Handling
1676  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1677  *  @retval handle #TelHandle used for registering the event
1678  *  @retval evt_id TEL_NOTI_SAT_GET_INKEY
1679  *  @retval data reference to \ref TelSatGetInkeyInd structure
1680  *  @retval user_data user data passed while registering the event
1681  */
1682 #define TEL_NOTI_SAT_GET_INKEY                                          TELEPHONY_SAT_INTERFACE":GetInkey"
1683
1684 /**
1685  *  @hideinitializer
1686  *  @brief Get input information
1687  *  @section subscription Event Subscription
1688  *  @details Event can be subscribed with event id TEL_NOTI_SAT_GET_INPUT
1689  *  @sa tapi_register_event_id
1690  *  @section handling Event Handling
1691  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1692  *  @retval handle #TelHandle used for registering the event
1693  *  @retval evt_id TEL_NOTI_SAT_GET_INPUT
1694  *  @retval data reference to \ref TelSatGetInputInd structure
1695  *  @retval user_data user data passed while registering the event
1696  */
1697 #define TEL_NOTI_SAT_GET_INPUT                                          TELEPHONY_SAT_INTERFACE":GetInput"
1698
1699 /**
1700  *  @hideinitializer
1701  *  @brief Refresh information
1702  *  @section subscription Event Subscription
1703  *  @details Event can be subscribed with event id TEL_NOTI_SAT_REFRESH
1704  *  @sa tapi_register_event_id
1705  *  @section handling Event Handling
1706  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1707  *  @retval handle #TelHandle used for registering the event
1708  *  @retval evt_id TEL_NOTI_SAT_REFRESH
1709  *  @retval data reference to \ref TelSatRefreshInd structure
1710  *  @retval user_data user data passed while registering the event
1711  */
1712 #define TEL_NOTI_SAT_REFRESH                                            TELEPHONY_SAT_INTERFACE":Refresh"
1713
1714 /**
1715  *  @hideinitializer
1716  *  @brief Send SMS information
1717  *  @section subscription Event Subscription
1718  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_SMS
1719  *  @sa tapi_register_event_id
1720  *  @section handling Event Handling
1721  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1722  *  @retval handle #TelHandle used for registering the event
1723  *  @retval evt_id TEL_NOTI_SAT_SEND_SMS
1724  *  @retval data reference to \ref TelSatSendSmsIndSmsData structure
1725  *  @retval user_data user data passed while registering the event
1726  */
1727 #define TEL_NOTI_SAT_SEND_SMS                                           TELEPHONY_SAT_INTERFACE":SendSMS"
1728
1729 /**
1730  *  @hideinitializer
1731  *  @brief Setup event list information
1732  *  @section subscription Event Subscription
1733  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SETUP_EVENT_LIST
1734  *  @sa tapi_register_event_id
1735  *  @section handling Event Handling
1736  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1737  *  @retval handle #TelHandle used for registering the event
1738  *  @retval evt_id TEL_NOTI_SAT_SETUP_EVENT_LIST
1739  *  @retval data reference to \ref TelSatEventListData structure
1740  *  @retval user_data user data passed while registering the event
1741  */
1742 #define TEL_NOTI_SAT_SETUP_EVENT_LIST                           TELEPHONY_SAT_INTERFACE":SetupEventList"
1743
1744 /**
1745  *  @hideinitializer
1746  *  @brief Send DTMF information
1747  *  @section subscription Event Subscription
1748  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SEND_DTMF
1749  *  @sa tapi_register_event_id
1750  *  @section handling Event Handling
1751  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1752  *  @retval handle #TelHandle used for registering the event
1753  *  @retval evt_id TEL_NOTI_SAT_SEND_DTMF
1754  *  @retval data reference to \ref TelSatSendDtmfIndDtmfData structure
1755  *  @retval user_data user data passed while registering the event
1756  */
1757 #define TEL_NOTI_SAT_SEND_DTMF                                          TELEPHONY_SAT_INTERFACE":SendDtmf"
1758
1759 /**
1760  *  @hideinitializer
1761  *  @brief Session end event information
1762  *  @section subscription Event Subscription
1763  *  @details Event can be subscribed with event id TEL_NOTI_SAT_SESSION_END_EVENT
1764  *  @sa tapi_register_event_id
1765  *  @section handling Event Handling
1766  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1767  *  @retval handle #TelHandle used for registering the event
1768  *  @retval evt_id TEL_NOTI_SAT_SESSION_END_EVENT
1769  *  @retval user_data user data passed while registering the event
1770  */
1771 #define TEL_NOTI_SAT_SESSION_END_EVENT                  TELEPHONY_SAT_INTERFACE":EndProactiveSession"
1772
1773 /**
1774  *  @hideinitializer
1775  *  @brief Call control information
1776  *  @section subscription Event Subscription
1777  *  @details Event can be subscribed with event id TEL_NOTI_SAT_CALL_CONTROL_RESULT
1778  *  @sa tapi_register_event_id
1779  *  @section handling Event Handling
1780  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1781  *  @retval handle #TelHandle used for registering the event
1782  *  @retval evt_id TEL_NOTI_SAT_CALL_CONTROL_RESULT
1783  *  @retval data reference to \ref TelSatCallCtrlIndData structure
1784  *  @retval user_data user data passed while registering the event
1785  */
1786 #define TEL_NOTI_SAT_CALL_CONTROL_RESULT                        TELEPHONY_SAT_INTERFACE":CallControlResult"
1787
1788 /**
1789  *  @hideinitializer
1790  *  @brief MO SM control information
1791  *  @section subscription Event Subscription
1792  *  @details Event can be subscribed with event id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
1793  *  @sa tapi_register_event_id
1794  *  @section handling Event Handling
1795  *  @details TAPI will invoke the registered callback (\ref TapiEvtCb) and return the following data:
1796  *  @retval handle #TelHandle used for registering the event
1797  *  @retval evt_id TEL_NOTI_SAT_MO_SM_CONTROL_RESULT
1798  *  @retval data reference to \ref TelSatMoSmCtrlIndData structure
1799  *  @retval user_data user data passed while registering the event
1800  */
1801 #define TEL_NOTI_SAT_MO_SM_CONTROL_RESULT               TELEPHONY_SAT_INTERFACE":MoSmControlResult"
1802
1803 /** @}*/
1804 /** @}*/
1805
1806 #ifdef __cplusplus
1807 }
1808 #endif
1809
1810 /**
1811  * @}
1812  */
1813  #endif /* __TEL_SAT_H_ */