4 * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 * @ingroup TelephonyAPI
24 * @addtogroup SAT_TAPI SAT
29 @brief This file serves as a "C" header file defines structures for Telephony SAT Services. \n
30 It contains a sample set of constants, enums, structs that would be required by applications.
38 #include <TelDefines.h>
41 #include <TelSatObj.h>
42 #include <TelSatProactvCmd.h>
43 #include <TelSatEnvelope.h>
51 #define TAPI_SAT_DEF_TITLE_LEN_MAX 50 /**< max length for Menu Title */
52 #define TAPI_SAT_DEF_ITEM_STR_LEN_MAX 50 /**< max length for Menu Item */
53 #define TAPI_SAT_DEF_TEXT_STRING_LEN_MAX 500 /**< max length for Text String */
54 #define TAPI_SAT_DEF_BIT_MASK_CONTACT 0x01 /**< Bit Mask for Contact */
55 #define TAPI_SAT_DEF_BIT_MASK_MSG 0x02 /**< Bit Mask for Msg */
56 #define TAPI_SAT_DEF_BIT_MASK_OTHER 0x04 /**< Bit Mask for Psh */
57 #define TAPI_SAT_REFRESH_FILE_LIST 20 /**< Refresh File List*/
58 #define TAPI_SAT_DEF_SS_LEN_MAX 250
59 #define TAPI_SAT_DEF_USSD_LEN_MAX 250
61 // Telephony UI USER CONFIRM TYPE
63 * @enum TelSatUiUserConfirmType_t
64 * This enumeration defines the UI User Confirm Type.
68 TAPI_SAT_USER_CONFIRM_YES, /**<This Enum Informs That user confirms yes */
69 TAPI_SAT_USER_CONFIRM_NO_OR_CANCEL, /**<This enum informs that user confirms no/cancel */
70 TAPI_SAT_USER_CONFIRM_HELP_INFO, /**<This enum informs that user wants help information */
71 TAPI_SAT_USER_CONFIRM_END, /**<This enum informs that user confirms end */
72 TAPI_SAT_USER_CONFIRM_TIMEOUT, /**<This enum informs that user did not respond */
73 }TelSatUiUserConfirmType_t;
75 // Telephony UI INKEY TYPE
77 * @enum TelSatUiInkeyYesNoCaseType_t
78 * This enumeration defines the UI Inkey Type Yes or No.
82 TAPI_SAT_INKEY_CONFIRM_NO = 0x00, /**<No*/
83 TAPI_SAT_INKEY_CONFIRM_YES = 0x01, /**<Yes*/
84 }TelSatUiInkeyYesNoCaseType_t;
86 // Telephony UI DISPLAY STATUS
88 * @enum TelSatUiDisplayStatusType_t
89 * This enumeration defines the UI Display Status.
93 TAPI_SAT_DISPLAY_SUCCESS = 0x00, /**<This enum informs UI display success*/
94 TAPI_SAT_DISPLAY_FAIL = 0x01, /**<This enum informs UI display failure*/
95 }TelSatUiDisplayStatusType_t;
97 // TELEPHONY REFRESH APPLICATION TYPE
99 * @enum TelSatRefreshAppType_t
100 * This enumeration defines the Refresh Application Type.
104 TAPI_SAT_REFRESH_CONTACT = 0x00, /**<refresh application type - Phonebook*/
105 TAPI_SAT_REFRESH_MSG, /**<refresh application type - SMS*/
106 TAPI_SAT_REFRESH_OTHER, /**<refresh application type - other*/
107 TAPI_SAT_REFRESH_MAX, /**<Maximum Enumeration Value*/
108 }TelSatRefreshAppType_t;
110 // Telephony COMMAND PERFORMED RESULT
112 * @enum TelSatCommandPerformResultType_t
113 * This enumeration defines the Result of Proactive Command execution.
117 TAPI_SAT_CMD_PERFORM_SUCCESS = 0x00, /**<command performed successfully*/
118 TAPI_SAT_CMD_PERFORM_FAIL, /**<command execution failed*/
119 TAPI_SAT_CMD_PERFORM_MAX, /**<Maximum Enumeration Value*/
120 }TelSatCommandPerformResultType_t;
122 // Telephony CALL CONTROL TYPE
124 * @enum TelSatCallCtrlType_t
125 * This enumeration defines Call Control Type.
129 TAPI_SAT_CALL_CNF_NONE = 0x00, /**<call control confirm type - None*/
130 TAPI_SAT_CALL_CNF_CALL, /**<call control confirm type - call*/
131 TAPI_SAT_CALL_CNF_SS, /**<call control confirm type - ss*/
132 TAPI_SAT_CALL_CNF_USSD, /**<call control confirm type - ussd*/
133 TAPI_SAT_CALL_CNF_MAX, /**<Maximum Enumeration Value*/
134 }TelSatCallCtrlType_t;
136 // SAT UI USER CONFIRMATION INFO
138 * This structure defines the user confirmation data.
142 int commandId; /**<Proactive Command Number sent by USIM*/
143 TelSatCommandType_t commandType; /**<Proactive Command Type*/
144 TelSatUiUserConfirmType_t keyType; /**<User Response Type*/
145 unsigned char* pAdditionalData; /**<Additional Data*/
146 int dataLen; /**<Additional Data Length*/
147 }TelSatUiUserConfirmInfo_t;
149 // Telephony TEXT INFO
151 * This structure defines the character data for sat engine data structure.
155 unsigned short stringLen; /**<character data length*/
156 unsigned char string[TAPI_SAT_DEF_TEXT_STRING_LEN_MAX+1]; /**<character data*/
159 // Telephony MAIN MENU TITLE INFO
161 * This structure defines the main menu title to check sat menu.
165 int bIsMainMenuPresent; /**<flag to check sat main menu existence*/
166 TelSatTextInfo_t mainMenuTitle; /**<main menu title data*/
167 }TelSatMainMenuTitleInfo_t;
169 // Telephony DISPLAY TEXT DATA
171 * This structure defines the display text proactive command for sat ui.
175 int commandId; /**<Proactive Command Number sent by USIM*/
176 TelSatTextInfo_t text; /**<character data to display on screen*/
177 unsigned int duration; /**<the duration of display */
178 int bIsPriorityHigh; /**<indicates whether the text is to be displayed if some other app is using the screen.*/
179 int bIsUserRespRequired; /**<indicates whether user response required or Not*/
180 int b_immediately_resp;
181 TelSatIconIdentifierInfo_t iconId; /**< Icon Identifier */
182 }TelSatDisplayTextInd_t;
184 // Telephony INKEY DATA
186 * This structure defines the get inkey proactive command data for sat ui.
190 int commandId; /**<Proactive Command Number sent by USIM*/
191 TelSatInkeyType_t keyType; /**<input Type:Character Set or Yes/No*/
192 TelSatUseInputAlphabetType_t inputCharMode; /**<input character mode(SMS default, UCS2)*/
193 int bIsNumeric; /**<is input character numeric(0-9, *, # and +)*/
194 int bIsHelpInfoAvailable; /**<help info request flag*/
195 TelSatTextInfo_t text; /**<character data to display on screen*/
196 unsigned int duration; /**<the duration of display*/
197 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
198 }TelSatGetInkeyInd_t;
200 // Telephony GET INPUT DATA
202 * This structure defines the get input proactive command data for sat ui.
206 int commandId; /**<Proactive Command Number sent by USIM*/
207 TelSatUseInputAlphabetType_t inputCharMode; /**<input character mode(SMS default, UCS2)*/
208 int bIsNumeric; /**<is input character numeric(0-9, *, # and +)*/
209 int bIsHelpInfoAvailable; /**<flag for help info request */
210 int bIsEchoInput; /**<indicates whether to show input data on screen or not*/
211 TelSatTextInfo_t text; /**<character data to display on screen*/
212 TelSatRespLenInfo_t respLen; /**<input data min, max length*/
213 TelSatTextInfo_t defaultText; /**<default input character data*/
214 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
215 }TelSatGetInputInd_t;
217 // Telephony PLAY TONE DATA
219 * This structure defines the play tone proactive command data for application.
223 int commandId; /**<Proactive Command Number sent by USIM*/
224 TelSatTextInfo_t text; /**<character data to display on screen*/
225 TelSatToneInfo_t tone; /**<tone info */
226 unsigned int duration; /**<the duration for playing tone*/
227 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
228 }TelSatPlayToneInd_t;
232 * This structure defines the data for sat ui.
236 int commandId; /**<Proactive Command Number sent by USIM*/
238 TelSatTextInfo_t text; /**<character data to display on screen*/
239 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
242 // Telephony MENU ITEM DATA FOR SETUP MENU
244 * This structure defines the menu item info for setup menu.
248 char itemString[TAPI_SAT_DEF_ITEM_STR_LEN_MAX + 6]; /**<menu item character data*/
249 char itemId; /**<identifies the item on the menu that user selected*/
252 // Telephony SETUP MENU INFO
254 * This structure defines the sat main menu info.
258 int commandId; /**<Proactive Command Number sent by USIM*/
259 int bIsMainMenuPresent;
260 char satMainTitle[TAPI_SAT_DEF_TITLE_LEN_MAX + 1]; /**<menu title text*/
261 TelSatMenuInfo_t satMainMenuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items*/
262 unsigned short satMainMenuNum; /**<number of menu items*/
263 int bIsSatMainMenuHelpInfo; /**<flag for help information request */
264 int bIsUpdatedSatMainMenu;
265 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
266 TelSatIconIdentifierListInfo_t iconIdList; /**<List of Icon Identifiers*/
267 }TelSatSetupMenuInfo_t;
269 // Telephony SELECT ITEM DATA
271 * This structure defines the select item proactive command data for sat ui.
275 int commandId; /**<Proactive Command Number sent by USIM*/
276 int bIsHelpInfoAvailable; /**<flag for help information request*/
277 TelSatTextInfo_t text; /**<menu title text*/
278 char defaultItemIndex; /**<selected default item - default value is 0*/
279 char menuItemCount; /**<number of menu items*/
280 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**<menu items*/
281 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
282 TelSatIconIdentifierListInfo_t iconIdList; /**<List of Icon Identifiers*/
284 }TelSatSelectItemInd_t;
286 // Telephony IDLE MODE TEXT DATA
288 * This structure defines the setup idle mode text proactive command for idle application.
292 int commandId; /**<Proactive Command Number sent by USIM*/
293 TelSatTextInfo_t text; /**<character data to display on screen*/
294 TelSatIconIdentifierInfo_t iconId;
295 } TelSatSetupIdleModeTextInd_t;
297 // Telephony REFRESH DATA
299 * This structure defines the refresh proactive command data for sat ui.
303 int commandId; /**<Proactive Command Number sent by USIM*/
304 unsigned int duration; /**<the duration of display*/
305 TelSatCmdQualiRefresh_t refreshType; /**<refresh mode*/
306 }TelSatRefreshIndUiInfo_t;
308 // Telephony REFRESH DATA
310 * This structure defines the refresh proactive command data for applications which are concerned with files resident on USIM .
314 int commandId; /**<Proactive Command Number sent by USIM*/
315 TelSatRefreshAppType_t appType; /**<concerned application type */
316 TelSatCmdQualiRefresh_t refreshMode; /**<refresh mode*/
317 unsigned char fileCount; /**<refresh file count*/
318 TelSimFileID_t fileId[TAPI_SAT_REFRESH_FILE_LIST]; /**<refresh file identifier*/
321 // Telephony END PROACTIVE COMMAND INFO
323 * This structure defines the data objects to indicate to sat ui, the end of execution of a specific proactive command by other application.
327 int commandId; /**<Proactive Command Number sent by USIM*/
328 char commandType; /**< Command Type*/
329 TelSatCommandPerformResultType_t result; /**<result of command execution by application*/
330 }TelSatProactiveCmdEndIndInfo_t;
332 // Telephony SEND SMS DATA
334 * This structure defines the send sms proactive command data for sms application.
338 int commandId; /**<Proactive Command Number sent by USIM*/
339 int bIsPackingRequired; /**<flag to check if packing required for sms tpdu*/
340 TelSatAddressInfo_t address; /**<destination address*/
341 TelSatSmsTpduInfo_t smsTpdu; /**<SMS TPDU data*/
342 } TelSatSendSmsIndSmsData_t;
344 // Telephony SEND SS DATA
346 * This structure defines the send ss proactive command data for ss application.
350 int commandId; /**<Proactive Command Number sent by USIM*/
351 unsigned short ssStringLen;
352 unsigned char ssString[TAPI_SAT_DEF_SS_LEN_MAX+1];
353 }TelSatSendSsIndSsData_t;
355 // Telephony USSD DATA
357 * This structure defines the send ussd proactive command data for ussd application.
361 int commandId; /**<Proactive Command Number sent by USIM*/
362 unsigned char rawDcs; /**<data coding scheme*/
363 unsigned short ussdStringLen;
364 unsigned char ussdString[TAPI_SAT_DEF_USSD_LEN_MAX+1];
365 }TelSatSendUssdIndUssdData_t;
367 // Telephony SEND DTMF DATA
369 * This structure defines the send dtmf proactive command data for dtmf application.
373 int commandId; /**<Proactive Command Number sent by USIM*/
374 int bIsHiddenMode; /**<hidden mode flag*/
375 TelSatTextInfo_t dtmfString; /**<dtmf string data*/
376 }TelSatSendDtmfIndDtmfData_t;
378 // Telephony SETUP CALL DATA
380 * This structure defines the setup call proactive command data for call application.
384 int commandId; /**<Proactive Command Number sent by USIM*/
385 TelSatCmdQualiSetupCall_t calltype; /**<call type*/
386 TelSatTextInfo_t dispText; /**<display data for calling*/
387 TelSatTextInfo_t callNumber; /**<call number*/
388 unsigned int duration; /**<maximum repeat duration*/
389 TelSatIconIdentifierInfo_t iconId; /**<icon identifier for call application*/
390 }TelSatSetupCallIndCallData_t;
392 // Telephony LAUNCH BROWSER DATA
394 * This structure defines the launch browser proactive command data for browser application.
398 int commandId; /**<Proactive Command Number sent by USIM*/
399 TelSatUrlInfo_t url; /**<url to connect*/
400 TelSatCmdQualiLaunchBrowser_t launchType; /**<launch type*/
401 TelSatBrowserIdentityType_t IdentityType; /**<Browser Identity -default, html, etc*/
402 }TelSatLaunchBrowserIndBrowserData_t;
404 // Telephony PROVIDE LOCAL INFO DATA
406 * This structure defines the provide local info proactive command data for application.
410 int commandId; /**<Proactive Command Number sent by USIM*/
411 TelSatCmdQualiProvideLocalInfo_t localInfoType; /**<Provide Local Information Type*/
412 }TelSatProvideLocalInfoInd_t;
414 // Telephony LANGUAGE NOTIFICATION DATA
416 * This structure defines the language notification proactive command data for application.
420 int commandId; /**<Proactive Command Number sent by USIM*/
421 int bSpecificLanguageNotification; /**<flag for checking specific language notification. if FALSE, non-specific language notification */
422 TelSatLanguageInfo_t language; /**<language info from USIM application */
423 }TelSatLanguageNotiInfoInd_t;
425 // Telephony PLAY TONE RETURN INFO
427 * This structure defines the return result data for Play Tone proactive command.
431 TelSatResultType_t resp; /**<result response value*/
432 }TelSatSetupMenuRetInfo_t;
434 // Telephony REFRESH RETURN INFO
436 * This structure defines the return result data for refresh proactive command.
440 TelSatRefreshAppType_t appType; /**<application type*/
441 TelSatResultType_t resp; /**<result response value*/
442 }TelSatRefreshRetInfo_t;
444 // Telephony CALL RETURN INFO
446 * This structure defines the return result data for setup call proactive command.
450 TelSatResultType_t resp; /**<result response value*/
451 int bIsTapiCauseExist; /**<flag for checking tapi error cause */
452 TelCallCause_t tapiCause; /**<tapi call error cause*/
453 TelSsCause_t ssCause; /**<tapi ss error cause*/
454 TelSatMeProblemType_t meProblem; /**<me problem error cause*/
455 int bIsOtherInfoExist; /**<call control result existence flag*/
456 TelSatCallCtrlProblemType_t permanentCallCtrlProblem; /**<call control problem type*/
457 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
458 TelSatResultInfo_t result2; /**<call control envelope result value*/
459 TelSatTextTypeInfo_t text; /**<call control envelope display data*/
460 }TelSatCallRetInfo_t;
462 // Telephony SS RETURN INFO
464 * This structure defines the return result data for send ss proactive command.
468 TelSatResultType_t resp; /**<result response value*/
469 TelSsCause_t ssCause; /**<error - ss cause*/
470 TelSatTextInfo_t ssString; /**<ss result string*/
471 TelSatMeProblemType_t meProblem; /**<error - me problem*/
472 int bIsOtherInfoExist; /**<call control result exist flag*/
473 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
474 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
475 TelSatResultInfo_t result2; /**<call control envelope result value*/
478 // Telephony USSD RETURN INFO
480 * This structure defines the return result data for send ussd proactive command.
484 TelSatResultType_t resp; /**<result response value*/
485 TelSsCause_t ssCause; /**<error - ss cause*/
486 TelSatTextInfo_t ussdString; /**<ussd result string*/
487 TelSatDataCodingSchemeInfo_t dcsUssdString; /**<dcs of ussd result string */
488 TelSatMeProblemType_t meProblem; /**<error - me problem*/
489 int bIsOtherInfoExist; /**<call control result exist flag*/
490 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
491 int bCallCtrlHasModification; /**<call control request modification flag*/
492 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
493 TelSatResultInfo_t result2; /**<call control envelope result value*/
494 TelSatTextTypeInfo_t text2; /**<cc envelope display data */
495 }TelSatUssdRetInfo_t;
497 // Telephony SMS RETURN INFO
499 * This structure defines the return result data for send sms proactive command.
503 TelSatResultType_t resp; /**<result response value*/
506 // Telephony DTMF RETUEN INFO
508 * This structure defines the return result data for send dtmf proactive command.
512 TelSatResultType_t resp; /**<result response value*/
513 }TelSatDtmfRetInfo_t;
515 // Telephony BROWSER RETURN INFO
517 * This structure defines the return result data for launch browser proactive command.
521 TelSatResultType_t resp; /**<result response value*/
522 TelSatLaunchBrowserProblemType_t browserProblem; /**<specific browser problem*/
523 }TelSatBrowserRetInfo_t;
525 // Telephony SETUP IDLE MODE TEXT RETURN INFO
527 * This structure defines the return result data for setup idle mode text proactive command.
531 TelSatResultType_t resp; /**<result response value*/
532 }TelSatIdleTextRetInfo_t;
534 // Telephony PLAY TONE RETURN INFO
536 * This structure defines the return result data for Play Tone proactive command.
540 TelSatResultType_t resp; /**<result response value*/
541 }TelSatPlayToneRetInfo_t;
543 // Telephony PROVIDE LOCAL INFO RETURN INFO
545 * This structure defines the return result data for setup idle mode text proactive command.
549 TelSatResultType_t resp; /**<result response value*/
550 int bOtherInfo; /**<flag to check whether other information are required or not */
551 TelSatCmdQualiProvideLocalInfo_t infoType; /**<local info type - e.g. time zone or language info, etc */
554 TelSatDataTimeZoneInfo_t timeZoneInfo; /**< current time zone info */
555 TelSatLanguageInfo_t languageInfo; /**< current ME language setting info */
557 }TelSatProvideLocalRetInfo_t;
559 // Telephony LANGUAGE NOTI RETURN INFO
561 * This structure defines the return result data for setup idle mode text proactive command.
565 TelSatResultType_t resp; /**<result response value*/
566 }TelSatLanguageNotiRetInfo_t;
568 // Telephony DISPLAY TEXT RETURN INFO
570 * This structure defines the return result data for setup idle mode text proactive command.
574 TelSatResultType_t resp; /**<result response value*/
575 TelSatMeProblemType_t meProblem; /**<Me Problem Type */
576 }TelSatDiplayTextRetInfo_t;
578 // Telephony APPLICATIONS RETURN DATA
580 * This structure defines the common return result data for applications proactive command.
584 TelSatCommandType_t commandType; /**<Proactive Command type*/
585 int commandId; /**<Proactive Command Number sent by USIM*/
588 TelSatSetupMenuRetInfo_t setupMenu; /**<result response value for setup menu*/
589 TelSatRefreshRetInfo_t refresh; /**<result response value for refresh*/
590 TelSatCallRetInfo_t setupCall; /**<result response value for setup call*/
591 TelSatSsRetInfo_t sendSs; /**<result response value for send ss*/
592 TelSatUssdRetInfo_t sendUssd; /**<result response value for send ussd*/
593 TelSatSmsRetInfo_t sendSms; /**<result response value for send sms*/
594 TelSatDtmfRetInfo_t sendDtmf; /**<result response value for send dtmf*/
595 TelSatBrowserRetInfo_t launchBrowser; /**<result response value for launch browser*/
596 TelSatIdleTextRetInfo_t setupIdleModeText; /**<result response value for setup idle mode text*/
597 TelSatLanguageNotiRetInfo_t languageNoti; /**<result response value for language notification*/
598 TelSatProvideLocalRetInfo_t provideLocalInfo; /**<result response value for provide local info*/
599 TelSatDiplayTextRetInfo_t displayText; /**<result response value for dsiplay text*/
600 TelSatPlayToneRetInfo_t playTone; /**<result response value for play tone*/
601 }appsRet; /**< common union result value */
602 }TelSatAppsRetInfo_t;
604 // Telephony CALL CONTROL CONFIRM DATA FOR CALL
606 * This structure defines the call control confirm data for call.
610 TelSatTextInfo_t address; /**< call destination address*/
611 TelSatTextInfo_t subAddress; /**< call SUB address*/
612 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
613 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
614 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
615 } TelSatCallCtrlIndCallData_t;
617 // Telephony CALL CONTROL CONFIRM DATA FOR SS
619 * This structure defines the call control confirm data for ss.
623 TelSatTextInfo_t ssString; /**< ss destination address*/
624 TelSatTextInfo_t subAddress; /**< call SUB address*/
625 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
626 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
627 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
628 } TelSatCallCtrlIndSsData_t;
630 // Telephony CALL CONTROL CONFIRM DATA FOR USSD
632 * This structure defines the call control confirm data for ussd.
636 TelSatTextInfo_t ussdString; /**< ussd destination address*/
637 } TelSatCallCtrlIndUssdData_t;
639 // Telephony READ FILE REQUEST DATA
641 * This structure defines the common call control confirm data.
645 TelSatCallType_t callCtrlCnfType; /**<call control confirm type - call, ss or ussd*/
646 TelSatCallCtrlResultType_t callCtrlResult; /**<call control result*/
647 TelSatTextInfo_t dispData; /**<call control display data*/
648 int bIsUserInfoDisplayEnabled; /**<flag for checking existence of call control display */
652 TelSatCallCtrlIndCallData_t callCtrlCnfCallData; /**<call control call address*/
653 TelSatCallCtrlIndSsData_t callCtrlCnfSsData; /**<call control ss string*/
654 TelSatCallCtrlIndUssdData_t callCtrlCnfUssdData; /**<call control ussd string*/
656 } TelSatCallCtrlIndData_t;
658 // Telephony MO SMS CONTROL CONFIRMATION DATA
660 * This structure defines the mo sms control confirm data.
664 TelSatCallCtrlResultType_t moSmsCtrlResult; /**<envelope result*/
665 int bIsUserInfoDisplayEnabled; /**<display present flag*/
666 TelSatTextTypeInfo_t dispData; /**<display data for sending SMS*/
667 TelSatTextTypeInfo_t rpDestAddr; /**<the RP_Destination_Address of the Service Center */
668 TelSatTextTypeInfo_t tpDestAddr; /**<the TP_Destination_Address */
669 } TelSatMoSmCtrlIndData_t;
671 // Telephony EVENT LIST INFO
673 * This structure defines the Event List Info.
677 int bIsEventDownloadActive; /**<Is Event Download Active*/
678 int bIsMtCallEvent; /**<Is Mt Call Event*/
679 int bIsCallConnected; /**<Is Call Connected*/
680 int bIsCallDisconnected; /**<Is Call Disconnected*/
681 int bIsLocationStatus; /**<Is Location Status*/
682 int bIsUserActivity; /**<Is User Activity*/
683 int bIsIdleScreenAvailable; /**<Is Idle Screen Available*/
684 int bIsCardReaderStatus; /**<Is Card Reader Status*/
685 int bIsLanguageSelection; /**<Is Language Selection*/
686 int bIsBrowserTermination; /**<Is Browser Termination*/
687 int bIsDataAvailable; /**<Is Data Available*/
688 int bIsChannelStatus; /**<Is Channel Status*/
689 } TelSatEventListData_t;
692 * This is the structure to be used by the Application to send envelope/event download data.
693 * This contains the data structures to be used to send any envelope/event download data.
697 TelSatEventDownloadType_t eventDownloadType; /**< eventDownload Type */
701 int bIdleScreenAvailable; /**<flag to specify whether Idle Screen is Available or not*/
702 TelSatLanguageSelectionEventReqInfo_t languageSelectionEventReqInfo; /**<Selected Language Information*/
703 TelSatBrowserTerminationEventReqInfo_t browserTerminationEventReqInfo; /**<BrowserTermination Event Information */
704 TelSatDataAvailableEventReqInfo_t dataAvailableEventReqInfo; /**<dataAvailableEventReqInfo */
705 TelSatChannelStatusEventReqInfo_t channelStatusEventReqInfo; /**<channelStatusEventReqInfo */
707 } TelSatEventDownloadReqInfo_t;
713 #endif /* _TEL_SAT_H_ */