|
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 // Holds the literals and constants that are used in the Simulator TSY. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalAll |
|
21 */ |
|
22 |
|
23 #ifndef __SIMCONSTANTS_H__ |
|
24 #define __SIMCONSTANTS_H__ |
|
25 |
|
26 #include <etel.h> |
|
27 #include "SimTsy.h" |
|
28 #include "etelmm.h" |
|
29 |
|
30 // Constants for the Configuration files |
|
31 _LIT(KConfigFileDir,"simtsy"); // < The output directory for the SIM TSY. |
|
32 _LIT8(KSectionNameFormat,"test%d"); // < Section name format within configurations file. |
|
33 const TInt KDefaultTestNumber=0; // < The default test number. |
|
34 |
|
35 const TUint KStdDelimiter=','; // < Standard Delimiter for config file (a comma) |
|
36 |
|
37 |
|
38 |
|
39 _LIT8(KGsmPhoneBook, "T2"); |
|
40 _LIT8(KUSimPhoneBook, "T3"); |
|
41 |
|
42 _LIT8(KICCLockedAtStart, "ICCLockedAtStart"); |
|
43 _LIT8(KICCStatus, "ICCStatus"); |
|
44 const TBool KDefaultICCLockedAtStart=0; |
|
45 const TInt KDefaultPauseDuration= 2; //< Default Pause |
|
46 _LIT8(KTriggerEventIPC, "TriggerEventIPC"); //< |
|
47 _LIT8(KSecurityCodes, "SecurityCodes"); |
|
48 _LIT8(KSecurityCodeAttempts, "SecurityCodeAttempts"); |
|
49 _LIT8(KICCSetting, "ICCSetting"); |
|
50 |
|
51 _LIT8(KDiallingPauseDuration,"DiallingPauseDuration"); // < Configuration file tag for dialling pause. |
|
52 _LIT8(KConnectingPauseDuration,"ConnectingPauseDuration"); // < Configuration file tag for connecting pause. |
|
53 _LIT8(KDisconnectingPauseDuration,"DisconnectingPauseDuration"); // < Configuration file tag for disconnecting pause. |
|
54 _LIT8(KAnswerIncomingPauseDuration,"AnswerIncomingPauseDuration"); // < Configuration file tag for answer incoming pause. |
|
55 _LIT8(KNotifyIncomingCallPauseDuration, "NotifyIncomingCallPauseDuration"); // < Configuration file tag for notify incoming call pause. |
|
56 _LIT8(KRemoteHangupPauseDuration,"RemoteHangupPauseDuration"); // < Configuration file tag for remote hangup pause. |
|
57 |
|
58 _LIT8(KNotifyRemotePartyInfo, "RemotePartyInfo"); |
|
59 |
|
60 _LIT8(KDataCallCaps,"DataCallCaps"); |
|
61 _LIT8(KDynamicHSCSDInfo,"DataHscsdInfo"); |
|
62 _LIT8(KDataRLPparams,"DataRlpParams"); |
|
63 |
|
64 const TInt KDefaultDiallingPauseDuration=1; // < Default dialling pause |
|
65 const TInt KDefaultConnectingPauseDuration=1; // < Default connecting pause |
|
66 const TInt KDefaultDisconnectingPauseDuration=1; // < Default disconnecting pause |
|
67 const TInt KDefaultAnswerIncomingPauseDuration=1; // < Default answer incoming call pause |
|
68 const TInt KDefaultNotifyIncomingCallPauseDuration=0; // < Default notify incoming call pause |
|
69 const TInt KDefaultRemoteHangupPauseDuration=1; // < Default answer remote hangup pause |
|
70 |
|
71 _LIT8(KSmsRx,"SmsRx"); // < Configuration file tag for SMS reception |
|
72 _LIT8(KSmsTx,"SmsTx"); // < Configuration file tag for SMS transmission |
|
73 _LIT8(KSmsRxPeriod,"SmsRxPeriod"); // < Configuration file tag for SMS reception pause |
|
74 _LIT8(KSmsAckNackPause,"SmsAckNackPause"); // < Configuration file tag for SMS ack/nack pause |
|
75 _LIT8(KSmsResumePause,"SmsResumePause"); // < Configuration file tag for SMS resume pause |
|
76 _LIT8(KSmsStartRxDelay,"SmsStartRxDelay"); // < Configuration file tag for SMS start reception flag |
|
77 |
|
78 _LIT8(KSmsStartRxDelay2,"SmsStartRxDelay2"); // < Configuration file tag for SMS start reception flag |
|
79 |
|
80 _LIT8(KSmsTxPause,"SmsTxPause"); // < Configuration file tag for SMS transmition pause |
|
81 _LIT8(KSmsControlCaps,"SmsControlCaps"); // < Configuration file tag for SMS control capabilities |
|
82 |
|
83 const TInt KDefaultSmsRxPeriod=1; // < Default period between simulating MT SMS |
|
84 const TInt KDefaultSmsAckNackPause=1; // < Default pause before completing Ack/Nack |
|
85 const TInt KDefaultSmsResumePause=1; // < Default pause before completing Resume |
|
86 const TInt KDefaultSmsTxPause=1; // < Default pause before completing Resume |
|
87 |
|
88 const RMobileSmsMessaging::TMobileSmsControlCaps KDefaultSmsControlCaps=RMobileSmsMessaging::TMobileSmsControlCaps(0x1c7); // < Default control capabilities |
|
89 |
|
90 |
|
91 _LIT8(KSmsModeCaps,"SmsModeCaps"); // < Configuration file tag for SMS mode capabilities |
|
92 const RMobileSmsMessaging::TMobileSmsModeCaps KDefaultSmsModeCaps=RMobileSmsMessaging::KCapsGsmSms; // < Default mode is GSM |
|
93 |
|
94 _LIT8(KSmsStore,"SmsStore"); // < Configuration file tag for SMS Store definition |
|
95 _LIT8(KSmsStoreEntry,"SmsStoreEntry"); // < Configuration file tag for SMS Store entry |
|
96 _LIT8(KSmsPhoneStoreCaps,"SmsPhoneStoreCaps"); // < Configuration file tag for Phone store caps for SmsStore |
|
97 |
|
98 const TInt KDefaultSmsStoreIndividualReqPause=1; // < Default pause before completing an "individual" phonebook request |
|
99 const TInt KDefaultSmsStoreBatchReqPause=1; // < Default pause before completing a "batch" phonebook request |
|
100 const TUint KDefaultSmsPhoneStoreCaps=0xFC000000; // < Default Phone store caps for SmsStore |
|
101 const TUint KDefaultSmsOnlySmsCaps=0x1f; // < Default SmsStore level caps for sms store. SmsStoreCaps=SmsPhoneStoreCaps+SmsOnlyStoreCaps |
|
102 |
|
103 |
|
104 _LIT8(KSmsStoreIndividualReqPause,"SmsStoreIndividualReqPause"); // < Configuration file tag for pause of an individual SMS Store operation |
|
105 _LIT8(KSmsStoreBatchReqPause,"SmsStoreBatchReqPause"); // < Configuration file tag for pause of a batch SMS Store operation |
|
106 _LIT8(KPhBkPhoneStoreCaps,"PhBkPhoneStoreCaps"); // < Configuration file tag for Phone store caps for PhBkStore |
|
107 _LIT8(KPhBkPhoneUSimStoreCaps,"PhBkPhoneUSimStoreCaps"); |
|
108 |
|
109 const TInt KDefaultPhBkStoreIndividualReqPause=1; // < Default pause before completing an "individual" phonebook request |
|
110 const TInt KDefaultPhBkStoreBatchReqPause=1; // < Default pause before completing a "batch" phonebook request |
|
111 const TUint KDefaultPhBkPhoneStoreCaps=0xFC000000; // < Default Phone store caps for PhBk |
|
112 |
|
113 _LIT8(KPhBkStore,"PhBkStore"); // < Configuration file tag for phonebook store definition |
|
114 _LIT8(KPhBkUSimStore,"PhBkUSimStore"); // < Configuration file tag for USIM phonebook store definition |
|
115 |
|
116 _LIT8(KPhBkStoreEntry,"PhBkStoreEntry"); // < Configuration file tag for phonebook store entry |
|
117 _LIT8(KPhBkUSimStoreEntry,"PhBkUSimStoreEntry"); // < Configuration file tag for USIM phonebook store entry |
|
118 |
|
119 _LIT8(KPhBkError,"PhBkError"); // < Configuration file tag for phonebook simulated error |
|
120 _LIT8(KOOBPhBkWrite,"OOBPhBkWrite"); // < Configuration file tag for "out of band" phonebook write |
|
121 _LIT8(KOOBPhBkDelete,"OOBPhBkDelete"); // < Configuration file tag for "out of band" phonebook delete |
|
122 _LIT8(KOOBPhBkUSimWrite,"OOBPhBkUSimWrite"); // < Configuration file tag for "out of band" USIM phonebook write |
|
123 _LIT8(KOOBPhBkUSimDelete,"OOBPhBkUSimDelete"); |
|
124 _LIT8(KPhBkStoreIndividualReqPause,"PhBkStoreIndividualReqPause"); // < Configuration tag for pause of an individual phonebook operation |
|
125 _LIT8(KPhBkStoreBatchReqPause,"PhBkStoreBatchReqPause"); // < Configuration tag for pause of a batch phonebook operation |
|
126 |
|
127 const TInt KDefaultONStoreIndividualReqPause=1; // < Default pause before completing an "individual" Own Number store request |
|
128 const TUint KDefaultONPhoneStoreCaps=0xFC000000; // < Default Own Number store caps |
|
129 _LIT8(KONStore,"ONStore"); // < Configuration file tag for Own Number store definition |
|
130 _LIT8(KONStoreEntry,"ONStoreEntry"); // < Configuration file tag for Own Number store entry |
|
131 _LIT8(KONPhoneStoreCaps,"ONPhoneStoreCaps"); // < Configuration file tag for Own Number store caps |
|
132 _LIT8(KONStoreIndividualReqPause,"ONStoreIndividualReqPause"); // < Configuration tag for pause of an individual Own Number store operation |
|
133 |
|
134 _LIT8(KSmsParam,"SmsParam"); |
|
135 _LIT8(KSmsParamEntry,"SmsParamEntry"); |
|
136 _LIT8(KSmspIndividualReqPause,"SmspIndividualReqPause"); |
|
137 _LIT8(KSmspBatchReqPause,"SmspBatchReqPause"); |
|
138 const TInt KDefaultSmspIndividualReqPause=1; // < Default pause before completing an "individual" phonebook request |
|
139 const TInt KDefaultSmspBatchReqPause=1; // < Default pause before completing a "batch" phonebook request |
|
140 |
|
141 _LIT8(KSSLevel,"SignalStrengthLevel"); // < Configuration tag for Signal Strength level information |
|
142 _LIT8(KSSNotifyCap,"NotifySignalStrengthChangeCap"); // < Configuration tag for Signal Strength notification capability |
|
143 |
|
144 _LIT8(KIndicators,"Indicators"); // < Configuration tag for Signal Strength level information |
|
145 _LIT8(KIndicatorCheckPeriod,"IndicatorCheckPeriod"); // < Configuration tag for Indicator check period |
|
146 _LIT8(KBatteryCharger,"BatteryCharger"); // < Configuration tag for Battery Charger information |
|
147 |
|
148 _LIT8(KSmspMaxNumSlots,"SmsParamMaxNumSlots"); // < configuration file tag for number of entries in a smsp list |
|
149 const TInt KDefaultSmspMaxNumSlots=1; // < Default Number of entries in a smsp list |
|
150 |
|
151 _LIT8(KRegStatus,"RegStatus"); // < Configuration tag for Registration Status information |
|
152 _LIT8(KNetworkInfo,"NetworkInfo"); // < Configuration tag for Network Information information |
|
153 _LIT8(KNitzInfo,"NitzInfo"); // < Configuration tag for NITZ information |
|
154 _LIT8(KCellInfo,"CellInfo"); // < Configuration tag for Cell information |
|
155 _LIT8(KLocationArea,"LocationArea"); // < Configuration tag for location area information |
|
156 |
|
157 |
|
158 _LIT8(KRadioMode,"RadioMode"); // < Configuration tag for NITZ information |
|
159 const TUint KFirstLACDefault=0; // < Default for First Location area code for defining the entire range of LACs for the registered PLMN. |
|
160 |
|
161 const TUint KLastLACDefault = 3; // < Default for Last Location area code defining the entire range of LACs for the registered PLMN. |
|
162 |
|
163 _LIT8(KServiceProviderName,"ServiceProviderName"); // < Configuration tag for Service Provider |
|
164 const RMobilePhone::TDisplayRequirements KDisplayReqDefault = RMobilePhone::KDisplayPLMNNotRequired; //Default display requirements for service provider |
|
165 _LIT8(KSPNameDefault, "Vodafone"); |
|
166 _LIT8(KPLMNFieldDefault, "\x50\x03\x21\x44\x21"); // < Default PLMN field TLV buffer. This corresponds to tag=80, len=3,val=(MCC=123, MNC=123) |
|
167 |
|
168 _LIT8(KSubscriberId,"SubscriberId"); // < Configuration tag for Subscriber ID |
|
169 _LIT8(KSubscriberIdDefault,"01234567890123"); // < Default Subscriber ID (used if no Subscriber ID tag is present) |
|
170 _LIT8(KPhoneId,"PhoneId"); // < Configuration tag for PhoneId |
|
171 _LIT8(KPhoneManufacturerDefault, "Symbian"); // < Default Manufacturer |
|
172 _LIT8(KPhoneModelDefault, "888"); // < Default Model |
|
173 _LIT8(KPhoneRevesionDefault, "0.1"); // < Default Revision |
|
174 _LIT8(KPhoneSerialNumberDefault, "987654321"); // < Default Serail Number |
|
175 |
|
176 _LIT8(KNetworkMode,"NetworkMode"); // < Configuration tag for Network Mode |
|
177 const TInt KNetworkModeDefault=(TInt)RMobilePhone::ENetworkModeGsm; |
|
178 // < Default Network Mode (used if no network mode is present) |
|
179 |
|
180 _LIT8(KCommSetup,"CommSetup"); // < Configuration tag for communications port set-up. |
|
181 |
|
182 _LIT8(KBearerService,"BearerService"); // < Configuration tag for Bearer Service information. |
|
183 const TUint32 KDefaultBearerCaps=RCall::KBearerCapsProtocolNone; // < Default Bearer Capability information, used if no configuration file tag is present. |
|
184 const RCall::TCallBearerSpeed KDefaultBearerSpeed=RCall::EBearerData9600; // < Default Bearer Speed information, used if no configuration file tag is present. |
|
185 |
|
186 // default notification type is 'Timer' |
|
187 _LIT8(KNotificationTypeTimer, "Timer"); |
|
188 _LIT8(KNotificationTypePublishSubscribe, "PublishSubscribe"); |
|
189 |
|
190 _LIT8(KPacketRegStatus,"PacketRegStatus"); |
|
191 _LIT8(KNetworkRegStatusType,"NetworkRegStatusType"); |
|
192 _LIT8(KNetworkRegStatus,"NetworkRegStatus"); |
|
193 _LIT8(KDynamicCaps,"DynamicCaps"); |
|
194 |
|
195 _LIT8(KQosProfileReqGPRS,"QosProfileReqGPRS"); |
|
196 _LIT8(KQosProfileNegGPRS,"QosProfileNegGPRS"); |
|
197 //_LIT8(KQosProfileReqCDMA,"QosProfileReqCDMA"); |
|
198 //_LIT8(KQosProfileNegCDMA,"QosProfileNegCDMA"); |
|
199 _LIT8(KQosProfileCapsGPRS,"QosProfileCapsGPRS"); |
|
200 //_LIT8(KQosProfileCapsCDMA,"QosProfileCapsCDMA"); |
|
201 |
|
202 _LIT8(KQosProfileReqR99, "QosProfileReqR99"); |
|
203 _LIT8(KQosProfileNegR99, "QosProfileNegR99"); |
|
204 _LIT8(KQosProfileCapsR99, "QosProfileCapsR99"); |
|
205 |
|
206 _LIT8(KQosProfileReqR5, "QosProfileReqR5"); |
|
207 _LIT8(KQosProfileNegR5, "QosProfileNegR5"); |
|
208 _LIT8(KQosProfileCapsR5, "QosProfileCapsR5"); |
|
209 |
|
210 _LIT8(KQosNetworkNotification, "QosNetworkNotification"); |
|
211 _LIT8(KQosR5NetworkNotification, "QosR5NetworkNotification"); |
|
212 _LIT8(KQosNetworkNotificationType, "QosNetworkNotificationType"); |
|
213 _LIT8(KSetProfileFail, "SetProfileFail"); |
|
214 |
|
215 _LIT8(KSetConfigFail, "SetConfigFail"); |
|
216 _LIT8(KSetConfigDelay, "SetConfigDelay"); |
|
217 _LIT8(KDeleteTftFail, "DeleteTftFail"); |
|
218 _LIT8(KCreateTftConfig, "CreateTftConfig"); |
|
219 _LIT8(KAddPacketFilter, "AddPacketFilter"); |
|
220 _LIT8(KSetQoSDelay, "SetQoSDelay"); |
|
221 |
|
222 |
|
223 /**** */ |
|
224 |
|
225 _LIT8(KPacketReleaseMode, "ReleaseMode"); |
|
226 _LIT8(KContextConfigRel99,"R99ContextConfig"); |
|
227 |
|
228 _LIT8(KSetContextConfigGPRS,"SetContextConfigGPRS"); |
|
229 _LIT8(KDefaultContextparamGPRS,"DefaultContextparamGPRS"); |
|
230 _LIT8(KDefaultGPRSAdditionalParamItem, "DefaultGPRSAdditionalParamItem"); |
|
231 _LIT8(KAdditionalParamItemGPRS, "AdditionalParamItemGPRS"); |
|
232 |
|
233 //_LIT8(KSetContextConfigCDMA,"SetContextConfigCDMA"); |
|
234 //_LIT8(KDefaultContextparamCDMA,"DefaultContextparamCDMA"); |
|
235 |
|
236 _LIT8(KSetContextConfigRel99,"SetContextConfigR99"); |
|
237 _LIT8(KDefaultContextparamRel99,"DefaultContextparamRel99"); |
|
238 _LIT8(KDefaultAdditionalParamItemRel99,"DefaultAdditionalParamItemRel99"); |
|
239 _LIT8(KAdditionalParamItemRel99, "AdditionalParamItemRel99"); |
|
240 |
|
241 _LIT8(KSetContextConfigRel5,"SetContextConfigR5"); |
|
242 _LIT8(KAdditionalParamItem, "AdditionalParamItem"); |
|
243 _LIT8(KDefaultContextParamRel5,"DefaultContextParamRel5"); |
|
244 _LIT8(KDefaultAdditionalParamItem, "DefaultAdditionalParamItem"); |
|
245 |
|
246 |
|
247 _LIT8(KDelayIncomingContext, "DelayIncomingContext"); |
|
248 _LIT8(KNoTypeIndex, "NoTypeIndex"); |
|
249 |
|
250 |
|
251 _LIT8(KPacketFilterInfo, "TFTfilter"); |
|
252 _LIT8(KNotifyContextStatusChange, "NotifyContextStatusChange"); |
|
253 _LIT8(KNotifyContextStatusChangeType, "NotifyContextStatusChangeType"); |
|
254 _LIT8(KNotifyContextConfigChange, "NotifyContextConfigChange"); |
|
255 |
|
256 |
|
257 _LIT8(KAuthorizationInfo, "IMSAuthorizationInfo"); |
|
258 _LIT8(KAuthenticationInfo, "IMSAuthenticationInfo"); |
|
259 |
|
260 // Services Control table entry's |
|
261 _LIT8(KUSIMServiceTableSupportedEntrys, "USIMServiceTableSupportedEntrys"); |
|
262 _LIT8(USIMServiceTableEnabledEntrys, "USIMServiceTableEnabledEntrys"); |
|
263 _LIT8(KSIMServiceTable, "SIMServiceTable"); |
|
264 //_LIT8(KCDMAServiceTable, "CDMAServiceTable"); |
|
265 |
|
266 // EF - ACL (Access Control List) |
|
267 _LIT8(KAccessPointNameList, "APNControlList"); |
|
268 |
|
269 // RMobilePhone::SmartCardAuthenticate() response info |
|
270 _LIT8(KScAuthInfo, "SmartCardAuthInfo"); |
|
271 |
|
272 // Constants for the Phone |
|
273 const TInt KNumberOfPhones=1; //< Only one phone is supported by this TSY. |
|
274 _LIT8(KPhoneStatus, "PhoneStatus"); |
|
275 _LIT8(KPhoneInitialiseDelay, "PhoneInitialiseDelay"); |
|
276 |
|
277 // Constants for the line |
|
278 const TInt KNumberOfLines=2; //< Two lines (voice and data) are supported by this TSY. |
|
279 const TInt KVoiceLineIndex=0; //< The line index number for the voice line, used for the phone-based GetInfo request. |
|
280 const TInt KDataLineIndex=1; //< The line index number for the data line, used for the phone-based GetInfo request. |
|
281 |
|
282 //Constants for Calls |
|
283 _LIT(KVoiceCallName,"SimCall"); //< Voice call name |
|
284 _LIT(KDataCallName,"DataCall"); //< Data call name |
|
285 |
|
286 //Constants for Sms Messaging and Sms Store |
|
287 _LIT(KSimSmsMessagingName,"SimSmsMessaging"); //< The name of the Sms messaging supported by this TSY. |
|
288 _LIT(KSimSmsStoreName,"SimSmsStore"); //< The name of the Sms store supported by this TSY. |
|
289 |
|
290 //Constants for PhoneBook |
|
291 _LIT(KPhoneBookName,"SimPhoneBook"); //< The name of the phone book supported by this TSY. |
|
292 |
|
293 //Constants for packet |
|
294 _LIT(KSimPacketName,"SimPacket"); //< The name of the packet supported by this TSY. |
|
295 |
|
296 //Constants for packet |
|
297 _LIT(KSimPacketServiceName,"PACKET_SERVICE"); //< The name of the packet supported by this TSY. |
|
298 _LIT(KSimPacketPrimaryContextName,"PRIMARY"); |
|
299 _LIT(KSimPacketSecondaryContextName,"SECONDARY"); |
|
300 |
|
301 _LIT(KSimPacketQosName,"PACKET_QOS"); |
|
302 _LIT8(KAttachPauseDuration,"AttachPauseDuration"); |
|
303 _LIT8(KDetachPauseDuration,"DetachPauseDuration"); |
|
304 |
|
305 _LIT8(KActivatePauseDuration,"ActivatePauseDuration"); |
|
306 _LIT8(KDeactivatePauseDuration,"DeactivatePauseDuration"); |
|
307 _LIT8(KDeletePauseDuration,"DeletePauseDuration"); |
|
308 |
|
309 // constants for logging names |
|
310 _LIT(KSimLogDir,"simtsy"); // < Simulator TSY log file directory . |
|
311 _LIT(KSimLogFile,"simtsy.txt"); // < Simulator TSY log file. |
|
312 |
|
313 //Constants for CSIMSAT |
|
314 _LIT(KSatName,"TOOLKIT"); //< Name of the sat to be opened by CSimPhone |
|
315 _LIT8(KSatRefresh,"SatRefresh"); // < Configuration tag for Sat |
|
316 _LIT8(KMMRetrieve,"MMRetrieve"); //< Configuration tag for EtelSat MMRetrieve Proactive command |
|
317 _LIT8(KMMSubmit,"MMSubmit"); //< Configuration tag for EtelSat MMSubmit Proactive command |
|
318 _LIT8(KMMDisplay,"MMDisplay"); //< Configuration tag for EtelSat MMDisplay Proactive command |
|
319 _LIT8(KSetFrames,"SetFrames"); //< Configuration tag for EtelSat SetFrames Proactive command |
|
320 _LIT8(KGetFramesStatus,"GetFramesSts"); //< Configuration tag for EtelSat GetFramesSts Proactive command |
|
321 _LIT8(KMmsNotificationDownload,"MmsNotificationDownload"); //< Configuration tag for EtelSat MMS Notification Download command |
|
322 _LIT8(KUssdDataDownload,"UssdDataDownload"); //< Configuration tag for EtelSat USSD Data Download command |
|
323 _LIT8(KLocalInfo,"ProvideLocalInfo"); //< Configuration tag for EtelSat PROVIDE LOCAL INFORMATION command |
|
324 _LIT8(KOpenChnl,"OpenChannel"); //< Configuration tag for EtelSat OPEN CHANNEL PROACTIVE COMMAND |
|
325 _LIT8(KMiscCmd,"MiscCmd"); //< Configuration tag for EtelSat PLAY TONE PROACTIVE COMMAND |
|
326 _LIT8(KEventDnld,"EventDnld"); //< Configuration tag for EtelSat EVENT DOWNLOAD COMMAND |
|
327 _LIT8(KSendUssd,"SendUssd"); //<Configuration tag for EtelSat SEND USSD command |
|
328 _LIT8(KSendSs,"SendSs"); //<Configuration tag for EtelSat SEND SS command |
|
329 _LIT8(KRefresh2,"Refresh"); //<Configuration tag for EtelSat REFRESH command |
|
330 _LIT8(KElemFiles,"ElemFiles"); //<Configuration tag for EtelSat REFRESH command |
|
331 _LIT8(KLaunchBrowser,"LnchBrwsr"); //<Configuration tag for EtelSat LAUNCH BROWSER command |
|
332 |
|
333 //Constants for callforwarding |
|
334 _LIT8(KCFList,"CFList"); |
|
335 _LIT8(KPhoneNumber, "PhoneNumber"); |
|
336 _LIT8(KCallForwardingInfo, "CallForwardingInfo"); |
|
337 _LIT8(KIdentityServiceStatus, "IdentityServiceStatus"); |
|
338 _LIT8(KEmptyString, ""); |
|
339 |
|
340 //Constant for CCallBarring |
|
341 _LIT8(KCallBarringInfo, "CallBarringInfo"); |
|
342 _LIT8(KCBList,"CBList"); |
|
343 _LIT8(KCBPassword, "CBPassword"); |
|
344 _LIT8(KCBDefaultPassword, "0000"); |
|
345 |
|
346 //Constant for CCallWaiting |
|
347 _LIT8(KCWList,"CWList"); |
|
348 |
|
349 //Constants for USIM Application support |
|
350 _LIT8(KUSIMAppInfo, "USIMAppInfo"); |
|
351 _LIT8(KUSIMAppSwitching, "USIMAppSwitching"); |
|
352 |
|
353 //Constants for SmartCard Application support |
|
354 _LIT8(KMaxActiveSmartCardApps, "MaxActiveSmartCardApps"); |
|
355 _LIT8(KActiveUSIMApp, "ActiveUSIMApp"); |
|
356 _LIT8(KSmartCardAppInfo, "SmartCardAppInfo"); |
|
357 _LIT8(KSmartCardAppEvent, "SmartCardAppEvent"); |
|
358 _LIT8(KSmartCardFile, "SmartCardFile"); |
|
359 |
|
360 #define CB_ACTIVATE_ALL_OUTGOING _L("**33*") //Activate barr all outgoing calls |
|
361 #define CB_DEACTIVATE_ALL_OUTGOING _L("#33*") //DeActivate barr all outgoing calls |
|
362 #define CB_CHECK_STATUS _L("*#33#") //Check status of barr all outgoing calls |
|
363 |
|
364 //Constants for Flash With Info Message (CDMA Call) |
|
365 _LIT8(KFlashCallRx,"FlashCallRx"); |
|
366 |
|
367 // |
|
368 // Definitions for CDMA SimTsy Features |
|
369 // |
|
370 |
|
371 /*//Constants for Incoming Info Record Notifications |
|
372 _LIT8(KInfoRecordRx,"InfoRecordRx"); |
|
373 |
|
374 //Constants for Preferred Languages |
|
375 _LIT8(KPrefLangList,"PrefLangList"); |
|
376 _LIT8(KPrefLangTimers,"PrefLangTimers"); |
|
377 _LIT8(KPrefLangListChange,"PrefLangListChange"); |
|
378 |
|
379 //Constants for Location Privacy |
|
380 _LIT8(KLocPriSetting,"LocPriSetting"); |
|
381 _LIT8(KLocPriTimers,"LocPriTimers"); |
|
382 |
|
383 //Constants for Tty Mode |
|
384 _LIT8(KTtyMode,"TtyMode"); |
|
385 _LIT8(KTtyModeTimers,"TtyModeTimers"); |
|
386 |
|
387 //Constants for Ruim |
|
388 _LIT8(KRuimRevNum,"RuimRevNum"); |
|
389 _LIT8(KRuimTimers,"RuimTimers");*/ |
|
390 |
|
391 //Constants for Roaming Status |
|
392 _LIT8(KRoamStatTimers,"RoamStatTimers"); |
|
393 |
|
394 /*//Constants for Ota |
|
395 _LIT8(KOtaTimers,"OtaTimers"); |
|
396 _LIT8(KOtaSetting,"OtaSetting"); |
|
397 _LIT8(KOtaStatus,"OtaStatus"); |
|
398 |
|
399 //Constants for Emergency Mode |
|
400 _LIT8(KEmergModeTimers,"EmergencyModeTimers"); |
|
401 |
|
402 //Constants for DTMF Mode and Duration |
|
403 _LIT8(KDtmfMode,"DtmfMode"); |
|
404 _LIT8(KDtmfModeTimers,"DtmfModeTimers"); |
|
405 _LIT8(KDtmfDuration,"DtmfDuration"); |
|
406 _LIT8(KDtmfDurationTimers,"DtmfDurationTimers");*/ |
|
407 |
|
408 _LIT8(KTsyMode,"TsyMode"); |
|
409 |
|
410 //Constants for Authorization Tokens and Flow Identifiers |
|
411 _LIT8(KAuthorizationToken,"AuthorizationToken"); |
|
412 _LIT8(KFlowIdentifier, "FlowIdentifier"); |
|
413 |
|
414 //Constants for use in config.txt to describe EAP procedures |
|
415 _LIT8(KScEapProcedures, "EapProcedure"); |
|
416 _LIT8(KScEapIdentity, "EapId"); |
|
417 _LIT8(KScEapPsIdentity, "EapPseudonymId"); |
|
418 _LIT8(KScEapKeyMSK, "EapMasterKey"); |
|
419 _LIT8(KScEapKeyEMSK, "EapExtMasterKey"); |
|
420 _LIT8(KScEapChallenge, "EapChallenge"); |
|
421 |
|
422 //Constants for USIM Release 6 support |
|
423 _LIT8(KUsimGBA,"GBAAuth"); |
|
424 _LIT8(KUsimMailBoxIdInfo,"MailBoxIdInfo"); |
|
425 _LIT8(KUsimMessageWaitingIdInfo,"MessageWaitingIdInfo"); |
|
426 _LIT8(KUsimWlanDataInfo,"WlanDataInfo"); |
|
427 _LIT8(KUsimWlanSidInfo,"WlanSidInfo"); |
|
428 _LIT8(KUsimPreferredNetworksInfo,"PreferredNetworkInfo"); |
|
429 |
|
430 //Constants for Simulated Version Switching |
|
431 const TInt KSimTsyDefaultVersion = 9999; |
|
432 _LIT8(KTsyVersionNumber, "TsyVersionNumber"); |
|
433 |
|
434 const TInt KNumberofConfigs = 11; //< Chosen at random. |
|
435 const TInt KMaxNumberofConfigsChanges = 11; //< Chosen at random. |
|
436 |
|
437 //Constants to identify the command number |
|
438 #define SIMTSY_RET_MM_PCMD_NUMBER 0xB1 |
|
439 #define SIMTSY_SUB_MM_PCMD_NUMBER 0xB2 |
|
440 #define SIMTSY_DISP_MM_PCMD_NUMBER 0xB3 |
|
441 #define SIMTSY_SET_FRMS_PCMD_NUMBER 0xB4 |
|
442 #define SIMTSY_GET_FRMS_STS_PCMD_NUMBER 0xB5 |
|
443 #define SIMTSY_PRV_LCL_INFO_PCMD_NUMBER 0xB6 |
|
444 #define SIMTSY_OPEN_CHAN_PCMD_NUMBER 0xB7 |
|
445 #define SIMTSY_PLAY_TONE_PCMD_NUMBER 0xB8 |
|
446 #define SIMTSY_SETUP_CALL_PCMD_NUMBER 0xB9 |
|
447 #define SIMTSY_REFRESH_PCMD_NUMBER 0xBA |
|
448 #define SIMTSY_SEND_USSD_PCMD_NUMBER 0xBB |
|
449 #define SIMTSY_GET_INKEY_PCMD_NUMBER 0xBC |
|
450 #define SIMTSY_LNCH_BRWSR_PCMD_NUMBER 0xBD |
|
451 #define SIMTSY_EVENT_LIST_CMD_NUMBER 0xBE |
|
452 #define SIMTSY_SENDSS_CMD_NUMBER 0xBF |
|
453 #define SIMTSY_ELEMFILES_CMD_NUMBER 0xC1 |
|
454 #define SIMTSY_USSD_CMD_NUMBER 0xC3 |
|
455 #define SIMTSY_MMSNOTIFICATIONDOWNLOAD_CMD_NUMBER 0xC4 |
|
456 |
|
457 //Constants for USIM Release 6 support |
|
458 #define SIMTSY_GBA_NAFLIST_COUNT (3) |
|
459 #define SIMTSY_MBMS_MSKLIST_COUNT (3) |
|
460 |
|
461 // RMobilePhone::GBAAuthentication information parameters |
|
462 _LIT8(KGBAAuthInfo, "GBAAuthInfo"); |
|
463 _LIT8(KGBAListInfo, "GBAListInfo"); |
|
464 _LIT8(KMBMSInfo, "MBMSInfo"); |
|
465 _LIT8(KMBMSListInfo,"MBMSListInfo"); |
|
466 |
|
467 _LIT8(KConfigScWlanAuthAUTN, "WLAN_AUTN_IN"); |
|
468 _LIT8(KConfigScWlanAuthRAND, "WLAN_RAND_IN"); |
|
469 _LIT8(KConfigScWlanAuthRES, "WLAN_RES_OUT"); |
|
470 _LIT8(KConfigScWlanAuthIK, "WLAN_IK_OUT"); |
|
471 _LIT8(KConfigScWlanAuthCK, "WLAN_CK_OUT"); |
|
472 |
|
473 _LIT8(KConfigScWlan, "WLAN"); |
|
474 _LIT8(KConfigScWlanNotSupported,"NotSupported"); |
|
475 _LIT8(KWlanAid, "WlanAid"); |
|
476 |
|
477 #define SIMTSY_PHONE_WLAN_SIDLIST_COUNT (3) |
|
478 |
|
479 #define SIMTSY_PHONE_WLAN_PSEUDONYM (RMobilePhone::KWlanPseudonym) |
|
480 #define SIMTSY_PHONE_WLAN_REAUTHID (RMobilePhone::KWlanReauthenticationId) |
|
481 #define SIMTSY_PHONE_WLAN_MASTERKEY (RMobilePhone::KWlanMasterKey) |
|
482 #define SIMTSY_PHONE_WLAN_COUNTER (RMobilePhone::KWlanCounter) |
|
483 #define SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS1 ((SIMTSY_PHONE_WLAN_PSEUDONYM | \ |
|
484 SIMTSY_PHONE_WLAN_REAUTHID |\ |
|
485 SIMTSY_PHONE_WLAN_MASTERKEY |\ |
|
486 SIMTSY_PHONE_WLAN_COUNTER )) |
|
487 |
|
488 #define SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS ((SIMTSY_PHONE_WLAN_PSEUDONYM | \ |
|
489 SIMTSY_PHONE_WLAN_REAUTHID)) |
|
490 |
|
491 #define SIMTSY_PHONE_WLAN_VALID_PSEUDONYM (_L8("SIM_VAL_PNYM__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345690301234567890123456123432")) |
|
492 #define SIMTSY_PHONE_WLAN_VALID_REAUTHID (_L8("SIM_VAL_REAID_ABCD78ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678908712345678901234523435")) |
|
493 #define SIMTSY_PHONE_WLAN_VALID_MASTERKEY (_L8("SIM_VAL_MASTERKEY_EFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678123456123435")) |
|
494 #define SIMTSY_PHONE_WLAN_VALID_COUNTER (_L8("SIM_VAL_COUNTER_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678923456123435")) |
|
495 |
|
496 #define SIMTSY_PHONE_WLAN_INVALID_PSEUDONYM (_L8("SIM_INV_PNYM")) |
|
497 #define SIMTSY_PHONE_WLAN_INVALID_REAUTHID (_L8("SIM_INV_REAID")) |
|
498 #define SIMTSY_PHONE_WLAN_INVALID_MASTERKEY (_L8("SIM_INV_MASTERKEY")) |
|
499 #define SIMTSY_PHONE_WLAN_INVALID_COUNTER (_L8("SIM_INV_CTR")) |
|
500 |
|
501 #define SIMTSY_PHONE_WLAN_ACESS_DENIED (_L8("ACCESS_DENIED")) |
|
502 |
|
503 #define SIMTSY_PHONE_WLAN_WSID_ONE (_L8("Wlan")) |
|
504 #define SIMTSY_PHONE_WLAN_USERDEFD_ONE (TBool)(ETrue) |
|
505 |
|
506 #define SIMTSY_PHONE_WLAN_WSID_TWO (_L8("Wlan")) |
|
507 #define SIMTSY_PHONE_WLAN_USERDEFD_TWO (TBool)(ETrue) |
|
508 |
|
509 #define SIMTSY_PHONE_WLAN_WSID_THREE (_L8("Wlan")) |
|
510 #define SIMTSY_PHONE_WLAN_USERDEFD_THREE (TBool)(EFalse) |
|
511 |
|
512 #define SIMTSY_PHONE_WLAN_INVALID_WSID_ONE (_L8("SIM_INV_SID_1")) |
|
513 #define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_ONE (TBool)(ETrue) |
|
514 |
|
515 #define SIMTSY_PHONE_WLAN_INVALID_WSID_TWO (_L8("SIM_INV_SID_2")) |
|
516 #define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_TWO (TBool)(EFalse) |
|
517 |
|
518 #define SIMTSY_PHONE_WLAN_INVALID_WSID_THREE (_L8("SIM_INV_SID_3")) |
|
519 #define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_THREE (TBool)(EFalse) |
|
520 |
|
521 #define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSM (RMobilePhone::KNetworkAccessGsm) |
|
522 #define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSMC (RMobilePhone::KNetworkAccessGsmCompact) |
|
523 #define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_UTRAN (RMobilePhone::KNetworkAccessUtran) |
|
524 #define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_WLAN (RMobilePhone::KNetworkAccessWLAN) |
|
525 |
|
526 #define SIMTSY_PHONE_NTWK_LIST_NETWORK_ID1 _L("MNC1") |
|
527 #define SIMTSY_PHONE_NTWK_LIST_NETWORK_ID2 _L("MNC2") |
|
528 #define SIMTSY_PHONE_NTWK_LIST_COUNTRY_ID1 _L("MCC1") |
|
529 #define SIMTSY_PHONE_NTWK_LIST_COUNTRY_ID2 _L("MCC2") |
|
530 |
|
531 #define SIMTSY_PHONE_NTWK_LIST_USER_DEFINED_TRUE (TBool)(ETrue) |
|
532 #define SIMTSY_PHONE_NTWK_LIST_USER_DEFINED_FALSE (TBool)(EFalse) |
|
533 |
|
534 #define SIMTSY_PHONE_NTWK_LIST_ENTRIES (4) |
|
535 |
|
536 _LIT8(KMBMSBroadCastPacketServiceParams, "MBMSBroadCastPacketServiceParams"); |
|
537 _LIT8(KMBMSBroadcastMonitorList,"MBMSBroadcastMonitorList"); |
|
538 _LIT8(KMBMSSessionIdList,"MBMSSessionIdList"); |
|
539 |
|
540 #define SIMTSY_PACKET_MBMS_ADD_ENTRIES_COUNT (2) |
|
541 #define SIMTSY_PACKET_MBMS_REM_ENTRIES_COUNT (2) |
|
542 |
|
543 #define SIMTSY_PACKET_MBMS_ADD_ENTRIES EAddEntries |
|
544 #define SIMTSY_PACKET_MBMS_REM_ENTRIES ERemoveEntries |
|
545 #define SIMTSY_PACKET_MBMS_REM_ALL_ENTRIES ERemoveAllEntries |
|
546 |
|
547 #endif // __SIMCONSTANTS_H__ |
|
548 |