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
27 * @file TelSatProactvCmd.h
29 @brief This file serves as a "C" header file defines structures for Tapi SAT Proactive commands and terminal response Services. \n
30 It contains a sample set of constants, enums, structs that would be required by applications.
33 #ifndef _TEL_SAT_PROACTV_CMD_H_
34 #define _TEL_SAT_PROACTV_CMD_H_
36 #include <TelSatObj.h>
43 #define TAPI_SAT_MENU_ITEM_COUNT_MAX 40 /**< max count of sat menu items */
44 #define TAPI_SAT_PROVISIONING_REF_MAX_COUNT 10 /**< max count of sat provisioning reference */
47 * This structure contains the data objects for DISPLAY TEXT proactive command indication.
50 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
51 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
52 } TelSatMoreTimeIndInfo_t;
55 * This structure contains the data objects for DISPLAY TEXT proactive command indication.
58 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
59 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
60 TelSatTextTypeInfo_t text; /**< display text info */
61 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
62 int bImmediateRespRequested; /**< flag for checking whether immediate response required or not */
63 TelSatDurationInfo_t duration; /**< duration for which text should be displayed */
64 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
65 } TelSatDisplayTextIndInfo_t;
68 * This structure contains the data objects for GET INKEY proactive command indication.
71 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
72 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
73 TelSatTextTypeInfo_t text; /**< display text info */
74 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
75 TelSatDurationInfo_t duration; /**< duration for which text should be displayed */
76 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
77 } TelSatGetInkeyIndInfo_t;
80 * This structure contains the data objects for GET INPUT proactive command indication.
83 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
84 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
85 TelSatTextTypeInfo_t text; /**< display text info */
86 TelSatRespLenInfo_t respLen; /**< input response length */
87 TelSatTextTypeInfo_t defaultText; /**< default text info */
88 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
89 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
90 } TelSatGetInputIndInfo_t;
93 * This structure contains the data objects for PLAY TONE proactive command indication.
96 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
97 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
98 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
99 TelSatToneInfo_t tone; /**< tone info */
100 TelSatDurationInfo_t duration; /**< duration for which tone should be played */
101 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
102 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
103 } TelSatPlayToneIndInfo_t;
106 * This structure contains the data objects for SETUP MENU proactive command indication.
109 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
110 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
111 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
112 unsigned char menuItemCount; /**< count of menu items */
113 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< menu item data */
114 TelSatItemsNextActionIndiListInfo_t itemNextActionIndList; /**< next action indication list */
115 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
116 TelSatIconIdentifierListInfo_t iconIdList; /**< icon identifier list info */
117 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
118 TelSatTextAttributeListInfo_t itemTextAttributeList; /**< item text attribute list */
119 } TelSatSetupMenuIndInfo_t;
122 * This structure contains the data objects for SELECT ITEM proactive command indication data.
125 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
126 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
127 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
128 TelSatItemsNextActionIndiListInfo_t itemNextActionIndList; /**< next action indication list */
129 unsigned char defaultItemIdentifier; /**< default item identifier(default selected item id) */
130 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
131 TelSatIconIdentifierListInfo_t iconIdList; /**< icon identifier list info */
132 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
133 TelSatTextAttributeListInfo_t itemTextAttributeList; /**< item text attribute list */
134 unsigned char menuItemCount; /**< count of menu items */
135 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< menu item data */
136 } TelSatSelectItemIndInfo_t;
139 * This structure contains the data objects for SEND SHORT MESSAGE proactive command indication.
142 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
143 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
144 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
145 TelSatAddressInfo_t address; /**< address for sending sms */
146 TelSatSmsTpduInfo_t smsTpdu; /**< sms tpdu info */
147 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
148 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
149 } TelSatSendSmsIndInfo_t;
152 * This structure contains the data objects for SEND SS proactive command indication.
155 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
156 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
157 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
158 TelSatSsStringInfo_t ssString; /**< ss string */
159 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
160 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
161 } TelSatSendSsIndInfo_t;
164 * This structure contains the data objects for SEND USSD proactive command indication.
167 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
168 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
169 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
170 TelSatUssdStringInfo_t ussdString; /**< ussd string info */
171 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
172 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
173 } TelSatSendUssdIndInfo_t;
176 * This structure contains the data objects for SETUP CALL proactive command indication.
179 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
180 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
181 TelSatAddressInfo_t address; /**< setup call address info*/
182 TelSatCapaConfigParamInfo_t ccp; /**< capability configuration parameter */
183 TelSatSubAddressInfo_t subAddress; /**< setup call sub address */
184 TelSatDurationInfo_t duration; /**< command execution time duration */
185 TelSatAlphaIdentifierInfo_t userConfirmPhaseAlphaId;/**< user Confirmation Phase AlphaId */
186 TelSatAlphaIdentifierInfo_t callSetupPhaseAlphaId; /**< call Setup Phase AlphaId */
187 TelSatIconIdentifierInfo_t userConfirmPhaseIconId; /**< user Confirmation Phase IconId */
188 TelSatIconIdentifierInfo_t callSetupPhaseIconId; /**< call Setup Phase IconId */
189 TelSatTextAttributeInfo_t userConfirmPhaseTextAttribute; /**< user Confirmation Phase Text Attribute */
190 TelSatTextAttributeInfo_t callSetupPhaseTextAttribute; /**< call Setup PhaseText Attribute */
191 } TelSatSetupCallIndInfo_t;
194 * This structure contains the data objects for REFRESH proactive command indication.
197 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
198 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
199 TelSatFileListInfo_t fileList; /**< file list for refresh */
200 TelSatAidInfo_t aid; /**< application Id */
201 } TelSatRefreshIndInfo_t;
204 * This structure contains the data objects for PROVIDE LOCAL INFO proactive command indication.
207 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
208 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
210 } TelSatProvideLocalInfoIndInfo_t;
213 * This structure contains the data objects for SETUP EVENT LIST proactive command indication data.
216 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
217 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
218 TelSatEventListInfo_t eventList; /**< event list contains events which are required by USIM application */
220 } TelSatSetupEventListIndInfo_t;
223 * This structure contains the data objects for SETUP IDLE MODE TEXT proactive command indication.
226 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
227 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
228 TelSatTextTypeInfo_t text; /**< text to be shown on idle screen */
229 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
230 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
231 } TelSatSetupIdleModeTextIndInfo_t;
234 * This structure contains the data objects for SEND DTMF COMMAND proactive command indication.
237 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
238 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
239 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
240 TelSatDtmfStringInfo_t dtmfString; /**< dtmf string */
241 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
242 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
243 } TelSatSendDtmfIndInfo_t;
246 * This structure contains the data objects for LANGUAGE NOTIFICATION proactive command indication.
249 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
250 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
251 TelSatLanguageInfo_t language; /**< language info from USIM application */
252 } TelSatLanguageNotificationIndInfo_t;
255 * This structure contains the data objects for LAUNCH BROWSER proactive command indication.
258 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
259 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
260 TelSatBrowserIdentitiesInfo_t browserId; /**< browser identity */
261 TelSatUrlInfo_t url; /**< url */
262 TelSatBearerInfo_t bearer; /**< bearer which is used by browser */
263 unsigned char provisioningRefCount; /**< provisioning reference count */
264 TelSatProvisioningRefInfo_t provisioningRef[TAPI_SAT_PROVISIONING_REF_MAX_COUNT]; /**< provisioning reference data */
265 TelSatTextTypeInfo_t text; /**< display text info */
266 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
267 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
268 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
269 } TelSatLaunchBrowserIndInfo_t;
272 * This structure contains the data objects for OPEN CHANNEL CSB proactive command indication data.
275 TelSatAddressInfo_t address; /**< channel address */
276 TelSatSubAddressInfo_t subAddress; /**< channel sub address */
277 TelSatDurationInfo_t duration1; /**< connection require time */
278 TelSatDurationInfo_t duration2; /**< connection require time2 */
279 TelSatBearerParametersCsdInfo_t bearerParamsCsd; /**< csd info */
280 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
281 TelSatOtherAddressInfo_t otherAddress; /**< otherAddress */
282 TelSatTextTypeInfo_t userLogin; /**< userLogin */
283 TelSatTextTypeInfo_t userPassword; /**< userPassword */
284 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< simMeInterfaceTransportLevel */
285 TelSatOtherAddressInfo_t dataDestinationAddress; /**< dataDestinationAddress */
286 } TelSatOpenChannelCsbInfo_t;
289 * This structure contains the data objects for OPEN CHANNEL (packet) proactive command indication data.
292 TelSatBearerParametersGprsInfo_t bearerParamsGprs; /**< gprs info */
293 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
294 TelSatnetworkAccessNameInfo_t networkAccessName; /**< networkAccessName */
295 TelSatOtherAddressInfo_t otherAddress; /**< otherAddress */
296 TelSatTextTypeInfo_t userLogin; /**< userLogin */
297 TelSatTextTypeInfo_t userPassword; /**< userPassword */
298 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< simMeInterfaceTransportLevel */
299 TelSatOtherAddressInfo_t dataDestinationAddress; /**< dataDestinationAddress */
300 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
301 } TelSatOpenChannelpdbInfo_t;
304 * This structure contains the data objects for OPEN CHANNEL LOCAL LINK proactive command indication data.
307 TelSatDurationInfo_t duration1; /**< command execution time duration1 */
308 TelSatDurationInfo_t duration2; /**< command execution time duration2 */
309 TelSatBearerParametersLocalLinksInfo_t bearerParamsLocalLinks; /**< local link info */
310 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
311 TelSatTextTypeInfo_t userPassword; /**< userPassword */
312 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< simMeInterfaceTransportLevel */
313 TelSatOtherAddressInfo_t dataDestinationAddress; /**< dataDestinationAddress */
314 TelSatRemoteEntityAddressInfo_t remoteEntityAddress; /**< remoteEntityAddress */
315 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
316 } TelSatOpenChannelLocalBearerInfo_t;
319 * This structure contains the data objects for OPEN CHANNEL (DEFAULT BEARER) proactive command indication data.
322 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
323 TelSatOtherAddressInfo_t otherAddress; /**< otherAddress */
324 TelSatTextTypeInfo_t userLogin; /**< userLogin */
325 TelSatTextTypeInfo_t userPassword; /**< userPassword */
326 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel;/**< simMeInterfaceTransportLevel */
327 TelSatOtherAddressInfo_t dataDestinationAddress; /**< dataDestinationAddress */
328 } TelSatOpenChannelDefaultBearerInfo_t;
331 * This structure contains the data objects for OPEN CHANNEL (UICC Server Mode) proactive command indication data.
334 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
335 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< simMeInterfaceTransportLevel */
336 } TelSatOpenChannelUiccServerModeInfo_t;
339 * This structure contains the data objects for OPEN CHANNEL proactive command indication data.
342 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
343 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
344 int bIsUiccServerMode; /**< flag whether UICC server mode or not */
345 TelSatBearerDescType_t bearerType; /**< bearer destination type */
346 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
347 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
349 TelSatOpenChannelCsbInfo_t csBearer; /**< cs info */
350 TelSatOpenChannelpdbInfo_t pdBearer; /**< pbd info */
351 TelSatOpenChannelLocalBearerInfo_t locBearer; /**< local link info */
352 TelSatOpenChannelDefaultBearerInfo_t defaultBearer; /**< defaultBearer */
353 TelSatOpenChannelUiccServerModeInfo_t uiccServerMode; /**< uiccServerMode */
354 } details; /**< Open Channel Details */
355 } TelSatOpenChannelIndInfo_t;
358 * This structure contains the data objects for CLOSE CHANNEL proactive command indication data.
361 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
362 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
363 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
364 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
365 TelSatTextAttributeInfo_t textAttribute; /**< text attribute info -e.g. bold, center align */
366 } TelSatCloseChannelIndInfo_t;
369 * This structure contains the data objects for RECEIVE DATA proactive command indication data.
372 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
373 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
374 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
375 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
376 TelSatChannelDataLengthInfo_t channelDataLen; /**< channel data length */
377 } TelSatReceiveDataIndInfo_t;
380 * This structure contains the data objects for SEND DATA proactive command indication data.
383 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
384 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
385 TelSatAlphaIdentifierInfo_t alphaId; /**< alpha identifier(string) info */
386 TelSatIconIdentifierInfo_t iconId; /**< icon identifier info */
387 TelSatChannelDataInfo_t channel_data; /**< channel data for sending */
388 } TelSatSendDataIndInfo_t;
391 * This structure contains the data objects for GET CHANNEL STATUS proactive command indication data.
394 TelSatCommandDetailInfo_t commandDetail; /**< command detail info. includes command number, type, qualifier */
395 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< device identities info. includes source and destination devices */
396 } TelSatGetChannelStatusIndInfo_t;
399 * This structure contains the data object for END PROACTIVE SESSION command indication.
402 TelSatCommandType_t commandType; /**< proactive command type */
403 } TelSatEndProactiveSessionIndInfo_t;
406 * This structure contains the data objects for PROACTIVE command indication union data.
410 TelSatMoreTimeIndInfo_t moreTime;
411 TelSatDisplayTextIndInfo_t displayText; /**< Parsed proactive command info from TLV to Telephony data type - display text */
412 TelSatGetInkeyIndInfo_t getInkey; /**< Parsed proactive command info from TLV to Telephony data type - getInkey */
413 TelSatGetInputIndInfo_t getInput; /**< Parsed proactive command info from TLV to Telephony data type - getInput */
414 TelSatPlayToneIndInfo_t playTone; /**< Parsed proactive command info from TLV to Telephony data type - play tone */
415 TelSatSetupMenuIndInfo_t setupMenu; /**< Parsed proactive command info from TLV to Telephony data type - setup menu */
416 TelSatSelectItemIndInfo_t selectItem; /**< Parsed proactive command info from TLV to Telephony data type - select item */
417 TelSatSendSmsIndInfo_t sendSms; /**< Parsed proactive command info from TLV to Telephony data type - send sms */
418 TelSatSendSsIndInfo_t sendSs; /**< Parsed proactive command info from TLV to Telephony data type - send ss */
419 TelSatSendUssdIndInfo_t sendUssd; /**< Parsed proactive command info from TLV to Telephony data type - send ussd */
420 TelSatSetupCallIndInfo_t setupCall; /**< Parsed proactive command info from TLV to Telephony data type - setup call */
421 TelSatRefreshIndInfo_t refresh; /**< Parsed proactive command info from TLV to Telephony data type - refresh */
422 TelSatProvideLocalInfoIndInfo_t provideLocInfo; /**< Parsed proactive command info from TLV to Telephony data type - provide local info */
423 TelSatLaunchBrowserIndInfo_t launchBrowser; /**< Parsed proactive command info from TLV to Telephony data type - launch browser */
424 TelSatSetupIdleModeTextIndInfo_t idleText; /**< Parsed proactive command info from TLV to Telephony data type - setup idle mode text */
425 TelSatSendDtmfIndInfo_t sendDtmf; /**< Parsed proactive command info from TLV to Telephony data type - send dtmf */
426 TelSatLanguageNotificationIndInfo_t languageNotification;/**< Parsed proactive command info from TLV to Telephony data type - language notification */
427 TelSatSetupEventListIndInfo_t setupEventList; /**< Parsed proactive command info from TLV to Telephony data type - setup event list */
428 TelSatOpenChannelIndInfo_t openChannel; /**< Parsed proactive command info from TLV to Telephony data type - open channel */
429 TelSatCloseChannelIndInfo_t closeChannel; /**< Parsed proactive command info from TLV to Telephony data type - close channel */
430 TelSatReceiveDataIndInfo_t receiveData; /**< Parsed proactive command info from TLV to Telephony data type - receive data */
431 TelSatSendDataIndInfo_t sendData; /**< Parsed proactive command info from TLV to Telephony data type - send data */
432 TelSatGetChannelStatusIndInfo_t getChannelStatus; /**< Parsed proactive command info from TLV to Telephony data type - get channel status */
433 } cmdInfo; /**< Union */
434 } TelSatProactiveCmdData_t;
437 * This structure contains the data objects for the Terminal Response of DISPLAY TEXT proactive command.
440 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
441 } TelSatDisplayTextRespInfo_t;
444 * This structure contains the data objects for the Terminal Response of GET INKEY proactive command.
447 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
448 TelSatTextTypeInfo_t text; /**< inserted key info */
449 TelSatDurationInfo_t duration;
450 } TelSatGetInkeyRespInfo_t;
453 * This structure contains the data objects for the Terminal Response of PLAY TONE proactive command.
456 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
457 } TelSatPlayToneRespInfo_t;
460 * This structure contains the data objects for the Terminal Response of MORE TIME proactive command.
463 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
464 } TelSatMoreTimeRespInfo_t;
467 * This structure contains the data objects for the Terminal Response of SETUP MENU proactive command.
470 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
471 } TelSatSetupMenuRespInfo_t;
474 * This structure contains the data objects for the Terminal Response of GET INPUT proactive command.
477 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
478 TelSatTextTypeInfo_t text; /**< inserted string info */
479 } TelSatGetInputRespInfo_t;
482 * This structure contains the data objects for the Terminal Response of SELECT ITEM proactive command.
485 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
486 int bOtherInfo; /**< flag to check whether other information is required or not */
487 unsigned char itemIdentifier; /**< item identifier */
488 } TelSatSelectItemRespInfo_t;
491 * This structure contains the data objects for the Terminal Response of PROVIDE LOCAL INFORMATION proactive command.
494 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
495 int bOtherInfo; /**< flag to check whether other information is required or not */
496 TelSatCmdQualiProvideLocalInfo_t infoType; /**< local info type - e.g. time zone or language info, etc */
498 TelSatDataTimeZoneInfo_t timeZoneInfo; /**< current time zone info */
499 TelSatLanguageInfo_t languageInfo; /**< current ME language setting info */
501 } TelSatProvideLocalInfoRespInfo_t;
504 * This structure contains the data objects for the Terminal Response of SETUP EVENT LIST proactive command.
507 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
508 } TelSatSetupEventListRespInfo_t;
511 * This structure contains the data objects for the Terminal Response of SEND SMS proactive command.
514 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
515 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< call control problem */
516 } TelSatSendSmsRespInfo_t;
519 * This structure contains the data objects for the Terminal Response of SET UP CALL proactive command.
522 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
523 int bOtherInfo; /**< flag to check whether other information are required or not */
524 TelSatNetworkProblemType_t networkProblem; /**< network problem during setup call */
525 TelSatCallCtrlProblemType_t permanentCallCtrlProblem; /**< permanent call control problem */
526 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< call control requested action info */
527 TelSatResultInfo_t result2; /**< additional response on general result */
528 TelSatTextTypeInfo_t text; /**< text string info */
529 int bIsTapiCause; /**< flag to check whether tapi makes problem or not */
530 unsigned long tapiCause; /**< tapi call level cause */
531 unsigned long tapiSsCause; /**< tapi ss level cause */
532 } TelSatSetupCallRespInfo_t;
535 * This structure contains the data objects for the Terminal Response of SEND SS proactive command.
538 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
539 int bOtherInfo; /**< flag to check whether whether other information is required or not */
540 TelSatSsProblemType_t additionalSsProblemInfo; /**< additional ss problem */
541 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< additional call control problem */
542 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< call control requested action info */
543 TelSatResultInfo_t result2; /**< additional response on general result */
544 TelSatTextTypeInfo_t text; /**< text string info */
545 } TelSatSendSsRespInfo_t;
548 * This structure contains the data objects for the Terminal Response of SEND USSD proactive command.
551 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
552 int bOtherInfo; /**< flag to check whether other information is required or not */
553 TelSatUssdProblemType_t additionalUssdProblemInfo; /**< additional ussd problem */
554 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< additional call control problem */
555 int bCallCtrlHasModification; /**< flag to check whether modification happens during call control */
556 TelSatTextTypeInfo_t text; /**< text string info */
557 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< call control requested action info */
558 TelSatResultInfo_t result2; /**< additional response on general result */
559 TelSatTextTypeInfo_t text2; /**< text string info */
560 } TelSatSendUssdRespInfo_t;
563 * This structure contains the data objects for the Terminal Response of REFRESH proactive command.
566 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
567 } TelSatRefreshRespInfo_t;
570 * This structure contains the data objects for the Terminal Response of GET CHANNEL STATUS proactive command.
573 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
574 int bOtherInfo; /**< flag whether other information are required or not */
575 TelSatBipProblemType_t additionalProblemInfo; /**< bip specific problem info */
576 TelSatChannelStatusInfo_t channelStatus; /**< channel Status */
577 } TelSatGetChannelStatusRespInfo_t;
580 * This structure contains the data objects for the Terminal Response of CLOSE CHANNEL proactive command.
583 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
584 TelSatBipProblemType_t additionalProblemInfo; /**< bip specific problem info */
585 } TelSatCloseChannelRespInfo_t;
588 * This structure contains the data objects for the Terminal Response of OPEN CHANNEL proactive command.
591 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
592 int bOtherInfo; /**< flag whether other information are required or not */
593 TelSatBearerDescriptionInfo_t bearerDescription; /**< bearerDescription */
594 TelSatBipProblemType_t additionalProblemInfo; /**< bip specific problem info */
595 TelSatChannelStatusInfo_t channelStatus; /**< channelStatus */
596 TelSatBufferSizeInfo_t bufferSize; /**< bufferSize */
597 } TelSatOpenChannelRespInfo_t;
600 * This structure contains the data objects for the Terminal Response of LANGAUGE NOTIFICATION proactive command.
603 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
604 } TelSatLanguageNotificationRespInfo_t;
607 * This structure contains the data objects for the Terminal Response of LAUNCH BROWSER proactive command.
610 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
611 TelSatLaunchBrowserProblemType_t additionalProblemInfo; /**< browser specific problem info */
612 } TelSatLaunchBrowserRespInfo_t;
615 * This structure contains the data objects for the Terminal Response of RECEIVE DATA proactive command.
618 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
619 TelSatBipProblemType_t additionalProblemInfo; /**< bip specific problem info */
620 int bOtherInfo; /**< flag whether other information are required or not */
621 TelSatChannelDataInfo_t channel_data; /**< channel data */
622 unsigned char channelDataLen; /**< channel data length */
623 } TelSatReceiveDataRespInfo_t;
626 * This structure contains the data objects for the Terminal Response of SEND DATA proactive command.
629 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
630 TelSatBipProblemType_t additionalProblemInfo; /**< bip specific problem info */
631 unsigned char channelDataLen; /**< channel data length */
632 } TelSatSendDataRespInfo_t;
635 * This structure contains the data objects for the Terminal Response of SETUP IDLE MODE TEXT proactive command.
638 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
639 } TelSatSetupIdlemodeTextRespInfo_t;
642 * This structure contains the data objects for the Terminal Response of SEND DTMF proactive command.
645 TelSatResultInfo_t result; /**< result whether current proactive command request was executed successfully or not */
646 } TelSatSendDtmfRespInfo_t;
649 * This contains the data structures to be used to send proactive command response.
652 unsigned char commandNumber; /**< proactive command number */
653 TelSatCommandType_t commandType; /**< proactive command type */
655 TelSatMoreTimeRespInfo_t moreTime;
656 TelSatDisplayTextRespInfo_t displayText; /**< terminal response info from displayText proactive command */
657 TelSatGetInkeyRespInfo_t getInkey; /**< terminal response info from getInkey proactive command */
658 TelSatGetInputRespInfo_t getInput; /**< terminal response info from getInput proactive command */
659 TelSatPlayToneRespInfo_t playTone; /**< terminal response info from playTone proactive command */
660 TelSatSetupMenuRespInfo_t setupMenu; /**< terminal response info from setupMenu proactive command */
661 TelSatSelectItemRespInfo_t selectItem; /**< terminal response info from selectItem proactive command */
662 TelSatSendSmsRespInfo_t sendSms; /**< terminal response info from sendSms proactive command */
663 TelSatSendSsRespInfo_t sendSs; /**< terminal response info from sendSs proactive command */
664 TelSatSendUssdRespInfo_t sendUssd; /**< terminal response info from sendUssd proactive command */
665 TelSatSetupCallRespInfo_t setupCall; /**< terminal response info from setupCall proactive command */
666 TelSatRefreshRespInfo_t refresh; /**< terminal response info from refresh proactive command */
667 TelSatProvideLocalInfoRespInfo_t provideLocInfo; /**< terminal response info from provide Local Info proactive command */
668 TelSatLaunchBrowserRespInfo_t launchBrowser; /**< terminal response info from launch Browser proactive command */
669 TelSatSetupIdlemodeTextRespInfo_t idleText; /**< terminal response info from setup idle mode text proactive command */
670 TelSatSendDtmfRespInfo_t sendDtmf; /**< terminal response info from send Dtmf proactive command */
671 TelSatLanguageNotificationRespInfo_t languageNotification; /**< terminal response info from language Notification proactive command */
672 TelSatSetupEventListRespInfo_t setupEventList; /**< terminal response info from setup Event List proactive command */
673 TelSatOpenChannelRespInfo_t openChannel; /**< terminal response info from openChannel proactive command */
674 } terminalRespInfo; /**< Union */
682 unsigned char iconId;
683 unsigned char imgType;
684 unsigned char imgLen;
685 unsigned char imgData[256];
686 } TelSatIconDataResp_t;
689 unsigned char iconId;
690 unsigned char imgType;
691 unsigned char fileId[2];
692 unsigned char reqDataLen[2];
693 unsigned char offset[2];
694 } TelsatIconDataGet_t;
700 #endif /* _TEL_SAT_PROACTV_CMD_H_ */