4 * Copyright (c) 2014 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.
22 * @file TelSatProactvCmd.h
27 * @addtogroup CAPI_TELEPHONY_SERVICE_SAT
31 #ifndef _TEL_SAT_PROACTV_CMD_H_
32 #define _TEL_SAT_PROACTV_CMD_H_
34 #include <TelSatObj.h>
42 * @brief Definition for the max count of SAT menu items.
45 #define TAPI_SAT_MENU_ITEM_COUNT_MAX 40
47 * @brief Definition for the max count of SAT provisioning reference.
50 #define TAPI_SAT_PROVISIONING_REF_MAX_COUNT 10
53 * @brief The structure type containing the data objects for DISPLAY TEXT proactive command indication.
57 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
58 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
59 } TelSatMoreTimeIndInfo_t;
62 * @brief The structure type containing the data objects for DISPLAY TEXT proactive command indication.
66 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
67 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
68 TelSatTextTypeInfo_t text; /**< Display text info */
69 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
70 int bImmediateRespRequested; /**< Flag for checking whether immediate response is required */
71 TelSatDurationInfo_t duration; /**< Duration for which text should be displayed */
72 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align, and so on */
73 } TelSatDisplayTextIndInfo_t;
76 * @brief The structure type containing the data objects for GET INKEY proactive command indication.
80 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
81 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
82 TelSatTextTypeInfo_t text; /**< Display text info */
83 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
84 TelSatDurationInfo_t duration; /**< Duration for which text should be displayed */
85 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
86 } TelSatGetInkeyIndInfo_t;
89 * @brief The structure type containing the data objects for GET INPUT proactive command indication.
93 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
94 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
95 TelSatTextTypeInfo_t text; /**< Display text info */
96 TelSatRespLenInfo_t respLen; /**< Input response length */
97 TelSatTextTypeInfo_t defaultText; /**< Default text info */
98 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
99 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
100 } TelSatGetInputIndInfo_t;
103 * @brief The structure type containing the data objects for PLAY TONE proactive command indication.
107 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
108 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
109 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
110 TelSatToneInfo_t tone; /**< Tone info */
111 TelSatDurationInfo_t duration; /**< Duration for which tone should be played */
112 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
113 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
114 } TelSatPlayToneIndInfo_t;
117 * @brief The structure type containing the data objects for SETUP MENU proactive command indication.
121 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
122 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
123 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
124 unsigned char menuItemCount; /**< Count of menu items */
125 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< Menu item data */
126 TelSatItemsNextActionIndiListInfo_t itemNextActionIndList; /**< Next action indication list */
127 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
128 TelSatIconIdentifierListInfo_t iconIdList; /**< Icon identifier list info */
129 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
130 TelSatTextAttributeListInfo_t itemTextAttributeList; /**< Item text attribute list */
131 } TelSatSetupMenuIndInfo_t;
134 * @brief The structure type containing the data objects for SELECT ITEM proactive command indication data.
138 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
139 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
140 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
141 TelSatItemsNextActionIndiListInfo_t itemNextActionIndList; /**< Next action indication list */
142 unsigned char defaultItemIdentifier; /**< Default item identifier(default selected item ID) */
143 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
144 TelSatIconIdentifierListInfo_t iconIdList; /**< Icon identifier list info */
145 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
146 TelSatTextAttributeListInfo_t itemTextAttributeList; /**< Item text attribute list */
147 unsigned char menuItemCount; /**< Count of menu items */
148 TelSatMenuItemInfo_t menuItem[TAPI_SAT_MENU_ITEM_COUNT_MAX]; /**< Menu item data */
149 } TelSatSelectItemIndInfo_t;
152 * @brief The structure type containing the data objects for SEND SHORT MESSAGE proactive command indication.
156 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
157 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
158 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
159 TelSatAddressInfo_t address; /**< Address for sending SMS */
160 TelSatSmsTpduInfo_t smsTpdu; /**< SMS TPDU info */
161 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
162 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
163 } TelSatSendSmsIndInfo_t;
166 * @brief The structure type containing the data objects for SEND SS proactive command indication.
170 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
171 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
172 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
173 TelSatSsStringInfo_t ssString; /**< SS string */
174 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
175 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
176 } TelSatSendSsIndInfo_t;
179 * @brief The structure type containing the data objects for SEND USSD proactive command indication.
183 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
184 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
185 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
186 TelSatUssdStringInfo_t ussdString; /**< USSD string info */
187 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
188 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
189 } TelSatSendUssdIndInfo_t;
192 * @brief The structure type containing the data objects for SETUP CALL proactive command indication.
196 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
197 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
198 TelSatAddressInfo_t address; /**< Setup call address info */
199 TelSatCapaConfigParamInfo_t ccp; /**< Capability configuration parameter */
200 TelSatSubAddressInfo_t subAddress; /**< Setup call sub address */
201 TelSatDurationInfo_t duration; /**< Command execution time duration */
202 TelSatAlphaIdentifierInfo_t userConfirmPhaseAlphaId;/**< User Confirmation Phase Alpha ID */
203 TelSatAlphaIdentifierInfo_t callSetupPhaseAlphaId; /**< Call Setup Phase Alpha ID */
204 TelSatIconIdentifierInfo_t userConfirmPhaseIconId; /**< User Confirmation Phase Icon ID */
205 TelSatIconIdentifierInfo_t callSetupPhaseIconId; /**< Call Setup Phase Icon ID */
206 TelSatTextAttributeInfo_t userConfirmPhaseTextAttribute; /**< User Confirmation Phase Text Attribute */
207 TelSatTextAttributeInfo_t callSetupPhaseTextAttribute; /**< Call Setup Phase Text Attribute */
208 } TelSatSetupCallIndInfo_t;
211 * @brief The structure type containing the data objects for REFRESH proactive command indication.
215 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
216 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
217 TelSatFileListInfo_t fileList; /**< File list for refresh */
218 TelSatAidInfo_t aid; /**< Application ID */
219 } TelSatRefreshIndInfo_t;
222 * @brief The structure type containing the data objects for PROVIDE LOCAL INFO proactive command indication.
226 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
227 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
229 } TelSatProvideLocalInfoIndInfo_t;
232 * @brief The structure type containing the data objects for SETUP EVENT LIST proactive command indication data.
236 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
237 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
238 TelSatEventListInfo_t eventList; /**< Event list structure type containing events which are required by the USIM application */
240 } TelSatSetupEventListIndInfo_t;
243 * @brief The structure type containing the data objects for SETUP IDLE MODE TEXT proactive command indication.
247 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
248 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
249 TelSatTextTypeInfo_t text; /**< Text to be shown on an idle screen */
250 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
251 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
252 } TelSatSetupIdleModeTextIndInfo_t;
255 * @brief The structure type containing the data objects for SEND DTMF COMMAND proactive command indication.
259 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
260 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
261 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
262 TelSatDtmfStringInfo_t dtmfString; /**< DTMF string */
263 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
264 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
265 } TelSatSendDtmfIndInfo_t;
268 * @brief The structure type containing the data objects for LANGUAGE NOTIFICATION proactive command indication.
272 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
273 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
274 TelSatLanguageInfo_t language; /**< Language info from the USIM application */
275 } TelSatLanguageNotificationIndInfo_t;
278 * @brief The structure type containing the data objects for LAUNCH BROWSER proactive command indication.
282 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. it includes command number, type, and qualifier */
283 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
284 TelSatBrowserIdentitiesInfo_t browserId; /**< Browser identity */
285 TelSatUrlInfo_t url; /**< URL */
286 TelSatBearerInfo_t bearer; /**< Bearer which is used by the browser */
287 unsigned char provisioningRefCount; /**< Provisioning reference count */
288 TelSatProvisioningRefInfo_t provisioningRef[TAPI_SAT_PROVISIONING_REF_MAX_COUNT]; /**< Provisioning reference data */
289 TelSatTextTypeInfo_t text; /**< Display text info */
290 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
291 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
292 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
293 } TelSatLaunchBrowserIndInfo_t;
296 * @brief The structure type containing the data objects for OPEN CHANNEL CSB proactive command indication data.
300 TelSatAddressInfo_t address; /**< Channel address */
301 TelSatSubAddressInfo_t subAddress; /**< Channel sub address */
302 TelSatDurationInfo_t duration1; /**< Connection require time */
303 TelSatDurationInfo_t duration2; /**< Connection require time 2 */
304 TelSatBearerParametersCsdInfo_t bearerParamsCsd; /**< CSD info */
305 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
306 TelSatOtherAddressInfo_t otherAddress; /**< Other address */
307 TelSatTextTypeInfo_t userLogin; /**< User login */
308 TelSatTextTypeInfo_t userPassword; /**< User password */
309 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< SIM ME interface transport level */
310 TelSatOtherAddressInfo_t dataDestinationAddress; /**< Data destination address */
311 } TelSatOpenChannelCsbInfo_t;
314 * @brief The structure type containing the data objects for OPEN CHANNEL (packet) proactive command indication data.
318 TelSatBearerParametersGprsInfo_t bearerParamsGprs; /**< GPRS info */
319 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
320 TelSatnetworkAccessNameInfo_t networkAccessName; /**< Network access name */
321 TelSatOtherAddressInfo_t otherAddress; /**< Other address */
322 TelSatTextTypeInfo_t userLogin; /**< User login */
323 TelSatTextTypeInfo_t userPassword; /**< User password */
324 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< SIM ME interface transport level */
325 TelSatOtherAddressInfo_t dataDestinationAddress; /**< Data destination address */
326 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
327 } TelSatOpenChannelpdbInfo_t;
330 * @brief The structure type containing the data objects for OPEN CHANNEL LOCAL LINK proactive command indication data.
334 TelSatDurationInfo_t duration1; /**< Command execution time duration1 */
335 TelSatDurationInfo_t duration2; /**< Command execution time duration2 */
336 TelSatBearerParametersLocalLinksInfo_t bearerParamsLocalLinks; /**< Local link info */
337 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
338 TelSatTextTypeInfo_t userPassword; /**< User password */
339 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< SIM ME interface transport level */
340 TelSatOtherAddressInfo_t dataDestinationAddress; /**< Data destination address */
341 TelSatRemoteEntityAddressInfo_t remoteEntityAddress; /**< Remote entity address */
342 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
343 } TelSatOpenChannelLocalBearerInfo_t;
346 * @brief The structure type containing the data objects for OPEN CHANNEL (DEFAULT BEARER) proactive command indication data.
350 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
351 TelSatOtherAddressInfo_t otherAddress; /**< Other address */
352 TelSatTextTypeInfo_t userLogin; /**< User login */
353 TelSatTextTypeInfo_t userPassword; /**< User password */
354 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel;/**< SIM ME interface transport level */
355 TelSatOtherAddressInfo_t dataDestinationAddress; /**< Data destination address */
356 } TelSatOpenChannelDefaultBearerInfo_t;
359 * @brief The structure type containing the data objects for OPEN CHANNEL (UICC Server Mode) proactive command indication data.
363 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
364 TelSatSimMeInterfaceTransportLevelInfo_t simMeInterfaceTransportLevel; /**< SIM ME interface transport level */
365 } TelSatOpenChannelUiccServerModeInfo_t;
368 * @brief The structure type containing the data objects for OPEN CHANNEL proactive command indication data.
372 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
373 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
374 int bIsUiccServerMode; /**< Flag that indicates whether UICC server mode is active */
375 TelSatBearerDescType_t bearerType; /**< Bearer destination type */
376 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
377 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
379 TelSatOpenChannelCsbInfo_t csBearer; /**< CS info */
380 TelSatOpenChannelpdbInfo_t pdBearer; /**< PBD info */
381 TelSatOpenChannelLocalBearerInfo_t locBearer; /**< Local link info */
382 TelSatOpenChannelDefaultBearerInfo_t defaultBearer; /**< Default bearer */
383 TelSatOpenChannelUiccServerModeInfo_t uiccServerMode; /**< UICC server mode */
384 } details; /**< Open Channel Details */
385 } TelSatOpenChannelIndInfo_t;
388 * @brief The structure type containing the data objects for CLOSE CHANNEL proactive command indication data.
392 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
393 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
394 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
395 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
396 TelSatTextAttributeInfo_t textAttribute; /**< Text attribute info - e.g. bold, center align */
397 } TelSatCloseChannelIndInfo_t;
400 * @brief The structure type containing the data objects for RECEIVE DATA proactive command indication data.
404 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
405 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
406 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
407 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
408 TelSatChannelDataLengthInfo_t channelDataLen; /**< Channel data length */
409 } TelSatReceiveDataIndInfo_t;
412 * @brief The structure type containing the data objects for SEND DATA proactive command indication data.
416 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
417 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
418 TelSatAlphaIdentifierInfo_t alphaId; /**< Alpha identifier(string) info */
419 TelSatIconIdentifierInfo_t iconId; /**< Icon identifier info */
420 TelSatChannelDataInfo_t channel_data; /**< Channel data for sending */
421 } TelSatSendDataIndInfo_t;
424 * @brief The structure type containing the data objects for GET CHANNEL STATUS proactive command indication data.
428 TelSatCommandDetailInfo_t commandDetail; /**< Command detail info. It includes command number, type, and qualifier */
429 TelSatDeviceIdentitiesInfo_t deviceIdentities; /**< Device identities info. It includes source and destination devices */
430 } TelSatGetChannelStatusIndInfo_t;
433 * @brief The structure type containing the data object for END PROACTIVE SESSION command indication.
437 TelSatCommandType_t commandType; /**< proactive command type */
438 } TelSatEndProactiveSessionIndInfo_t;
441 * @brief The structure type containing the data objects for PROACTIVE command indication union data.
446 TelSatMoreTimeIndInfo_t moreTime; /**< TBD */
447 TelSatDisplayTextIndInfo_t displayText; /**< Parsed proactive command info from TLV to Telephony data type - display text */
448 TelSatGetInkeyIndInfo_t getInkey; /**< Parsed proactive command info from TLV to Telephony data type - getInkey */
449 TelSatGetInputIndInfo_t getInput; /**< Parsed proactive command info from TLV to Telephony data type - getInput */
450 TelSatPlayToneIndInfo_t playTone; /**< Parsed proactive command info from TLV to Telephony data type - play tone */
451 TelSatSetupMenuIndInfo_t setupMenu; /**< Parsed proactive command info from TLV to Telephony data type - setup menu */
452 TelSatSelectItemIndInfo_t selectItem; /**< Parsed proactive command info from TLV to Telephony data type - select item */
453 TelSatSendSmsIndInfo_t sendSms; /**< Parsed proactive command info from TLV to Telephony data type - send SMS */
454 TelSatSendSsIndInfo_t sendSs; /**< Parsed proactive command info from TLV to Telephony data type - send SS */
455 TelSatSendUssdIndInfo_t sendUssd; /**< Parsed proactive command info from TLV to Telephony data type - send USSD */
456 TelSatSetupCallIndInfo_t setupCall; /**< Parsed proactive command info from TLV to Telephony data type - setup call */
457 TelSatRefreshIndInfo_t refresh; /**< Parsed proactive command info from TLV to Telephony data type - refresh */
458 TelSatProvideLocalInfoIndInfo_t provideLocInfo; /**< Parsed proactive command info from TLV to Telephony data type - provide local info */
459 TelSatLaunchBrowserIndInfo_t launchBrowser; /**< Parsed proactive command info from TLV to Telephony data type - launch browser */
460 TelSatSetupIdleModeTextIndInfo_t idleText; /**< Parsed proactive command info from TLV to Telephony data type - setup idle mode text */
461 TelSatSendDtmfIndInfo_t sendDtmf; /**< Parsed proactive command info from TLV to Telephony data type - send DTMF */
462 TelSatLanguageNotificationIndInfo_t languageNotification;/**< Parsed proactive command info from TLV to Telephony data type - language notification */
463 TelSatSetupEventListIndInfo_t setupEventList; /**< Parsed proactive command info from TLV to Telephony data type - setup event list */
464 TelSatOpenChannelIndInfo_t openChannel; /**< Parsed proactive command info from TLV to Telephony data type - open channel */
465 TelSatCloseChannelIndInfo_t closeChannel; /**< Parsed proactive command info from TLV to Telephony data type - close channel */
466 TelSatReceiveDataIndInfo_t receiveData; /**< Parsed proactive command info from TLV to Telephony data type - receive data */
467 TelSatSendDataIndInfo_t sendData; /**< Parsed proactive command info from TLV to Telephony data type - send data */
468 TelSatGetChannelStatusIndInfo_t getChannelStatus; /**< Parsed proactive command info from TLV to Telephony data type - get channel status */
469 } cmdInfo; /**< Union */
470 } TelSatProactiveCmdData_t;
473 * @brief The structure type containing the data objects for the Terminal Response of the DISPLAY TEXT proactive command.
477 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
478 } TelSatDisplayTextRespInfo_t;
481 * @brief The structure type containing the data objects for the Terminal Response of the GET INKEY proactive command.
485 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
486 TelSatTextTypeInfo_t text; /**< Inserted key info */
487 TelSatDurationInfo_t duration; /**< TBD */
488 } TelSatGetInkeyRespInfo_t;
491 * @brief The structure type containing the data objects for the Terminal Response of the PLAY TONE proactive command.
495 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
496 } TelSatPlayToneRespInfo_t;
499 * @brief The structure type containing the data objects for the Terminal Response of the MORE TIME proactive command.
503 TelSatResultInfo_t result; /**< Result that whether the current proactive command request is executed successfully */
504 } TelSatMoreTimeRespInfo_t;
507 * @brief The structure type containing the data objects for the Terminal Response of the SETUP MENU proactive command.
511 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
512 } TelSatSetupMenuRespInfo_t;
515 * @brief The structure type containing the data objects for the Terminal Response of the GET INPUT proactive command.
519 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
520 TelSatTextTypeInfo_t text; /**< Inserted string info */
521 } TelSatGetInputRespInfo_t;
524 * @brief The structure type containing the data objects for the Terminal Response of the SELECT ITEM proactive command.
528 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
529 int bOtherInfo; /**< Flag to check whether other information is required */
530 unsigned char itemIdentifier; /**< Item identifier */
531 } TelSatSelectItemRespInfo_t;
534 * @brief The structure type containing the data objects for the Terminal Response of the PROVIDE LOCAL INFORMATION proactive command.
538 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
539 int bOtherInfo; /**< Flag to check whether other information is required */
540 TelSatCmdQualiProvideLocalInfo_t infoType; /**< Local info type - e.g. time zone or language info, and so on */
542 TelSatDataTimeZoneInfo_t timeZoneInfo; /**< Current time zone info */
543 TelSatLanguageInfo_t languageInfo; /**< Current ME language setting info */
545 } TelSatProvideLocalInfoRespInfo_t;
548 * @brief The structure type containing the data objects for the Terminal Response of the SETUP EVENT LIST proactive command.
552 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
553 } TelSatSetupEventListRespInfo_t;
556 * @brief The structure type containing the data objects for the Terminal Response of the SEND SMS proactive command.
560 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
561 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< Call control problem */
562 } TelSatSendSmsRespInfo_t;
565 * @brief The structure type containing the data objects for the Terminal Response of the SET UP CALL proactive command.
569 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
570 int bOtherInfo; /**< Flag to check whether other information is required */
571 TelSatNetworkProblemType_t networkProblem; /**< Network problem during setup call */
572 TelSatCallCtrlProblemType_t permanentCallCtrlProblem; /**< Permanent call control problem */
573 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< Call control requested action info */
574 TelSatResultInfo_t result2; /**< Additional response on general result */
575 TelSatTextTypeInfo_t text; /**< Text string info */
576 int bIsTapiCause; /**< Flag to check whether tapi causes problems */
577 unsigned long tapiCause; /**< Tapi call level cause */
578 unsigned long tapiSsCause; /**< Tapi SS level cause */
579 } TelSatSetupCallRespInfo_t;
582 * @brief The structure type containing the data objects for the Terminal Response of the SEND SS proactive command.
586 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
587 int bOtherInfo; /**< Flag to check whether other information is required */
588 TelSatSsProblemType_t additionalSsProblemInfo; /**< Additional SS problem */
589 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< Additional call control problem */
590 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< Call control requested action info */
591 TelSatResultInfo_t result2; /**< Additional response on general result */
592 TelSatTextTypeInfo_t text; /**< Text string info */
593 } TelSatSendSsRespInfo_t;
596 * @brief The structure type containing the data objects for the Terminal Response of the SEND USSD proactive command.
600 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
601 int bOtherInfo; /**< Flag to check whether other information is required */
602 TelSatUssdProblemType_t additionalUssdProblemInfo; /**< Additional USSD problem */
603 TelSatCallCtrlProblemType_t additionalCallCtrlProblemInfo; /**< Additional call control problem */
604 int bCallCtrlHasModification; /**< Flag to check whether modification happens during call control */
605 TelSatTextTypeInfo_t text; /**< Text string info */
606 TelSatCallCtrlRequestedActionInfo_t callCtrlRequestedAction; /**< Call control requested action info */
607 TelSatResultInfo_t result2; /**< Additional response on general result */
608 TelSatTextTypeInfo_t text2; /**< Text string info */
609 } TelSatSendUssdRespInfo_t;
612 * @brief The structure type containing the data objects for the Terminal Response of the REFRESH proactive command.
616 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
617 } TelSatRefreshRespInfo_t;
620 * @brief The structure type containing the data objects for the Terminal Response of the GET CHANNEL STATUS proactive command.
624 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
625 int bOtherInfo; /**< Flag to check whether other information is required */
626 TelSatBipProblemType_t additionalProblemInfo; /**< BIP specific problem info */
627 TelSatChannelStatusInfo_t channelStatus; /**< Channel Status */
628 } TelSatGetChannelStatusRespInfo_t;
631 * @brief The structure type containing the data objects for the Terminal Response of the CLOSE CHANNEL proactive command.
635 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
636 TelSatBipProblemType_t additionalProblemInfo; /**< BIP specific problem info */
637 } TelSatCloseChannelRespInfo_t;
640 * @brief The structure type containing the data objects for the Terminal Response of the OPEN CHANNEL proactive command.
644 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
645 int bOtherInfo; /**< Flag to check whether other information is required */
646 TelSatBearerDescriptionInfo_t bearerDescription; /**< Bearer description */
647 TelSatBipProblemType_t additionalProblemInfo; /**< BIP specific problem info */
648 TelSatChannelStatusInfo_t channelStatus; /**< Channel status */
649 TelSatBufferSizeInfo_t bufferSize; /**< Buffer size */
650 } TelSatOpenChannelRespInfo_t;
653 * @brief The structure type containing the data objects for the Terminal Response of the LANGAUGE NOTIFICATION proactive command.
657 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
658 } TelSatLanguageNotificationRespInfo_t;
661 * @brief The structure type containing the data objects for the Terminal Response of the LAUNCH BROWSER proactive command.
665 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
666 TelSatLaunchBrowserProblemType_t additionalProblemInfo; /**< Browser specific problem info */
667 } TelSatLaunchBrowserRespInfo_t;
670 * @brief The structure type containing the data objects for the Terminal Response of the RECEIVE DATA proactive command.
674 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
675 TelSatBipProblemType_t additionalProblemInfo; /**< BIP specific problem info */
676 int bOtherInfo; /**< Flag to check whether other information is required */
677 TelSatChannelDataInfo_t channel_data; /**< Channel data */
678 unsigned char channelDataLen; /**< Channel data length */
679 } TelSatReceiveDataRespInfo_t;
682 * @brief The structure type containing the data objects for the Terminal Response of the SEND DATA proactive command.
686 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
687 TelSatBipProblemType_t additionalProblemInfo; /**< BIP specific problem info */
688 unsigned char channelDataLen; /**< Channel data length */
689 } TelSatSendDataRespInfo_t;
692 * @brief The structure type containing the data objects for the Terminal Response of the SETUP IDLE MODE TEXT proactive command.
696 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
697 } TelSatSetupIdlemodeTextRespInfo_t;
700 * @brief The structure type containing the data objects for the Terminal Response of the SEND DTMF proactive command.
704 TelSatResultInfo_t result; /**< Result that indicates whether the current proactive command request is executed successfully */
705 } TelSatSendDtmfRespInfo_t;
708 * @brief The structure type containing the data structures to be used to send the proactive command response.
712 unsigned char commandNumber; /**< Proactive command number */
713 TelSatCommandType_t commandType; /**< Proactive command type */
715 TelSatMoreTimeRespInfo_t moreTime; /**< TBD */
716 TelSatDisplayTextRespInfo_t displayText; /**< Terminal response info from the displayText proactive command */
717 TelSatGetInkeyRespInfo_t getInkey; /**< Terminal response info from the getInkey proactive command */
718 TelSatGetInputRespInfo_t getInput; /**< Terminal response info from the getInput proactive command */
719 TelSatPlayToneRespInfo_t playTone; /**< Terminal response info from the playTone proactive command */
720 TelSatSetupMenuRespInfo_t setupMenu; /**< Terminal response info from the setupMenu proactive command */
721 TelSatSelectItemRespInfo_t selectItem; /**< Terminal response info from the selectItem proactive command */
722 TelSatSendSmsRespInfo_t sendSms; /**< Terminal response info from the sendSms proactive command */
723 TelSatSendSsRespInfo_t sendSs; /**< Terminal response info from the sendSs proactive command */
724 TelSatSendUssdRespInfo_t sendUssd; /**< Terminal response info from the sendUssd proactive command */
725 TelSatSetupCallRespInfo_t setupCall; /**< Terminal response info from the setupCall proactive command */
726 TelSatRefreshRespInfo_t refresh; /**< Terminal response info from the refresh proactive command */
727 TelSatProvideLocalInfoRespInfo_t provideLocInfo; /**< Terminal response info from the provide Local Info proactive command */
728 TelSatLaunchBrowserRespInfo_t launchBrowser; /**< Terminal response info from the launch Browser proactive command */
729 TelSatSetupIdlemodeTextRespInfo_t idleText; /**< Terminal response info from the setup idle mode text proactive command */
730 TelSatSendDtmfRespInfo_t sendDtmf; /**< Terminal response info from the send DTMF proactive command */
731 TelSatLanguageNotificationRespInfo_t languageNotification; /**< Terminal response info from the language Notification proactive command */
732 TelSatSetupEventListRespInfo_t setupEventList; /**< Terminal response info from the setup Event List proactive command */
733 TelSatOpenChannelRespInfo_t openChannel; /**< Terminal response info from the openChannel proactive command */
734 } terminalRespInfo; /**< Union */
742 unsigned char iconId; /**< TBD */
743 unsigned char imgType; /**< TBD */
744 unsigned char imgLen; /**< TBD */
745 unsigned char imgData[256]; /**< TBD */
746 } TelSatIconDataResp_t;
749 unsigned char iconId; /**< TBD */
750 unsigned char imgType; /**< TBD */
751 unsigned char fileId[2]; /**< TBD */
752 unsigned char reqDataLen[2]; /**< TBD */
753 unsigned char offset[2]; /**< TBD */
754 } TelsatIconDataGet_t;
760 #endif /* _TEL_SAT_PROACTV_CMD_H_ */