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>
50 #define TAPI_SAT_DEF_TITLE_LEN_MAX 50 /**< max length for Menu Title */
51 #define TAPI_SAT_DEF_ITEM_STR_LEN_MAX 50 /**< max length for Menu Item */
52 #define TAPI_SAT_DEF_TEXT_STRING_LEN_MAX 500 /**< max length for Text String */
53 #define TAPI_SAT_DEF_BIT_MASK_CONTACT 0x01 /**< Bit Mask for Contact */
54 #define TAPI_SAT_DEF_BIT_MASK_MSG 0x02 /**< Bit Mask for Msg */
55 #define TAPI_SAT_DEF_BIT_MASK_OTHER 0x04 /**< Bit Mask for Psh */
56 #define TAPI_SAT_REFRESH_FILE_LIST 20 /**< Refresh File List*/
57 #define TAPI_SAT_DEF_SS_LEN_MAX 250
58 #define TAPI_SAT_DEF_USSD_LEN_MAX 250
60 // Telephony UI USER CONFIRM TYPE
62 * @enum TelSatUiUserConfirmType_t
63 * This enumeration defines the UI User Confirm Type.
67 TAPI_SAT_USER_CONFIRM_YES, /**<This Enum Informs That user confirms yes */
68 TAPI_SAT_USER_CONFIRM_NO_OR_CANCEL, /**<This enum informs that user confirms no/cancel */
69 TAPI_SAT_USER_CONFIRM_HELP_INFO, /**<This enum informs that user wants help information */
70 TAPI_SAT_USER_CONFIRM_END, /**<This enum informs that user confirms end */
71 TAPI_SAT_USER_CONFIRM_TIMEOUT, /**<This enum informs that user did not respond */
72 }TelSatUiUserConfirmType_t;
74 // Telephony UI INKEY TYPE
76 * @enum TelSatUiInkeyYesNoCaseType_t
77 * This enumeration defines the UI Inkey Type Yes or No.
81 TAPI_SAT_INKEY_CONFIRM_NO = 0x00, /**<No*/
82 TAPI_SAT_INKEY_CONFIRM_YES = 0x01, /**<Yes*/
83 }TelSatUiInkeyYesNoCaseType_t;
85 // Telephony UI DISPLAY STATUS
87 * @enum TelSatUiDisplayStatusType_t
88 * This enumeration defines the UI Display Status.
92 TAPI_SAT_DISPLAY_SUCCESS = 0x00, /**<This enum informs UI display success*/
93 TAPI_SAT_DISPLAY_FAIL = 0x01, /**<This enum informs UI display failure*/
94 }TelSatUiDisplayStatusType_t;
96 // TELEPHONY REFRESH APPLICATION TYPE
98 * @enum TelSatRefreshAppType_t
99 * This enumeration defines the Refresh Application Type.
103 TAPI_SAT_REFRESH_CONTACT = 0x00, /**<refresh application type - Phonebook*/
104 TAPI_SAT_REFRESH_MSG, /**<refresh application type - SMS*/
105 TAPI_SAT_REFRESH_OTHER, /**<refresh application type - other*/
106 TAPI_SAT_REFRESH_MAX, /**<Maximum Enumeration Value*/
107 }TelSatRefreshAppType_t;
109 // Telephony COMMAND PERFORMED RESULT
111 * @enum TelSatCommandPerformResultType_t
112 * This enumeration defines the Result of Proactive Command execution.
116 TAPI_SAT_CMD_PERFORM_SUCCESS = 0x00, /**<command performed successfully*/
117 TAPI_SAT_CMD_PERFORM_FAIL, /**<command execution failed*/
118 TAPI_SAT_CMD_PERFORM_MAX, /**<Maximum Enumeration Value*/
119 }TelSatCommandPerformResultType_t;
121 // Telephony CALL CONTROL TYPE
123 * @enum TelSatCallCtrlType_t
124 * This enumeration defines Call Control Type.
128 TAPI_SAT_CALL_CNF_NONE = 0x00, /**<call control confirm type - None*/
129 TAPI_SAT_CALL_CNF_CALL, /**<call control confirm type - call*/
130 TAPI_SAT_CALL_CNF_SS, /**<call control confirm type - ss*/
131 TAPI_SAT_CALL_CNF_USSD, /**<call control confirm type - ussd*/
132 TAPI_SAT_CALL_CNF_MAX, /**<Maximum Enumeration Value*/
133 }TelSatCallCtrlType_t;
135 // SAT UI USER CONFIRMATION INFO
137 * This structure defines the user confirmation data.
141 int commandId; /**<Proactive Command Number sent by USIM*/
142 TelSatCommandType_t commandType; /**<Proactive Command Type*/
143 TelSatUiUserConfirmType_t keyType; /**<User Response Type*/
144 unsigned char* pAdditionalData; /**<Additional Data*/
145 int dataLen; /**<Additional Data Length*/
146 }TelSatUiUserConfirmInfo_t;
148 // Telephony TEXT INFO
150 * This structure defines the character data for sat engine data structure.
154 unsigned short stringLen; /**<character data length*/
155 unsigned char string[TAPI_SAT_DEF_TEXT_STRING_LEN_MAX+1]; /**<character data*/
158 // Telephony MAIN MENU TITLE INFO
160 * This structure defines the main menu title to check sat menu.
164 int bIsMainMenuPresent; /**<flag to check sat main menu existence*/
165 TelSatTextInfo_t mainMenuTitle; /**<main menu title data*/
166 }TelSatMainMenuTitleInfo_t;
168 // Telephony DISPLAY TEXT DATA
170 * This structure defines the display text proactive command for sat ui.
174 int commandId; /**<Proactive Command Number sent by USIM*/
175 TelSatTextInfo_t text; /**<character data to display on screen*/
176 unsigned int duration; /**<the duration of display */
177 int bIsPriorityHigh; /**<indicates whether the text is to be displayed if some other app is using the screen.*/
178 int bIsUserRespRequired; /**<indicates whether user response required or Not*/
179 TelSatIconIdentifierInfo_t iconId; /**< Icon Identifier */
180 }TelSatDisplayTextInd_t;
182 // Telephony INKEY DATA
184 * This structure defines the get inkey proactive command data for sat ui.
188 int commandId; /**<Proactive Command Number sent by USIM*/
189 TelSatInkeyType_t keyType; /**<input Type:Character Set or Yes/No*/
190 TelSatUseInputAlphabetType_t inputCharMode; /**<input character mode(SMS default, UCS2)*/
191 int bIsNumeric; /**<is input character numeric(0-9, *, # and +)*/
192 int bIsHelpInfoAvailable; /**<help info request flag*/
193 TelSatTextInfo_t text; /**<character data to display on screen*/
194 unsigned int duration; /**<the duration of display*/
195 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
196 }TelSatGetInkeyInd_t;
198 // Telephony GET INPUT DATA
200 * This structure defines the get input proactive command data for sat ui.
204 int commandId; /**<Proactive Command Number sent by USIM*/
205 TelSatUseInputAlphabetType_t inputCharMode; /**<input character mode(SMS default, UCS2)*/
206 int bIsNumeric; /**<is input character numeric(0-9, *, # and +)*/
207 int bIsHelpInfoAvailable; /**<flag for help info request */
208 int bIsEchoInput; /**<indicates whether to show input data on screen or not*/
209 TelSatTextInfo_t text; /**<character data to display on screen*/
210 TelSatRespLenInfo_t respLen; /**<input data min, max length*/
211 TelSatTextInfo_t defaultText; /**<default input character data*/
212 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
213 }TelSatGetInputInd_t;
215 // Telephony PLAY TONE DATA
217 * This structure defines the play tone proactive command data for application.
221 int commandId; /**<Proactive Command Number sent by USIM*/
222 TelSatTextInfo_t text; /**<character data to display on screen*/
223 TelSatToneInfo_t tone; /**<tone info */
224 TelSatDurationInfo_t duration; /**<the duration for playing tone*/
225 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
226 }TelSatPlayToneInd_t;
228 // Telephony SEND SMS DATA
230 * This structure defines the send sms proactive command data for sat ui.
234 int commandId; /**<Proactive Command Number sent by USIM*/
235 TelSatTextInfo_t text; /**<character data to display on screen*/
236 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
237 }TelSatSendSmsIndUiInfo_t;
239 // Telephony SEND SS DATA
241 * This structure defines the send ss proactive command data for sat ui.
245 int commandId; /**<Proactive Command Number sent by USIM*/
246 TelSatTextInfo_t text; /**<character data to display on screen*/
247 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
248 } TelSatSendSsIndUiInfo_t;
250 // Telephony SEND USSD DATA
252 * This structure defines the send ussd proactive command data for sat ui.
256 int commandId; /**<Proactive Command Number sent by USIM*/
257 TelSatTextInfo_t text; /**<character data to display on screen*/
258 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
259 }TelSatSendUssdIndUiInfo_t;
261 // Telephony SEND DTMF DATA
263 * This structure defines the send dtmf proactive command data for sat ui.
267 int commandId; /**<Proactive Command Number sent by USIM*/
268 TelSatTextInfo_t text; /**<character data to display on screen*/
269 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
270 }TelSatSendDtmfIndUiInfo_t;
272 // Telephony LAUNCH BROWSER DATA
274 * This structure defines the launch browser proactive command data for sat ui.
278 int commandId; /**<Proactive Command Number sent by USIM*/
279 TelSatTextInfo_t text; /**<character data to display on screen*/
280 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
281 }TelSatLaunchBrowserIndUiInfo_t;
283 // Telephony SETUP CALL DATA
285 * This structure defines the setup call proactive command data for sat ui.
289 int commandId; /**<Proactive Command Number sent by USIM*/
290 TelSatTextInfo_t text; /**<character data to display on screen*/
291 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
292 } TelSatSetupCallIndUiInfo_t;
294 // Telephony MENU ITEM DATA FOR SETUP MENU
296 * This structure defines the menu item info for setup menu.
300 char itemString[TAPI_SAT_DEF_ITEM_STR_LEN_MAX + 6]; /**<menu item character data*/
301 char itemId; /**<identifies the item on the menu that user selected*/
304 // Telephony SETUP MENU INFO
306 * This structure defines the sat main menu info.
310 int commandId; /**<Proactive Command Number sent by USIM*/
311 int bIsMainMenuPresent;
312 char satMainTitle[TAPI_SAT_DEF_TITLE_LEN_MAX + 1]; /**<menu title text*/
313 TelSatMenuInfo_t satMainMenuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< menu items*/
314 unsigned short satMainMenuNum; /**<number of menu items*/
315 int bIsSatMainMenuHelpInfo; /**<flag for help information request */
316 int bIsUpdatedSatMainMenu;
317 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
318 TelSatIconIdentifierListInfo_t iconIdList; /**<List of Icon Identifiers*/
319 }TelSatSetupMenuInfo_t;
321 // Telephony SELECT ITEM DATA
323 * This structure defines the select item proactive command data for sat ui.
327 int commandId; /**<Proactive Command Number sent by USIM*/
328 int bIsHelpInfoAvailable; /**<flag for help information request*/
329 TelSatTextInfo_t text; /**<menu title text*/
330 char defaultItemIndex; /**<selected default item - default value is 0*/
331 char menuItemCount; /**<number of menu items*/
332 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**<menu items*/
333 TelSatIconIdentifierInfo_t iconId; /**<Icon Identifier*/
334 TelSatIconIdentifierListInfo_t iconIdList; /**<List of Icon Identifiers*/
336 }TelSatSelectItemInd_t;
338 // Telephony IDLE MODE TEXT DATA
340 * This structure defines the setup idle mode text proactive command for idle application.
344 int commandId; /**<Proactive Command Number sent by USIM*/
345 TelSatTextInfo_t text; /**<character data to display on screen*/
346 TelSatIconIdentifierInfo_t iconId;
347 } TelSatSetupIdleModeTextInd_t;
349 // Telephony REFRESH DATA
351 * This structure defines the refresh proactive command data for sat ui.
355 int commandId; /**<Proactive Command Number sent by USIM*/
356 TelSatCmdQualiRefresh_t refreshType; /**<refresh mode*/
357 }TelSatRefreshIndUiInfo_t;
359 // Telephony REFRESH DATA
361 * This structure defines the refresh proactive command data for applications which are concerned with files resident on USIM .
365 int commandId; /**<Proactive Command Number sent by USIM*/
366 TelSatRefreshAppType_t appType; /**<concerned application type */
367 TelSatCmdQualiRefresh_t refreshMode; /**<refresh mode*/
368 unsigned char fileCount; /**<refresh file count*/
369 TelSimFileID_t fileId[TAPI_SAT_REFRESH_FILE_LIST]; /**<refresh file identifier*/
372 // Telephony END PROACTIVE COMMAND INFO
374 * This structure defines the data objects to indicate to sat ui, the end of execution of a specific proactive command by other application.
378 int commandId; /**<Proactive Command Number sent by USIM*/
379 char commandType; /**< Command Type*/
380 TelSatCommandPerformResultType_t result; /**<result of command execution by application*/
381 }TelSatProactiveCmdEndIndInfo_t;
383 // Telephony SEND SMS DATA
385 * This structure defines the send sms proactive command data for sms application.
389 int commandId; /**<Proactive Command Number sent by USIM*/
390 int bIsPackingRequired; /**<flag to check if packing required for sms tpdu*/
391 TelSatAddressInfo_t address; /**<destination address*/
392 TelSatSmsTpduInfo_t smsTpdu; /**<SMS TPDU data*/
393 } TelSatSendSmsIndSmsData_t;
395 // Telephony SEND SS DATA
397 * This structure defines the send ss proactive command data for ss application.
401 int commandId; /**<Proactive Command Number sent by USIM*/
402 unsigned short ssStringLen;
403 unsigned char ssString[TAPI_SAT_DEF_SS_LEN_MAX+1];
404 }TelSatSendSsIndSsData_t;
406 // Telephony USSD DATA
408 * This structure defines the send ussd proactive command data for ussd application.
412 int commandId; /**<Proactive Command Number sent by USIM*/
413 unsigned char rawDcs; /**<data coding scheme*/
414 unsigned short ussdStringLen;
415 unsigned char ussdString[TAPI_SAT_DEF_USSD_LEN_MAX+1];
416 }TelSatSendUssdIndUssdData_t;
418 // Telephony SEND DTMF DATA
420 * This structure defines the send dtmf proactive command data for dtmf application.
424 int commandId; /**<Proactive Command Number sent by USIM*/
425 int bIsHiddenMode; /**<hidden mode flag*/
426 TelSatTextInfo_t dtmfString; /**<dtmf string data*/
427 }TelSatSendDtmfIndDtmfData_t;
429 // Telephony SETUP CALL DATA
431 * This structure defines the setup call proactive command data for call application.
435 int commandId; /**<Proactive Command Number sent by USIM*/
436 TelSatCmdQualiSetupCall_t calltype; /**<call type*/
437 TelSatTextInfo_t dispText; /**<display data for calling*/
438 TelSatTextInfo_t callNumber; /**<call number*/
439 unsigned int duration; /**<maximum repeat duration*/
440 TelSatIconIdentifierInfo_t iconId; /**<icon identifier for call application*/
441 }TelSatSetupCallIndCallData_t;
443 // Telephony LAUNCH BROWSER DATA
445 * This structure defines the launch browser proactive command data for browser application.
449 int commandId; /**<Proactive Command Number sent by USIM*/
450 TelSatUrlInfo_t url; /**<url to connect*/
451 TelSatCmdQualiLaunchBrowser_t launchType; /**<launch type*/
452 TelSatBrowserIdentityType_t IdentityType; /**<Browser Identity -default, html, etc*/
453 }TelSatLaunchBrowserIndBrowserData_t;
455 // Telephony PROVIDE LOCAL INFO DATA
457 * This structure defines the provide local info proactive command data for application.
461 int commandId; /**<Proactive Command Number sent by USIM*/
462 TelSatCmdQualiProvideLocalInfo_t localInfoType; /**<Provide Local Information Type*/
463 }TelSatProvideLocalInfoInd_t;
465 // Telephony LANGUAGE NOTIFICATION DATA
467 * This structure defines the language notification proactive command data for application.
471 int commandId; /**<Proactive Command Number sent by USIM*/
472 int bSpecificLanguageNotification; /**<flag for checking specific language notification. if FALSE, non-specific language notification */
473 TelSatLanguageInfo_t language; /**<language info from USIM application */
474 }TelSatLanguageNotiInfoInd_t;
476 // Telephony PLAY TONE RETURN INFO
478 * This structure defines the return result data for Play Tone proactive command.
482 TelSatResultType_t resp; /**<result response value*/
483 }TelSatSetupMenuRetInfo_t;
485 // Telephony REFRESH RETURN INFO
487 * This structure defines the return result data for refresh proactive command.
491 TelSatRefreshAppType_t appType; /**<application type*/
492 TelSatResultType_t resp; /**<result response value*/
493 }TelSatRefreshRetInfo_t;
495 // Telephony CALL RETURN INFO
497 * This structure defines the return result data for setup call proactive command.
501 TelSatResultType_t resp; /**<result response value*/
502 int bIsTapiCauseExist; /**<flag for checking tapi error cause */
503 TelCallCause_t tapiCause; /**<tapi call error cause*/
504 TelSsCause_t ssCause; /**<tapi ss error cause*/
505 TelSatMeProblemType_t meProblem; /**<me problem error cause*/
506 int bIsOtherInfoExist; /**<call control result existence flag*/
507 TelSatCallCtrlProblemType_t permanentCallCtrlProblem; /**<call control problem type*/
508 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
509 TelSatResultInfo_t result2; /**<call control envelope result value*/
510 TelSatTextTypeInfo_t text; /**<call control envelope display data*/
511 }TelSatCallRetInfo_t;
513 // Telephony SS RETURN INFO
515 * This structure defines the return result data for send ss proactive command.
519 TelSatResultType_t resp; /**<result response value*/
520 TelSsCause_t ssCause; /**<error - ss cause*/
521 TelSatTextInfo_t ssString; /**<ss result string*/
522 TelSatMeProblemType_t meProblem; /**<error - me problem*/
523 int bIsOtherInfoExist; /**<call control result exist flag*/
524 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
525 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
526 TelSatResultInfo_t result2; /**<call control envelope result value*/
529 // Telephony USSD RETURN INFO
531 * This structure defines the return result data for send ussd proactive command.
535 TelSatResultType_t resp; /**<result response value*/
536 TelSsCause_t ssCause; /**<error - ss cause*/
537 TelSatTextInfo_t ussdString; /**<ussd result string*/
538 TelSatDataCodingSchemeInfo_t dcsUssdString; /**<dcs of ussd result string */
539 TelSatMeProblemType_t meProblem; /**<error - me problem*/
540 int bIsOtherInfoExist; /**<call control result exist flag*/
541 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**<call control problem*/
542 int bCallCtrlHasModification; /**<call control request modification flag*/
543 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**<call control request data*/
544 TelSatResultInfo_t result2; /**<call control envelope result value*/
545 TelSatTextTypeInfo_t text2; /**<cc envelope display data */
546 }TelSatUssdRetInfo_t;
548 // Telephony SMS RETURN INFO
550 * This structure defines the return result data for send sms proactive command.
554 TelSatResultType_t resp; /**<result response value*/
557 // Telephony DTMF RETUEN INFO
559 * This structure defines the return result data for send dtmf proactive command.
563 TelSatResultType_t resp; /**<result response value*/
564 }TelSatDtmfRetInfo_t;
566 // Telephony BROWSER RETURN INFO
568 * This structure defines the return result data for launch browser proactive command.
572 TelSatResultType_t resp; /**<result response value*/
573 TelSatLaunchBrowserProblemType_t browserProblem; /**<specific browser problem*/
574 }TelSatBrowserRetInfo_t;
576 // Telephony SETUP IDLE MODE TEXT RETURN INFO
578 * This structure defines the return result data for setup idle mode text proactive command.
582 TelSatResultType_t resp; /**<result response value*/
583 }TelSatIdleTextRetInfo_t;
585 // Telephony PLAY TONE RETURN INFO
587 * This structure defines the return result data for Play Tone proactive command.
591 TelSatResultType_t resp; /**<result response value*/
592 }TelSatPlayToneRetInfo_t;
594 // Telephony PROVIDE LOCAL INFO RETURN INFO
596 * This structure defines the return result data for setup idle mode text proactive command.
600 TelSatResultType_t resp; /**<result response value*/
601 int bOtherInfo; /**<flag to check whether other information are required or not */
602 TelSatCmdQualiProvideLocalInfo_t infoType; /**<local info type - e.g. time zone or language info, etc */
605 TelSatDataTimeZoneInfo_t timeZoneInfo; /**< current time zone info */
606 TelSatLanguageInfo_t languageInfo; /**< current ME language setting info */
608 }TelSatProvideLocalRetInfo_t;
610 // Telephony LANGUAGE NOTI RETURN INFO
612 * This structure defines the return result data for setup idle mode text proactive command.
616 TelSatResultType_t resp; /**<result response value*/
617 }TelSatLanguageNotiRetInfo_t;
619 // Telephony DISPLAY TEXT RETURN INFO
621 * This structure defines the return result data for setup idle mode text proactive command.
625 TelSatResultType_t resp; /**<result response value*/
626 TelSatMeProblemType_t meProblem; /**<Me Problem Type */
627 }TelSatDiplayTextRetInfo_t;
629 // Telephony APPLICATIONS RETURN DATA
631 * This structure defines the common return result data for applications proactive command.
635 TelSatCommandType_t commandType; /**<Proactive Command type*/
636 int commandId; /**<Proactive Command Number sent by USIM*/
639 TelSatSetupMenuRetInfo_t setupMenu; /**<result response value for setup menu*/
640 TelSatRefreshRetInfo_t refresh; /**<result response value for refresh*/
641 TelSatCallRetInfo_t setupCall; /**<result response value for setup call*/
642 TelSatSsRetInfo_t sendSs; /**<result response value for send ss*/
643 TelSatUssdRetInfo_t sendUssd; /**<result response value for send ussd*/
644 TelSatSmsRetInfo_t sendSms; /**<result response value for send sms*/
645 TelSatDtmfRetInfo_t sendDtmf; /**<result response value for send dtmf*/
646 TelSatBrowserRetInfo_t launchBrowser; /**<result response value for launch browser*/
647 TelSatIdleTextRetInfo_t setupIdleModeText; /**<result response value for setup idle mode text*/
648 TelSatLanguageNotiRetInfo_t languageNoti; /**<result response value for language notification*/
649 TelSatProvideLocalRetInfo_t provideLocalInfo; /**<result response value for provide local info*/
650 TelSatDiplayTextRetInfo_t displayText; /**<result response value for dsiplay text*/
651 TelSatPlayToneRetInfo_t playTone; /**<result response value for play tone*/
652 }appsRet; /**< common union result value */
653 }TelSatAppsRetInfo_t;
655 // Telephony CALL CONTROL CONFIRM DATA FOR CALL
657 * This structure defines the call control confirm data for call.
661 TelSatTextInfo_t address; /**< call destination address*/
662 TelSatTextInfo_t subAddress; /**< call SUB address*/
663 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
664 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
665 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
666 } TelSatCallCtrlIndCallData_t;
668 // Telephony CALL CONTROL CONFIRM DATA FOR SS
670 * This structure defines the call control confirm data for ss.
674 TelSatTextInfo_t ssString; /**< ss destination address*/
675 TelSatTextInfo_t subAddress; /**< call SUB address*/
676 TelSatBcRepeatIndicatorType_t bcRepeatIndicator; /**< bc repeat indicator*/
677 TelSatTextInfo_t ccp1; /**< Configuration Capability Parameter 1*/
678 TelSatTextInfo_t ccp2; /**< Configuration Capability Parameter 2*/
679 } TelSatCallCtrlIndSsData_t;
681 // Telephony CALL CONTROL CONFIRM DATA FOR USSD
683 * This structure defines the call control confirm data for ussd.
687 TelSatTextInfo_t ussdString; /**< ussd destination address*/
688 } TelSatCallCtrlIndUssdData_t;
690 // Telephony READ FILE REQUEST DATA
692 * This structure defines the common call control confirm data.
696 TelSatCallType_t callCtrlCnfType; /**<call control confirm type - call, ss or ussd*/
697 TelSatCallCtrlResultType_t callCtrlResult; /**<call control result*/
698 TelSatTextInfo_t dispData; /**<call control display data*/
699 int bIsUserInfoDisplayEnabled; /**<flag for checking existence of call control display */
703 TelSatCallCtrlIndCallData_t callCtrlCnfCallData; /**<call control call address*/
704 TelSatCallCtrlIndSsData_t callCtrlCnfSsData; /**<call control ss string*/
705 TelSatCallCtrlIndUssdData_t callCtrlCnfUssdData; /**<call control ussd string*/
707 } TelSatCallCtrlIndData_t;
709 // Telephony MO SMS CONTROL CONFIRMATION DATA
711 * This structure defines the mo sms control confirm data.
715 TelSatCallCtrlResultType_t moSmsCtrlResult; /**<envelope result*/
716 int bIsUserInfoDisplayEnabled; /**<display present flag*/
717 TelSatTextTypeInfo_t dispData; /**<display data for sending SMS*/
718 TelSatTextTypeInfo_t rpDestAddr; /**<the RP_Destination_Address of the Service Center */
719 TelSatTextTypeInfo_t tpDestAddr; /**<the TP_Destination_Address */
720 } TelSatMoSmCtrlIndData_t;
722 // Telephony EVENT LIST INFO
724 * This structure defines the Event List Info.
728 int bIsEventDownloadActive; /**<Is Event Download Active*/
729 int bIsMtCallEvent; /**<Is Mt Call Event*/
730 int bIsCallConnected; /**<Is Call Connected*/
731 int bIsCallDisconnected; /**<Is Call Disconnected*/
732 int bIsLocationStatus; /**<Is Location Status*/
733 int bIsUserActivity; /**<Is User Activity*/
734 int bIsIdleScreenAvailable; /**<Is Idle Screen Available*/
735 int bIsCardReaderStatus; /**<Is Card Reader Status*/
736 int bIsLanguageSelection; /**<Is Language Selection*/
737 int bIsBrowserTermination; /**<Is Browser Termination*/
738 int bIsDataAvailable; /**<Is Data Available*/
739 int bIsChannelStatus; /**<Is Channel Status*/
740 } TelSatEventListData_t;
743 * This is the structure to be used by the Application to send envelope/event download data.
744 * This contains the data structures to be used to send any envelope/event download data.
748 TelSatEventDownloadType_t eventDownloadType; /**< eventDownload Type */
752 int bIdleScreenAvailable; /**<flag to specify whether Idle Screen is Available or not*/
753 TelSatLanguageSelectionEventReqInfo_t languageSelectionEventReqInfo; /**<Selected Language Information*/
754 TelSatBrowserTerminationEventReqInfo_t browserTerminationEventReqInfo; /**<BrowserTermination Event Information */
755 TelSatDataAvailableEventReqInfo_t dataAvailableEventReqInfo; /**<dataAvailableEventReqInfo */
756 TelSatChannelStatusEventReqInfo_t channelStatusEventReqInfo; /**<channelStatusEventReqInfo */
758 } TelSatEventDownloadReqInfo_t;
764 #endif /* _TEL_SAT_H_ */