telephonyserverplugins/simtsy/inc/CSimSat.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This file contains the definitions of the Simulator TSY Sat functionality.  
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalAll
       
    21 */
       
    22 
       
    23 #ifndef __CSIMSAT_H__
       
    24 #define __CSIMSAT_H__
       
    25 
       
    26 #include <et_phone.h>
       
    27 #include <testconfigfileparser.h>
       
    28 #include "csimtimer.h"
       
    29 #include "utils.h"
       
    30 #include <etelsat.h>
       
    31 
       
    32 #define SIMTSY_MMMESSAGE_ADD_INFO_1		_L("KNoSpecificMeProblem")
       
    33 #define SIMTSY_MMMESSAGE_ADD_INFO_2		_L("KScreenBusy")
       
    34 #define SIMTSY_SET_FRMS_ADD_INFO_1		_L("KRequestSizeNotSupported")
       
    35 #define SIMTSY_PRV_LCLINFO_ADD_INFO_1		_L("KNoService")
       
    36 #define SIMTSY_SEND_USSD_ADD_INFO		_L("KMeBusyOnUssd")
       
    37 #define SIMTSY_SEND_USSD_ADD_INFO_1		_L("KMeBusyOnSs")
       
    38 #define SIMTSY_SETUPCALL_ADD_INFO_1		_L("KMeBusyOnCall")
       
    39 #define SIMTSY_LNCH_BRWSR_ADD_INFO1		_L("KNoSpecificBrowserError")
       
    40 #define SIMTSY_LNCH_BRWSR_ADD_INFO2		_L("KBrowserUnavailable")		
       
    41 #define SIMTSY_LNCH_BRWSR_ADD_INFO3		_L("KBearerUnvailable")
       
    42 #define SIMTSY_LNCH_BRWSR_ADD_INFO4		_L("KMeUnableToReadProvisioningData")
       
    43 #define SIMTSY_SET_FRMS_ADD_INFO_2		_L("KNumberOfFramesExceeded")
       
    44 #define SIMTSY_MMS_TRF_FILE_PATH		_L("TransferFilePath")
       
    45 #define SIMTSY_MMS_MSG_BUF			_L("MMMessageBuf")
       
    46 #define SIMTSY_MMS_MSG_ID			_L("MMMessageIdentifier")
       
    47 #define SIMTSY_MMS_INFORMATION			_L("ABCDE")
       
    48 #define SIMTSY_MMS_LAST_ENV			0x2A
       
    49 #define SIMTSY_UICC_SUCC_RSP			0x9000
       
    50 #define SIMTSY_UICC_RETRY_RSP			0x9300
       
    51 #define SIMTSY_UICC_FLR_RSP			0x6F00
       
    52 #define SIMTSY_UICC_FLR_RSP_1			0x6200
       
    53 #define SIMTSY_UICC_FLR_RSP_2			0x6300
       
    54 
       
    55 #define SIMTSY_PLAYTONE_TESTCASES_NUMBER		0x04
       
    56 #define SIMTSY_SETUPCALL_TESTCASES_NUMBER		0x05
       
    57 
       
    58 class CSimPhone;
       
    59 class CSimSat : public CSubSessionExtBase, public MTimerCallBack
       
    60 	{
       
    61 public:
       
    62 	static CSimSat* NewL(CSimPhone* aPhone);
       
    63 	CSimSat(CSimPhone* aPhone);
       
    64 	void ConstructL();
       
    65 	TInt ConfigL(unsigned int);
       
    66 	~CSimSat();
       
    67 
       
    68 	virtual TInt ExtFunc(const TTsyReqHandle aTsyReqHandle,const TInt aIpc,const TDataPackage& aPackage);
       
    69 	virtual TReqMode ReqModeL(const TInt aIpc);
       
    70 	virtual CTelObject* OpenNewObjectByNameL(const TDesC& aName);
       
    71 	virtual CTelObject* OpenNewObjectL(TDes& aNewName);
       
    72 	virtual TInt CancelService(const TInt aIpc, const TTsyReqHandle aTsyReqHandle);
       
    73 	virtual void Init();
       
    74 	virtual TInt RegisterNotification(const TInt aIpc);
       
    75 	virtual TInt DeregisterNotification(const TInt aIpc);
       
    76 	virtual TInt NumberOfSlotsL(const TInt aIpc);
       
    77 
       
    78 	const CTestConfigSection* CfgFile();
       
    79 
       
    80 private:
       
    81 	//< The Sat API methods implemented by the TSY
       
    82 	//< These will be called from the ExtFunc method above
       
    83 	TInt NotifyRefreshPCmd(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
    84 	TInt NotifyRefreshPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
    85 	TInt NotifyRefreshRequired(const TTsyReqHandle aTsyReqHandle);
       
    86 	TInt NotifyRefreshRequired(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
    87 	TInt NotifyRefreshRequiredCancel(const TTsyReqHandle aTsyReqHandle);
       
    88 	TInt RefreshAllowed(const TTsyReqHandle aTsyReqHandle, TDes8* aRefreshAllowedRsp);
       
    89 	TInt RefreshAllowedCancel(const TTsyReqHandle aTsyReqHandle);
       
    90 	
       
    91 	
       
    92 	TInt NotifyRetrieveMultimediaMsgPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
    93 	TInt NotifyRetrieveMultimediaMsgPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
    94 	TInt NotifySubmitMultimediaMsgPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
    95 	TInt NotifySubmitMultimediaMsgPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
    96 	TInt NotifyDisplayMultimediaMsgPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
    97 	TInt NotifyDisplayMultimediaMsgPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
    98 	TInt NotifySetFramesPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
    99 	TInt NotifySetFramesPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   100 	TInt NotifyGetFramesStatusPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   101 	TInt NotifyGetFramesStatusPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   102 	TInt NotifyLocalInfoPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   103 	TInt NotifyLocalInfoPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   104 	TInt NotifyOpenChannelPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   105 	TInt NotifyOpenChannelPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   106 	TInt NotifyPlayTonePCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   107 	TInt NotifyPlayTonePCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   108 	TInt NotifySetupCallPCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   109 	TInt NotifySetupCallPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   110 	TInt NotifyRefreshV6PCmd(const TTsyReqHandle aTsyReqHandle,TDes8* aPCmd);
       
   111 	TInt NotifyRefreshV6PCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   112 
       
   113 	TInt MmsNotificationDownload(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   114 	TInt MmsNotificationDownloadCancel(const TTsyReqHandle aTsyReqHandle);
       
   115 	TInt MmsTransferStatus(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   116 	TInt MmsTransferStatusCancel(const TTsyReqHandle aTsyReqHandle);
       
   117 	TInt UssdDataDownload(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   118 	TInt UssdDataDownloadCancel(const TTsyReqHandle aTsyReqHandle);
       
   119 	TInt EventDownload(const TTsyReqHandle aTsyReqHandle, RSat::TEventList* aPCmd, TDes8* aRsp);
       
   120 	TInt EventDownloadCancel(const TTsyReqHandle aTsyReqHandle);
       
   121 	TInt NotifySendUssdPCmd(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   122 	TInt NotifySendUssdPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   123 	TInt NotifyGetInkeyPCmd(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   124 	TInt NotifyGetInkeyPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   125 	TInt NotifySendSsPCmd(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   126 	TInt NotifySendSsPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   127 	TInt NotifyLaunchBrowserPCmd(const TTsyReqHandle aTsyReqHandle, TDes8* aPCmd);
       
   128 	TInt NotifyLaunchBrowserPCmdCancel(const TTsyReqHandle aTsyReqHandle);
       
   129 		
       
   130 	TInt GetMeSideSatProfile(const TTsyReqHandle aTsyReqHandle, TDes8* aMeSimSatProfile);
       
   131 	TInt GetMeSideSatProfileCancel(const TTsyReqHandle aTsyReqHandle);
       
   132 	TInt ClientSatProfileIndication(const TTsyReqHandle aTsyReqHandle, TDes8* aClientSatProfile);
       
   133 
       
   134 	TInt TerminalRsp(const TTsyReqHandle aTsyReqHandle, RSat::TPCmd* aPCmd, TDes8* aRsp);
       
   135 	TInt TerminalRspCancel(const TTsyReqHandle aTsyReqHandle);
       
   136 	TInt RetrieveMultimediaRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   137 	TInt SubmitMultimediaRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   138 	TInt DisplayMultimediaRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   139 	TInt SetFramesRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   140 	TInt GetFramesStatusRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   141 	TInt ProvideLocalInfoRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   142 	TInt OpenChannelRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   143 	TInt PlayToneRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   144 	TInt SetupCallRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   145 	TInt RefreshRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   146 	TInt SendUssdRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   147 	TInt GetInkeyRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   148 	TInt LaunchBrowserRsp(const TTsyReqHandle aTsyReqHandle, TDes8* aRsp);
       
   149 
       
   150 	/* Functions for conversion of Text to Hex */
       
   151 	TInt ConvertTextToFileList(const TPtrC8& aText, RSat::TRefreshFileList& aFileList) const;
       
   152 	TInt ConvertTextToTBuf242(const TPtrC8& aText, TBuf<242>& aFileList) const;
       
   153 	TInt ConvertTextToTBuf243(const TPtrC8& aText, TBuf<243>& aFileList) const;
       
   154 	TInt ConvertTextToTBuf254(const TPtrC8& aText, TBuf<254>& aFileList) const;
       
   155 	TInt ConvertTextToTBuf255(const TPtrC8& aText, TBuf<255>& aFileList) const;
       
   156 	TInt ConvertTextToTBuf4(const TPtrC8& aText, TBuf8<4>& aFileList) const;
       
   157 	TInt ConvertTextToTBuf16(const TPtrC8& aText, TBuf8<16>& aFileList) const;
       
   158 	
       
   159 	TInt randTime(); // Function to generate random Time to simulate asynchronous request handling.
       
   160 	virtual void TimerCallBack(TInt aId);	//< Timer Callback for the timeout events
       
   161 
       
   162 private: // Data
       
   163 	CSimPhone* iPhone;		//< Pointer to the phone object (The parent of this class)
       
   164 	CSimTimer* iTimer;	//< Pointer to the Timer object for callback
       
   165 	
       
   166 	struct TSatInfo
       
   167 		{
       
   168 		TInt iDuration;		// < Duration spent in this refresh state
       
   169 		TInt iType;		//< Type of refresh command
       
   170 		TPtrC8 iFileList;	//< Optional list of files that need to be refreshed.
       
   171 		};
       
   172 
       
   173 	struct TMMRetrieve
       
   174 		{
       
   175 		TInt iDestn;		// Destination for the command
       
   176 		TInt iAlphaStatus;	// AlphaID status
       
   177 		TPtrC8 iAlphaIDBuf;	// AlphaID Buffer
       
   178 		TInt iIconID;		// IconID identifier
       
   179 		TInt iIconIDBuf;	// IconID qualifier
       
   180 		TPtrC8	iMMMsgRef;	// MMMessage Reference
       
   181 		TPtrC8  iRcptnFile;	// Reception File
       
   182 		TPtrC8  iContentId;	// Content Identifier
       
   183 		TPtrC8  iMsgId;		// Message Identifier
       
   184 		TInt iTextAttStatus;	// Status for the TextAttribute
       
   185 		TPtrC8  iTextAttBuf;	// Buffer for the TextAttribute
       
   186 		};
       
   187 		
       
   188 	struct TMMSubmit
       
   189 		{
       
   190 		TInt iDestn;		// Destination for the command
       
   191 		TInt iAlphaStatus;	// AlphaID status
       
   192 		TPtrC8 iAlphaIDBuf;	// AlphaID Buffer
       
   193 		TInt iIconID;		// IconID identifier
       
   194 		TInt iIconIDBuf;	// IconID qualifier
       
   195 		TPtrC8 iSbmsnFile;	// Submission File
       
   196 		TPtrC8  iMsgId;		// Message Identifier
       
   197 		TInt iTextAttStatus;	// Status for the TextAttribute
       
   198 		TPtrC8  iTextAttBuf;	// Buffer for the TextAttribute
       
   199 		};
       
   200 
       
   201 	struct TMMDisplay
       
   202 		{
       
   203 		TInt iDestn;		// Destination for the command
       
   204 		TPtrC8 iSbmsnFile;	// Submission File
       
   205 		TPtrC8  iMsgId;		// Message Identifier
       
   206 		TInt iImmRsp;		// Immediate response
       
   207 		TInt iDispPri;		// Display Priority
       
   208 		TInt iClrScr;		// ClearScreen Trigger
       
   209 		};
       
   210 	
       
   211 	struct TSetFrms
       
   212 		{
       
   213 		TInt iDestn;		// Destination for the command
       
   214 		TUint8	iFrmId;		// Frame identifier
       
   215 		TInt iFrmLayout;	// Frame layout
       
   216 		TPtrC8 iFrmLayoutBuf;// Frame layout buffer
       
   217 		TUint8 iDefFrmId;	// Default Frame identifier
       
   218 		TInt iFrmSeparator;	// Frame Separator.
       
   219 		};
       
   220 	
       
   221 	struct TGetFrmsSts
       
   222 		{
       
   223 		TInt iDestn;		// Destination for the command
       
   224 		TInt8 iFrmId;		// Frame identifier
       
   225 		TPtrC8 iFrmList;	// Frame List
       
   226 		};
       
   227 	
       
   228   	struct TMmsNotificationDownload
       
   229 		{
       
   230 		TUint iSrc;			// Source of the command
       
   231 		TUint iDestn;		// Destination of the command
       
   232 		RSat::TMMSNotification iMMSNotfn;	// MMS Notification information
       
   233 		TUint8 iLastEnv;	// last envelope sent to transmit notification into the card.
       
   234 		TUint iUICCRsp;		// Response from UICC for the action of the command.
       
   235 		};
       
   236 	
       
   237 	struct TSendUSSD
       
   238 		{
       
   239 		TInt iTextAttStatus;	// Status for the TextAttribute
       
   240 		TPtrC8  iTextAttBuf;	// Buffer for the TextAttribute
       
   241 		};
       
   242 	
       
   243 	struct TUssdData
       
   244 		{
       
   245 		TUint iSrc;			// Source of the command
       
   246 		TUint iDestn;		// Destination of the command
       
   247 		TUint8 iDcs;		// Data Coding Scheme
       
   248 		TBuf<RSat::KStringMaxSize> iUssdStr;	// USSD String
       
   249 		TUint iUICCRsp;		// Response from UICC for the action of the command.
       
   250 		};
       
   251 	
       
   252 	struct TLocalInfo
       
   253 		{
       
   254 		TUint iDeviceId;	// Destination of the command
       
   255 		TUint iLocalInfoType;// LocalInformation type
       
   256 		TUint iUTRANQlfr;	// UTRAN Qualifier.
       
   257 		};
       
   258 	
       
   259 	struct TOpenChannel
       
   260 		{
       
   261 		TUint iBearerType; 	// Bearer Type of the channel.
       
   262 		TUint iFrameId;		// Frame identifier of the channel.
       
   263 		};
       
   264 	
       
   265 	struct TMiscPCmd
       
   266 		{
       
   267 		TUint iFrameId;		// Frame identifier for the Proactive command
       
   268 		};
       
   269 	
       
   270 	struct TEventDnld
       
   271 		{
       
   272 		TInt iVar;			// iNetworkSearchMode/browsingStatus/iFrameId
       
   273 		TPtrC8 iFrameList;	// Frame list
       
   274 		};
       
   275 	
       
   276 	struct TLnchBrwsr
       
   277 		{
       
   278 		TUint iFrameId;		// Frame identifier for the Proactive command
       
   279 		TUint iTerRsp;		// Terminal response
       
   280 		};
       
   281 	
       
   282 	CArrayFixFlat<TSatInfo>* iSatInfo;	// < Array containing all the sat changes for this test.
       
   283 	CArrayFixFlat<TSatInfo>* iRefresh;	// < Array containing the information about REFRESH V2 command 
       
   284 	CArrayFixFlat<TSatInfo>* iElemFiles;// < Array containing the information about REFRESH command with EF change information
       
   285 
       
   286 	CArrayFixFlat<TMMRetrieve>* iMMRetrieve;	// < Array containing the MMRetrieve Command info.
       
   287 	CArrayFixFlat<TMMSubmit>* iMMSubmit; // < Array containing the MMSubmit Command info.
       
   288 	CArrayFixFlat<TMMDisplay>* iMMDisplay;	// < Array containing the MMDisplay Command info.
       
   289 	CArrayFixFlat<TSetFrms>* iSetFrms;	// < Array containing the SetFrms Command info.
       
   290 	CArrayFixFlat<TGetFrmsSts>* iGetFrmsSts;	// < Array containing the GetFrmsSts Command info.
       
   291 	CArrayFixFlat<TMmsNotificationDownload>* iMmsDownloadData;	// < Array containing the MMNotification Command notification info.
       
   292 	CArrayFixFlat<TUssdData>* iUssdData; // < Array containing the USSD Data Download Command info.
       
   293 	CArrayFixFlat<TLocalInfo>* iLocalInfo;	// < Array containing the PROVIDE LOCAL INFORMATION Command
       
   294 	CArrayFixFlat<TOpenChannel>* iOpenChn;	// < Array containing the OPEN CHANNEL Command info.
       
   295 	CArrayFixFlat<TMiscPCmd> *iMiscCmd;	// < Array containing the common information of some proactive commands. 
       
   296 										// < like PLAYTONE,etc.
       
   297 	CArrayFixFlat<TLnchBrwsr>* iLnchBrwsr; // <Array containing the information of LAUNCH BROWSER command.
       
   298 	CArrayFixFlat<TEventDnld> *iEventList; //< Array containing the information about the EVENT DOWNLOAD command.
       
   299 	CArrayFixFlat<TSendUSSD> *iSendUssd; //< Array containing the information about the SEND USSD command
       
   300 	CArrayFixFlat<TSendUSSD> *iSendSS;	//< Array containing the information about the SEND SS command
       
   301 	
       
   302 	
       
   303 	TInt iRetIndex;			// Current index from the iMMRetrieve array
       
   304 	TInt iRetTIndex;		// Previous index from the iMMRetrieve array for TerminalRsp
       
   305 	TInt iSubIndex;			// Current index from the iMMSubmit array
       
   306 	TInt iSubTIndex;		// Previous index from the iMMSubmit array for TerminalRsp
       
   307 	TInt iDispIndex;		// Current index from the iMMDisplay array
       
   308 	TInt iDispTIndex;		// Previous index from the iMMDispaly array for TerminalRsp
       
   309 	TInt iSetFrmsIndex;		// Current index from the iSetFrms array
       
   310 	TInt iGetFrmsStsIndex;	// Current index from the iGetFrmsSts array
       
   311 	TInt iMmsDownloadDataIndex;		// Current index from the iMMDnld array 
       
   312 	TInt iLocalInfoIndex;	// Current index from the iLocalInfo array
       
   313 	TInt iOpenChnIndex;		// Current index from the iOpenChn array
       
   314 	TInt iMiscCmdIndex;		// Current index from the iMiscCmd array
       
   315 	TInt iEventDnldIndex;	// Current index from the iEventList array
       
   316 	TInt iSendUssdIndex;	// Current index from the iSendUssd array
       
   317 	TInt iSendSsIndex;		// Current index from the iSendSs array
       
   318 	TInt iRefreshIndex;		// Current index from the iRefresh array
       
   319 	TInt iElemFilesIndex;	// Current index from the iElemFiles array
       
   320 	TInt iLnchBrwsrIndex;	// Current index from the iLaunchBrowser array
       
   321 	
       
   322 	TBool iPendingTerRsp;	// Boolean that contains the information whether a TerminalRsp is pending/not.
       
   323 	TBool iSendRspMmsNotificationDownload;// Boolean that contains the information whether to send MMSNtfndnld response/not.
       
   324 	TBool iSendRspEventDnld; // Boolean that contains the information whether to send EventDnld response/not.
       
   325 	TBool iConfigDone;	// Boolean that carries the information whether the configuration is done / not.
       
   326 	TInt iSatIndex;			// < Current index from the iSatInfo array
       
   327 	TNotifyData	iNotifyRefresh;	//< Holds the notification data (a flag, TsyReqHandle and any raw data) 
       
   328 	TNotifyData	iRefreshRequired; //< Holds the notification data (a flag, TsyReqHandle, data is unused) 
       
   329 	TNotifyData	iRefreshAllowed; //< Holds the notification data (a flag, TsyReqHandle, data is unused) 
       
   330 	TNotifyData iNotifyRetrieveMM; //Holds the notification data for RETRIEVE MULTIMEDIA MESSAGE COMMAND
       
   331 	TNotifyData iNotifySubmitMM; //Holds the notification data for SUBMIT MULTIMEDIA MESSAGE COMMAND
       
   332 	TNotifyData	iNotifyDisplayMM; //Holds the notification data for DISPLAY MULTIMEDIA MESSAGE COMMAND
       
   333 	TNotifyData iNotifySetFrms; //Holds the notification data for SET FRAMES PROACTIVE COMMAND
       
   334 	TNotifyData iNotifyGetFrmsSts; // Holds the notification data for GET FRAMES STATUS PROACTIVE COMMAND
       
   335 	TNotifyData iNotifyLocalInfo;	// Holds the notification data for PROVIDE LOCAL INFORMATION command
       
   336 	TNotifyData iNotifyOpenChn;		// Holds the notification data for OPEN CHANNEL command
       
   337 	TNotifyData iNotifyMiscCmd;		// Holds the notification data for some proactive commands like PLAYTONE,etc.
       
   338 	TNotifyData iNotifySendUssd;	// Holds the notification data for SEND USSD data command
       
   339 	TNotifyData iNotifySendSs;		// Holds the notification data for SEND SS data command
       
   340 	TNotifyData iNotifyLnchBrwsr;	// Holds the notification data for LAUNCH BROWSER command.
       
   341 			
       
   342 	RSat::TRefreshType iType; //< Holds type of refresh command from config file
       
   343 	RSat::TRefreshFileList iFileList; //< Holds file list from config file
       
   344 	TInt iConvertTextToFileReturnCode; //< Holds most recent return code for text to file conversion
       
   345 	TBool iRefreshRequiredPending; //< Holds a flag to indicate that first phase of refresh required cycle has completed
       
   346 	TBool iPlayTone;	//< Holds a flag to indicate whether PLAYTONE testcases are handled or not.
       
   347 	TBool iSetupCall;	//< Holds a flag to indicate whether SETUPCALL testcases are handled or not.
       
   348 	TBool iGetInkey;	//< Holds a flag to indicate whether GET INKEY testcases are handled or not.
       
   349 	TBool iRefreshEf;	//< Holds a flag to indicate whether EFs are updated to be notified by REFRESH command
       
   350 	TBool iRefreshV2;	//< Holds a flag to indicate the version of the REFRESH command
       
   351 
       
   352 	TTsyReqHandle iGetMeSideProfileHandle; // handle to hold the GetMeSideProfile API's handle.
       
   353 	TTsyReqHandle iClientSideProfileHandle; // handle to hold the ClientSatSideProfile API's handle.
       
   354 	TTsyReqHandle iMMSTransferStatusHandle;	// handle to hold the MMSTransferStatus API's handle.
       
   355 	TTsyReqHandle iMmsDownloadDataHandle;	// handle to hold the MMS Notification Download's handle.
       
   356 	TTsyReqHandle iEventDnldHandle;	// handle to hold the EVENT DOWNLOAD command's handle. 
       
   357 	TTsyReqHandle iUSSDDataDownloadHandle;	// handle to hold the USSD DATA DONWLOAD API's handle. 
       
   358 		
       
   359 	};
       
   360 
       
   361 #endif  //__CSimSat_H__
       
   362