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 TelSimTypeOfNum_t ton; /**< type of number */
352 TelSimNumberingPlanIdentity_t npi; /**< number plan identity */
353 unsigned short ssStringLen;
354 unsigned char ssString[TAPI_SAT_DEF_SS_LEN_MAX+1];
355 }TelSatSendSsIndSsData_t;
357 // Telephony USSD DATA
359 * This structure defines the send ussd proactive command data for ussd application.
363 int commandId; /**<Proactive Command Number sent by USIM*/
364 unsigned char rawDcs; /**<data coding scheme*/
365 unsigned short ussdStringLen;
366 unsigned char ussdString[TAPI_SAT_DEF_USSD_LEN_MAX+1];
367 }TelSatSendUssdIndUssdData_t;
369 // Telephony SEND DTMF DATA
371 * This structure defines the send dtmf proactive command data for dtmf application.
375 int commandId; /**<Proactive Command Number sent by USIM*/
376 int bIsHiddenMode; /**<hidden mode flag*/
377 TelSatTextInfo_t dtmfString; /**<dtmf string data*/
378 }TelSatSendDtmfIndDtmfData_t;
380 // Telephony SETUP CALL DATA
382 * This structure defines the setup call proactive command data for call application.
386 int commandId; /**<Proactive Command Number sent by USIM*/
387 TelSatCmdQualiSetupCall_t calltype; /**<call type*/
388 TelSatTextInfo_t dispText; /**<display data for calling*/
389 TelSatTextInfo_t callNumber; /**<call number*/
390 unsigned int duration; /**<maximum repeat duration*/
391 TelSatIconIdentifierInfo_t iconId; /**<icon identifier for call application*/
392 }TelSatSetupCallIndCallData_t;
394 // Telephony LAUNCH BROWSER DATA
396 * This structure defines the launch browser proactive command data for browser application.
400 int commandId; /**<Proactive Command Number sent by USIM*/
401 TelSatUrlInfo_t url; /**<url to connect*/
402 TelSatCmdQualiLaunchBrowser_t launchType; /**<launch type*/
403 TelSatBrowserIdentityType_t IdentityType; /**<Browser Identity -default, html, etc*/
404 }TelSatLaunchBrowserIndBrowserData_t;
406 // Telephony PROVIDE LOCAL INFO DATA
408 * This structure defines the provide local info proactive command data for application.
412 int commandId; /**<Proactive Command Number sent by USIM*/
413 TelSatCmdQualiProvideLocalInfo_t localInfoType; /**<Provide Local Information Type*/
414 }TelSatProvideLocalInfoInd_t;
416 // Telephony LANGUAGE NOTIFICATION DATA
418 * This structure defines the language notification proactive command data for application.
422 int commandId; /**<Proactive Command Number sent by USIM*/
423 int bSpecificLanguageNotification; /**<flag for checking specific language notification. if FALSE, non-specific language notification */
424 TelSatLanguageInfo_t language; /**<language info from USIM application */
425 }TelSatLanguageNotiInfoInd_t;
427 // Telephony PLAY TONE RETURN INFO
429 * This structure defines the return result data for Play Tone proactive command.
433 TelSatResultType_t resp; /**<result response value*/
434 }TelSatSetupMenuRetInfo_t;
436 // Telephony REFRESH RETURN INFO
438 * This structure defines the return result data for refresh proactive command.
442 TelSatRefreshAppType_t appType; /**<application type*/
443 TelSatResultType_t resp; /**<result response value*/
444 }TelSatRefreshRetInfo_t;
446 // Telephony CALL RETURN INFO
448 * This structure defines the return result data for setup call proactive command.
452 TelSatResultType_t resp; /**<result response value*/
453 int bIsTapiCauseExist; /**<flag for checking tapi error cause */
454 TelCallCause_t tapiCause; /**<tapi call error cause*/
455 TelSsCause_t ssCause; /**<tapi ss error cause*/
456 TelSatMeProblemType_t meProblem; /**<me problem error cause*/
457 int bIsOtherInfoExist; /**<call control result existence flag*/
458 TelSatCallCtrlProblemType_t permanentCallCtrlProblem; /**<call control problem type*/
459 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
460 TelSatResultInfo_t result2; /**<call control envelope result value*/
461 TelSatTextTypeInfo_t text; /**<call control envelope display data*/
462 }TelSatCallRetInfo_t;
464 // Telephony SS RETURN INFO
466 * This structure defines the return result data for send ss proactive command.
470 TelSatResultType_t resp; /**<result response value*/
471 TelSsCause_t ssCause; /**<error - ss cause*/
472 TelSatTextInfo_t ssString; /**<ss result string*/
473 TelSatMeProblemType_t meProblem; /**<error - me problem*/
474 int bIsOtherInfoExist; /**<call control result exist flag*/
475 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
476 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
477 TelSatResultInfo_t result2; /**<call control envelope result value*/
480 // Telephony USSD RETURN INFO
482 * This structure defines the return result data for send ussd proactive command.
486 TelSatResultType_t resp; /**<result response value*/
487 TelSsCause_t ssCause; /**<error - ss cause*/
488 TelSatTextInfo_t ussdString; /**<ussd result string*/
489 TelSatDataCodingSchemeInfo_t dcsUssdString; /**<dcs of ussd result string */
490 TelSatMeProblemType_t meProblem; /**<error - me problem*/
491 int bIsOtherInfoExist; /**<call control result exist flag*/
492 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
493 int bCallCtrlHasModification; /**<call control request modification flag*/
494 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
495 TelSatResultInfo_t result2; /**<call control envelope result value*/
496 TelSatTextTypeInfo_t text2; /**<cc envelope display data */
497 }TelSatUssdRetInfo_t;
499 // Telephony SMS RETURN INFO
501 * This structure defines the return result data for send sms proactive command.
505 TelSatResultType_t resp; /**<result response value*/
508 // Telephony DTMF RETUEN INFO
510 * This structure defines the return result data for send dtmf proactive command.
514 TelSatResultType_t resp; /**<result response value*/
515 }TelSatDtmfRetInfo_t;
517 // Telephony BROWSER RETURN INFO
519 * This structure defines the return result data for launch browser proactive command.
523 TelSatResultType_t resp; /**<result response value*/
524 TelSatLaunchBrowserProblemType_t browserProblem; /**<specific browser problem*/
525 }TelSatBrowserRetInfo_t;
527 // Telephony SETUP IDLE MODE TEXT RETURN INFO
529 * This structure defines the return result data for setup idle mode text proactive command.
533 TelSatResultType_t resp; /**<result response value*/
534 }TelSatIdleTextRetInfo_t;
536 // Telephony PLAY TONE RETURN INFO
538 * This structure defines the return result data for Play Tone proactive command.
542 TelSatResultType_t resp; /**<result response value*/
543 }TelSatPlayToneRetInfo_t;
545 // Telephony PROVIDE LOCAL INFO RETURN INFO
547 * This structure defines the return result data for setup idle mode text proactive command.
551 TelSatResultType_t resp; /**<result response value*/
552 int bOtherInfo; /**<flag to check whether other information are required or not */
553 TelSatCmdQualiProvideLocalInfo_t infoType; /**<local info type - e.g. time zone or language info, etc */
556 TelSatDataTimeZoneInfo_t timeZoneInfo; /**< current time zone info */
557 TelSatLanguageInfo_t languageInfo; /**< current ME language setting info */
559 }TelSatProvideLocalRetInfo_t;
561 // Telephony LANGUAGE NOTI RETURN INFO
563 * This structure defines the return result data for setup idle mode text proactive command.
567 TelSatResultType_t resp; /**<result response value*/
568 }TelSatLanguageNotiRetInfo_t;
570 // Telephony DISPLAY TEXT RETURN INFO
572 * This structure defines the return result data for setup idle mode text proactive command.
576 TelSatResultType_t resp; /**<result response value*/
577 TelSatMeProblemType_t meProblem; /**<Me Problem Type */
578 }TelSatDiplayTextRetInfo_t;
580 // Telephony APPLICATIONS RETURN DATA
582 * This structure defines the common return result data for applications proactive command.
586 TelSatCommandType_t commandType; /**<Proactive Command type*/
587 int commandId; /**<Proactive Command Number sent by USIM*/
590 TelSatSetupMenuRetInfo_t setupMenu; /**<result response value for setup menu*/
591 TelSatRefreshRetInfo_t refresh; /**<result response value for refresh*/
592 TelSatCallRetInfo_t setupCall; /**<result response value for setup call*/
593 TelSatSsRetInfo_t sendSs; /**<result response value for send ss*/
594 TelSatUssdRetInfo_t sendUssd; /**<result response value for send ussd*/
595 TelSatSmsRetInfo_t sendSms; /**<result response value for send sms*/
596 TelSatDtmfRetInfo_t sendDtmf; /**<result response value for send dtmf*/
597 TelSatBrowserRetInfo_t launchBrowser; /**<result response value for launch browser*/
598 TelSatIdleTextRetInfo_t setupIdleModeText; /**<result response value for setup idle mode text*/
599 TelSatLanguageNotiRetInfo_t languageNoti; /**<result response value for language notification*/
600 TelSatProvideLocalRetInfo_t provideLocalInfo; /**<result response value for provide local info*/
601 TelSatDiplayTextRetInfo_t displayText; /**<result response value for dsiplay text*/
602 TelSatPlayToneRetInfo_t playTone; /**<result response value for play tone*/
603 }appsRet; /**< common union result value */
604 }TelSatAppsRetInfo_t;
606 // Telephony CALL CONTROL CONFIRM DATA FOR CALL
608 * This structure defines the call control confirm data for call.
612 TelSatTextInfo_t address; /**< call destination address*/
613 TelSatTextInfo_t subAddress; /**< call SUB address*/
614 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
615 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
616 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
617 } TelSatCallCtrlIndCallData_t;
619 // Telephony CALL CONTROL CONFIRM DATA FOR SS
621 * This structure defines the call control confirm data for ss.
625 TelSatTextInfo_t ssString; /**< ss destination address*/
626 TelSatTextInfo_t subAddress; /**< call SUB address*/
627 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
628 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
629 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
630 } TelSatCallCtrlIndSsData_t;
632 // Telephony CALL CONTROL CONFIRM DATA FOR USSD
634 * This structure defines the call control confirm data for ussd.
638 TelSatTextInfo_t ussdString; /**< ussd destination address*/
639 } TelSatCallCtrlIndUssdData_t;
641 // Telephony READ FILE REQUEST DATA
643 * This structure defines the common call control confirm data.
647 TelSatCallType_t callCtrlCnfType; /**<call control confirm type - call, ss or ussd*/
648 TelSatCallCtrlResultType_t callCtrlResult; /**<call control result*/
649 TelSatTextInfo_t dispData; /**<call control display data*/
650 int bIsUserInfoDisplayEnabled; /**<flag for checking existence of call control display */
654 TelSatCallCtrlIndCallData_t callCtrlCnfCallData; /**<call control call address*/
655 TelSatCallCtrlIndSsData_t callCtrlCnfSsData; /**<call control ss string*/
656 TelSatCallCtrlIndUssdData_t callCtrlCnfUssdData; /**<call control ussd string*/
658 } TelSatCallCtrlIndData_t;
660 // Telephony MO SMS CONTROL CONFIRMATION DATA
662 * This structure defines the mo sms control confirm data.
666 TelSatCallCtrlResultType_t moSmsCtrlResult; /**<envelope result*/
667 int bIsUserInfoDisplayEnabled; /**<display present flag*/
668 TelSatTextTypeInfo_t dispData; /**<display data for sending SMS*/
669 TelSatTextTypeInfo_t rpDestAddr; /**<the RP_Destination_Address of the Service Center */
670 TelSatTextTypeInfo_t tpDestAddr; /**<the TP_Destination_Address */
671 } TelSatMoSmCtrlIndData_t;
673 // Telephony EVENT LIST INFO
675 * This structure defines the Event List Info.
679 int bIsEventDownloadActive; /**<Is Event Download Active*/
680 int bIsMtCallEvent; /**<Is Mt Call Event*/
681 int bIsCallConnected; /**<Is Call Connected*/
682 int bIsCallDisconnected; /**<Is Call Disconnected*/
683 int bIsLocationStatus; /**<Is Location Status*/
684 int bIsUserActivity; /**<Is User Activity*/
685 int bIsIdleScreenAvailable; /**<Is Idle Screen Available*/
686 int bIsCardReaderStatus; /**<Is Card Reader Status*/
687 int bIsLanguageSelection; /**<Is Language Selection*/
688 int bIsBrowserTermination; /**<Is Browser Termination*/
689 int bIsDataAvailable; /**<Is Data Available*/
690 int bIsChannelStatus; /**<Is Channel Status*/
691 } TelSatEventListData_t;
694 * This is the structure to be used by the Application to send envelope/event download data.
695 * This contains the data structures to be used to send any envelope/event download data.
699 TelSatEventDownloadType_t eventDownloadType; /**< eventDownload Type */
703 int bIdleScreenAvailable; /**<flag to specify whether Idle Screen is Available or not*/
704 TelSatLanguageSelectionEventReqInfo_t languageSelectionEventReqInfo; /**<Selected Language Information*/
705 TelSatBrowserTerminationEventReqInfo_t browserTerminationEventReqInfo; /**<BrowserTermination Event Information */
706 TelSatDataAvailableEventReqInfo_t dataAvailableEventReqInfo; /**<dataAvailableEventReqInfo */
707 TelSatChannelStatusEventReqInfo_t channelStatusEventReqInfo; /**<channelStatusEventReqInfo */
709 } TelSatEventDownloadReqInfo_t;
715 #endif /* _TEL_SAT_H_ */