24
+ − 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(KPhoneId,"PhoneId"); // < Configuration tag for PhoneId
+ − 170
_LIT8(KPhoneManufacturerDefault, "Symbian"); // < Default Manufacturer
+ − 171
_LIT8(KPhoneModelDefault, "888"); // < Default Model
+ − 172
_LIT8(KPhoneRevesionDefault, "0.1"); // < Default Revision
+ − 173
_LIT8(KPhoneSerialNumberDefault, "987654321"); // < Default Serail Number
+ − 174
+ − 175
_LIT8(KNetworkMode,"NetworkMode"); // < Configuration tag for Network Mode
+ − 176
const TInt KNetworkModeDefault=(TInt)RMobilePhone::ENetworkModeGsm;
+ − 177
// < Default Network Mode (used if no network mode is present)
+ − 178
+ − 179
_LIT8(KCommSetup,"CommSetup"); // < Configuration tag for communications port set-up.
+ − 180
+ − 181
_LIT8(KBearerService,"BearerService"); // < Configuration tag for Bearer Service information.
+ − 182
const TUint32 KDefaultBearerCaps=RCall::KBearerCapsProtocolNone; // < Default Bearer Capability information, used if no configuration file tag is present.
+ − 183
const RCall::TCallBearerSpeed KDefaultBearerSpeed=RCall::EBearerData9600; // < Default Bearer Speed information, used if no configuration file tag is present.
+ − 184
+ − 185
// default notification type is 'Timer'
+ − 186
_LIT8(KNotificationTypeTimer, "Timer");
+ − 187
_LIT8(KNotificationTypePublishSubscribe, "PublishSubscribe");
+ − 188
+ − 189
_LIT8(KPacketRegStatus,"PacketRegStatus");
+ − 190
_LIT8(KNetworkRegStatusType,"NetworkRegStatusType");
+ − 191
_LIT8(KNetworkRegStatus,"NetworkRegStatus");
+ − 192
_LIT8(KDynamicCaps,"DynamicCaps");
+ − 193
+ − 194
_LIT8(KQosProfileReqGPRS,"QosProfileReqGPRS");
+ − 195
_LIT8(KQosProfileNegGPRS,"QosProfileNegGPRS");
+ − 196
//_LIT8(KQosProfileReqCDMA,"QosProfileReqCDMA");
+ − 197
//_LIT8(KQosProfileNegCDMA,"QosProfileNegCDMA");
+ − 198
_LIT8(KQosProfileCapsGPRS,"QosProfileCapsGPRS");
+ − 199
//_LIT8(KQosProfileCapsCDMA,"QosProfileCapsCDMA");
+ − 200
+ − 201
_LIT8(KQosProfileReqR99, "QosProfileReqR99");
+ − 202
_LIT8(KQosProfileNegR99, "QosProfileNegR99");
+ − 203
_LIT8(KQosProfileCapsR99, "QosProfileCapsR99");
+ − 204
+ − 205
_LIT8(KQosProfileReqR5, "QosProfileReqR5");
+ − 206
_LIT8(KQosProfileNegR5, "QosProfileNegR5");
+ − 207
_LIT8(KQosProfileCapsR5, "QosProfileCapsR5");
+ − 208
+ − 209
_LIT8(KQosNetworkNotification, "QosNetworkNotification");
+ − 210
_LIT8(KQosR5NetworkNotification, "QosR5NetworkNotification");
+ − 211
_LIT8(KQosNetworkNotificationType, "QosNetworkNotificationType");
+ − 212
_LIT8(KSetProfileFail, "SetProfileFail");
+ − 213
+ − 214
_LIT8(KSetConfigFail, "SetConfigFail");
+ − 215
_LIT8(KSetConfigDelay, "SetConfigDelay");
+ − 216
_LIT8(KDeleteTftFail, "DeleteTftFail");
+ − 217
_LIT8(KCreateTftConfig, "CreateTftConfig");
+ − 218
_LIT8(KAddPacketFilter, "AddPacketFilter");
+ − 219
_LIT8(KSetQoSDelay, "SetQoSDelay");
+ − 220
+ − 221
+ − 222
/**** */
+ − 223
+ − 224
_LIT8(KPacketReleaseMode, "ReleaseMode");
+ − 225
_LIT8(KContextConfigRel99,"R99ContextConfig");
+ − 226
+ − 227
_LIT8(KSetContextConfigGPRS,"SetContextConfigGPRS");
+ − 228
_LIT8(KDefaultContextparamGPRS,"DefaultContextparamGPRS");
+ − 229
_LIT8(KDefaultGPRSAdditionalParamItem, "DefaultGPRSAdditionalParamItem");
+ − 230
_LIT8(KAdditionalParamItemGPRS, "AdditionalParamItemGPRS");
+ − 231
+ − 232
//_LIT8(KSetContextConfigCDMA,"SetContextConfigCDMA");
+ − 233
//_LIT8(KDefaultContextparamCDMA,"DefaultContextparamCDMA");
+ − 234
+ − 235
_LIT8(KSetContextConfigRel99,"SetContextConfigR99");
+ − 236
_LIT8(KDefaultContextparamRel99,"DefaultContextparamRel99");
+ − 237
_LIT8(KDefaultAdditionalParamItemRel99,"DefaultAdditionalParamItemRel99");
+ − 238
_LIT8(KAdditionalParamItemRel99, "AdditionalParamItemRel99");
+ − 239
+ − 240
_LIT8(KSetContextConfigRel5,"SetContextConfigR5");
+ − 241
_LIT8(KAdditionalParamItem, "AdditionalParamItem");
+ − 242
_LIT8(KDefaultContextParamRel5,"DefaultContextParamRel5");
+ − 243
_LIT8(KDefaultAdditionalParamItem, "DefaultAdditionalParamItem");
+ − 244
+ − 245
+ − 246
_LIT8(KDelayIncomingContext, "DelayIncomingContext");
+ − 247
_LIT8(KNoTypeIndex, "NoTypeIndex");
+ − 248
+ − 249
+ − 250
_LIT8(KPacketFilterInfo, "TFTfilter");
+ − 251
_LIT8(KNotifyContextStatusChange, "NotifyContextStatusChange");
+ − 252
_LIT8(KNotifyContextStatusChangeType, "NotifyContextStatusChangeType");
+ − 253
_LIT8(KNotifyContextConfigChange, "NotifyContextConfigChange");
+ − 254
+ − 255
+ − 256
_LIT8(KAuthorizationInfo, "IMSAuthorizationInfo");
+ − 257
_LIT8(KAuthenticationInfo, "IMSAuthenticationInfo");
+ − 258
+ − 259
// Services Control table entry's
+ − 260
_LIT8(KUSIMServiceTableSupportedEntrys, "USIMServiceTableSupportedEntrys");
+ − 261
_LIT8(USIMServiceTableEnabledEntrys, "USIMServiceTableEnabledEntrys");
+ − 262
_LIT8(KSIMServiceTable, "SIMServiceTable");
+ − 263
//_LIT8(KCDMAServiceTable, "CDMAServiceTable");
+ − 264
+ − 265
// EF - ACL (Access Control List)
+ − 266
_LIT8(KAccessPointNameList, "APNControlList");
+ − 267
+ − 268
// RMobilePhone::SmartCardAuthenticate() response info
+ − 269
_LIT8(KScAuthInfo, "SmartCardAuthInfo");
+ − 270
+ − 271
// Constants for the Phone
+ − 272
const TInt KNumberOfPhones=1; //< Only one phone is supported by this TSY.
+ − 273
_LIT8(KPhoneStatus, "PhoneStatus");
+ − 274
_LIT8(KPhoneInitialiseDelay, "PhoneInitialiseDelay");
+ − 275
+ − 276
// Constants for the line
+ − 277
const TInt KNumberOfLines=2; //< Two lines (voice and data) are supported by this TSY.
+ − 278
const TInt KVoiceLineIndex=0; //< The line index number for the voice line, used for the phone-based GetInfo request.
+ − 279
const TInt KDataLineIndex=1; //< The line index number for the data line, used for the phone-based GetInfo request.
+ − 280
+ − 281
//Constants for Calls
+ − 282
_LIT(KVoiceCallName,"SimCall"); //< Voice call name
+ − 283
_LIT(KDataCallName,"DataCall"); //< Data call name
+ − 284
+ − 285
//Constants for Sms Messaging and Sms Store
+ − 286
_LIT(KSimSmsMessagingName,"SimSmsMessaging"); //< The name of the Sms messaging supported by this TSY.
+ − 287
_LIT(KSimSmsStoreName,"SimSmsStore"); //< The name of the Sms store supported by this TSY.
+ − 288
+ − 289
//Constants for PhoneBook
+ − 290
_LIT(KPhoneBookName,"SimPhoneBook"); //< The name of the phone book supported by this TSY.
+ − 291
+ − 292
//Constants for packet
+ − 293
_LIT(KSimPacketName,"SimPacket"); //< The name of the packet supported by this TSY.
+ − 294
+ − 295
//Constants for packet
+ − 296
_LIT(KSimPacketServiceName,"PACKET_SERVICE"); //< The name of the packet supported by this TSY.
+ − 297
_LIT(KSimPacketPrimaryContextName,"PRIMARY");
+ − 298
_LIT(KSimPacketSecondaryContextName,"SECONDARY");
+ − 299
+ − 300
_LIT(KSimPacketQosName,"PACKET_QOS");
+ − 301
_LIT8(KAttachPauseDuration,"AttachPauseDuration");
+ − 302
_LIT8(KDetachPauseDuration,"DetachPauseDuration");
+ − 303
+ − 304
_LIT8(KActivatePauseDuration,"ActivatePauseDuration");
+ − 305
_LIT8(KDeactivatePauseDuration,"DeactivatePauseDuration");
+ − 306
_LIT8(KDeletePauseDuration,"DeletePauseDuration");
+ − 307
+ − 308
// constants for logging names
+ − 309
_LIT(KSimLogDir,"simtsy"); // < Simulator TSY log file directory .
+ − 310
_LIT(KSimLogFile,"simtsy.txt"); // < Simulator TSY log file.
+ − 311
+ − 312
//Constants for CSIMSAT
+ − 313
_LIT(KSatName,"TOOLKIT"); //< Name of the sat to be opened by CSimPhone
+ − 314
_LIT8(KSatRefresh,"SatRefresh"); // < Configuration tag for Sat
+ − 315
_LIT8(KMMRetrieve,"MMRetrieve"); //< Configuration tag for EtelSat MMRetrieve Proactive command
+ − 316
_LIT8(KMMSubmit,"MMSubmit"); //< Configuration tag for EtelSat MMSubmit Proactive command
+ − 317
_LIT8(KMMDisplay,"MMDisplay"); //< Configuration tag for EtelSat MMDisplay Proactive command
+ − 318
_LIT8(KSetFrames,"SetFrames"); //< Configuration tag for EtelSat SetFrames Proactive command
+ − 319
_LIT8(KGetFramesStatus,"GetFramesSts"); //< Configuration tag for EtelSat GetFramesSts Proactive command
+ − 320
_LIT8(KMmsNotificationDownload,"MmsNotificationDownload"); //< Configuration tag for EtelSat MMS Notification Download command
+ − 321
_LIT8(KUssdDataDownload,"UssdDataDownload"); //< Configuration tag for EtelSat USSD Data Download command
+ − 322
_LIT8(KLocalInfo,"ProvideLocalInfo"); //< Configuration tag for EtelSat PROVIDE LOCAL INFORMATION command
+ − 323
_LIT8(KOpenChnl,"OpenChannel"); //< Configuration tag for EtelSat OPEN CHANNEL PROACTIVE COMMAND
+ − 324
_LIT8(KMiscCmd,"MiscCmd"); //< Configuration tag for EtelSat PLAY TONE PROACTIVE COMMAND
+ − 325
_LIT8(KEventDnld,"EventDnld"); //< Configuration tag for EtelSat EVENT DOWNLOAD COMMAND
+ − 326
_LIT8(KSendUssd,"SendUssd"); //<Configuration tag for EtelSat SEND USSD command
+ − 327
_LIT8(KSendSs,"SendSs"); //<Configuration tag for EtelSat SEND SS command
+ − 328
_LIT8(KRefresh2,"Refresh"); //<Configuration tag for EtelSat REFRESH command
+ − 329
_LIT8(KElemFiles,"ElemFiles"); //<Configuration tag for EtelSat REFRESH command
+ − 330
_LIT8(KLaunchBrowser,"LnchBrwsr"); //<Configuration tag for EtelSat LAUNCH BROWSER command
+ − 331
+ − 332
//Constants for callforwarding
+ − 333
_LIT8(KCFList,"CFList");
+ − 334
_LIT8(KPhoneNumber, "PhoneNumber");
+ − 335
_LIT8(KCallForwardingInfo, "CallForwardingInfo");
+ − 336
_LIT8(KIdentityServiceStatus, "IdentityServiceStatus");
+ − 337
_LIT8(KEmptyString, "");
+ − 338
+ − 339
//Constant for CCallBarring
+ − 340
_LIT8(KCallBarringInfo, "CallBarringInfo");
+ − 341
_LIT8(KCBList,"CBList");
+ − 342
_LIT8(KCBPassword, "CBPassword");
+ − 343
_LIT8(KCBDefaultPassword, "0000");
+ − 344
+ − 345
//Constant for CCallWaiting
+ − 346
_LIT8(KCWList,"CWList");
+ − 347
+ − 348
//Constants for USIM Application support
+ − 349
_LIT8(KUSIMAppInfo, "USIMAppInfo");
+ − 350
_LIT8(KUSIMAppSwitching, "USIMAppSwitching");
+ − 351
+ − 352
//Constants for SmartCard Application support
+ − 353
_LIT8(KMaxActiveSmartCardApps, "MaxActiveSmartCardApps");
+ − 354
_LIT8(KActiveUSIMApp, "ActiveUSIMApp");
+ − 355
_LIT8(KSmartCardAppInfo, "SmartCardAppInfo");
+ − 356
_LIT8(KSmartCardAppEvent, "SmartCardAppEvent");
+ − 357
_LIT8(KSmartCardFile, "SmartCardFile");
+ − 358
+ − 359
#define CB_ACTIVATE_ALL_OUTGOING _L("**33*") //Activate barr all outgoing calls
+ − 360
#define CB_DEACTIVATE_ALL_OUTGOING _L("#33*") //DeActivate barr all outgoing calls
+ − 361
#define CB_CHECK_STATUS _L("*#33#") //Check status of barr all outgoing calls
+ − 362
+ − 363
//Constants for Flash With Info Message (CDMA Call)
+ − 364
_LIT8(KFlashCallRx,"FlashCallRx");
+ − 365
+ − 366
//
+ − 367
// Definitions for CDMA SimTsy Features
+ − 368
//
+ − 369
+ − 370
/*//Constants for Incoming Info Record Notifications
+ − 371
_LIT8(KInfoRecordRx,"InfoRecordRx");
+ − 372
+ − 373
//Constants for Preferred Languages
+ − 374
_LIT8(KPrefLangList,"PrefLangList");
+ − 375
_LIT8(KPrefLangTimers,"PrefLangTimers");
+ − 376
_LIT8(KPrefLangListChange,"PrefLangListChange");
+ − 377
+ − 378
//Constants for Location Privacy
+ − 379
_LIT8(KLocPriSetting,"LocPriSetting");
+ − 380
_LIT8(KLocPriTimers,"LocPriTimers");
+ − 381
+ − 382
//Constants for Tty Mode
+ − 383
_LIT8(KTtyMode,"TtyMode");
+ − 384
_LIT8(KTtyModeTimers,"TtyModeTimers");
+ − 385
+ − 386
//Constants for Ruim
+ − 387
_LIT8(KRuimRevNum,"RuimRevNum");
+ − 388
_LIT8(KRuimTimers,"RuimTimers");*/
+ − 389
+ − 390
//Constants for Roaming Status
+ − 391
_LIT8(KRoamStatTimers,"RoamStatTimers");
+ − 392
+ − 393
/*//Constants for Ota
+ − 394
_LIT8(KOtaTimers,"OtaTimers");
+ − 395
_LIT8(KOtaSetting,"OtaSetting");
+ − 396
_LIT8(KOtaStatus,"OtaStatus");
+ − 397
+ − 398
//Constants for Emergency Mode
+ − 399
_LIT8(KEmergModeTimers,"EmergencyModeTimers");
+ − 400
+ − 401
//Constants for DTMF Mode and Duration
+ − 402
_LIT8(KDtmfMode,"DtmfMode");
+ − 403
_LIT8(KDtmfModeTimers,"DtmfModeTimers");
+ − 404
_LIT8(KDtmfDuration,"DtmfDuration");
+ − 405
_LIT8(KDtmfDurationTimers,"DtmfDurationTimers");*/
+ − 406
+ − 407
_LIT8(KTsyMode,"TsyMode");
+ − 408
+ − 409
//Constants for Authorization Tokens and Flow Identifiers
+ − 410
_LIT8(KAuthorizationToken,"AuthorizationToken");
+ − 411
_LIT8(KFlowIdentifier, "FlowIdentifier");
+ − 412
+ − 413
//Constants for use in config.txt to describe EAP procedures
+ − 414
_LIT8(KScEapProcedures, "EapProcedure");
+ − 415
_LIT8(KScEapIdentity, "EapId");
+ − 416
_LIT8(KScEapPsIdentity, "EapPseudonymId");
+ − 417
_LIT8(KScEapKeyMSK, "EapMasterKey");
+ − 418
_LIT8(KScEapKeyEMSK, "EapExtMasterKey");
+ − 419
_LIT8(KScEapChallenge, "EapChallenge");
+ − 420
+ − 421
//Constants for USIM Release 6 support
+ − 422
_LIT8(KUsimGBA,"GBAAuth");
+ − 423
_LIT8(KUsimMailBoxIdInfo,"MailBoxIdInfo");
+ − 424
_LIT8(KUsimMessageWaitingIdInfo,"MessageWaitingIdInfo");
+ − 425
_LIT8(KUsimWlanDataInfo,"WlanDataInfo");
+ − 426
_LIT8(KUsimWlanSidInfo,"WlanSidInfo");
+ − 427
_LIT8(KUsimPreferredNetworksInfo,"PreferredNetworkInfo");
+ − 428
+ − 429
//Constants for Simulated Version Switching
+ − 430
const TInt KSimTsyDefaultVersion = 9999;
+ − 431
_LIT8(KTsyVersionNumber, "TsyVersionNumber");
+ − 432
+ − 433
const TInt KNumberofConfigs = 11; //< Chosen at random.
+ − 434
const TInt KMaxNumberofConfigsChanges = 11; //< Chosen at random.
+ − 435
+ − 436
//Constants to identify the command number
+ − 437
#define SIMTSY_RET_MM_PCMD_NUMBER 0xB1
+ − 438
#define SIMTSY_SUB_MM_PCMD_NUMBER 0xB2
+ − 439
#define SIMTSY_DISP_MM_PCMD_NUMBER 0xB3
+ − 440
#define SIMTSY_SET_FRMS_PCMD_NUMBER 0xB4
+ − 441
#define SIMTSY_GET_FRMS_STS_PCMD_NUMBER 0xB5
+ − 442
#define SIMTSY_PRV_LCL_INFO_PCMD_NUMBER 0xB6
+ − 443
#define SIMTSY_OPEN_CHAN_PCMD_NUMBER 0xB7
+ − 444
#define SIMTSY_PLAY_TONE_PCMD_NUMBER 0xB8
+ − 445
#define SIMTSY_SETUP_CALL_PCMD_NUMBER 0xB9
+ − 446
#define SIMTSY_REFRESH_PCMD_NUMBER 0xBA
+ − 447
#define SIMTSY_SEND_USSD_PCMD_NUMBER 0xBB
+ − 448
#define SIMTSY_GET_INKEY_PCMD_NUMBER 0xBC
+ − 449
#define SIMTSY_LNCH_BRWSR_PCMD_NUMBER 0xBD
+ − 450
#define SIMTSY_EVENT_LIST_CMD_NUMBER 0xBE
+ − 451
#define SIMTSY_SENDSS_CMD_NUMBER 0xBF
+ − 452
#define SIMTSY_ELEMFILES_CMD_NUMBER 0xC1
+ − 453
#define SIMTSY_USSD_CMD_NUMBER 0xC3
+ − 454
#define SIMTSY_MMSNOTIFICATIONDOWNLOAD_CMD_NUMBER 0xC4
+ − 455
+ − 456
//Constants for USIM Release 6 support
+ − 457
#define SIMTSY_GBA_NAFLIST_COUNT (3)
+ − 458
#define SIMTSY_MBMS_MSKLIST_COUNT (3)
+ − 459
+ − 460
// RMobilePhone::GBAAuthentication information parameters
+ − 461
_LIT8(KGBAAuthInfo, "GBAAuthInfo");
+ − 462
_LIT8(KGBAListInfo, "GBAListInfo");
+ − 463
_LIT8(KMBMSInfo, "MBMSInfo");
+ − 464
_LIT8(KMBMSListInfo,"MBMSListInfo");
+ − 465
+ − 466
_LIT8(KConfigScWlanAuthAUTN, "WLAN_AUTN_IN");
+ − 467
_LIT8(KConfigScWlanAuthRAND, "WLAN_RAND_IN");
+ − 468
_LIT8(KConfigScWlanAuthRES, "WLAN_RES_OUT");
+ − 469
_LIT8(KConfigScWlanAuthIK, "WLAN_IK_OUT");
+ − 470
_LIT8(KConfigScWlanAuthCK, "WLAN_CK_OUT");
+ − 471
+ − 472
_LIT8(KConfigScWlan, "WLAN");
+ − 473
_LIT8(KConfigScWlanNotSupported,"NotSupported");
+ − 474
_LIT8(KWlanAid, "WlanAid");
+ − 475
+ − 476
#define SIMTSY_PHONE_WLAN_SIDLIST_COUNT (3)
+ − 477
+ − 478
#define SIMTSY_PHONE_WLAN_PSEUDONYM (RMobilePhone::KWlanPseudonym)
+ − 479
#define SIMTSY_PHONE_WLAN_REAUTHID (RMobilePhone::KWlanReauthenticationId)
+ − 480
#define SIMTSY_PHONE_WLAN_MASTERKEY (RMobilePhone::KWlanMasterKey)
+ − 481
#define SIMTSY_PHONE_WLAN_COUNTER (RMobilePhone::KWlanCounter)
+ − 482
#define SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS1 ((SIMTSY_PHONE_WLAN_PSEUDONYM | \
+ − 483
SIMTSY_PHONE_WLAN_REAUTHID |\
+ − 484
SIMTSY_PHONE_WLAN_MASTERKEY |\
+ − 485
SIMTSY_PHONE_WLAN_COUNTER ))
+ − 486
+ − 487
#define SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS ((SIMTSY_PHONE_WLAN_PSEUDONYM | \
+ − 488
SIMTSY_PHONE_WLAN_REAUTHID))
+ − 489
+ − 490
#define SIMTSY_PHONE_WLAN_VALID_PSEUDONYM (_L8("SIM_VAL_PNYM__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345690301234567890123456123432"))
+ − 491
#define SIMTSY_PHONE_WLAN_VALID_REAUTHID (_L8("SIM_VAL_REAID_ABCD78ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678908712345678901234523435"))
+ − 492
#define SIMTSY_PHONE_WLAN_VALID_MASTERKEY (_L8("SIM_VAL_MASTERKEY_EFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678123456123435"))
+ − 493
#define SIMTSY_PHONE_WLAN_VALID_COUNTER (_L8("SIM_VAL_COUNTER_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678923456123435"))
+ − 494
+ − 495
#define SIMTSY_PHONE_WLAN_INVALID_PSEUDONYM (_L8("SIM_INV_PNYM"))
+ − 496
#define SIMTSY_PHONE_WLAN_INVALID_REAUTHID (_L8("SIM_INV_REAID"))
+ − 497
#define SIMTSY_PHONE_WLAN_INVALID_MASTERKEY (_L8("SIM_INV_MASTERKEY"))
+ − 498
#define SIMTSY_PHONE_WLAN_INVALID_COUNTER (_L8("SIM_INV_CTR"))
+ − 499
+ − 500
#define SIMTSY_PHONE_WLAN_ACESS_DENIED (_L8("ACCESS_DENIED"))
+ − 501
+ − 502
#define SIMTSY_PHONE_WLAN_WSID_ONE (_L8("Wlan"))
+ − 503
#define SIMTSY_PHONE_WLAN_USERDEFD_ONE (TBool)(ETrue)
+ − 504
+ − 505
#define SIMTSY_PHONE_WLAN_WSID_TWO (_L8("Wlan"))
+ − 506
#define SIMTSY_PHONE_WLAN_USERDEFD_TWO (TBool)(ETrue)
+ − 507
+ − 508
#define SIMTSY_PHONE_WLAN_WSID_THREE (_L8("Wlan"))
+ − 509
#define SIMTSY_PHONE_WLAN_USERDEFD_THREE (TBool)(EFalse)
+ − 510
+ − 511
#define SIMTSY_PHONE_WLAN_INVALID_WSID_ONE (_L8("SIM_INV_SID_1"))
+ − 512
#define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_ONE (TBool)(ETrue)
+ − 513
+ − 514
#define SIMTSY_PHONE_WLAN_INVALID_WSID_TWO (_L8("SIM_INV_SID_2"))
+ − 515
#define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_TWO (TBool)(EFalse)
+ − 516
+ − 517
#define SIMTSY_PHONE_WLAN_INVALID_WSID_THREE (_L8("SIM_INV_SID_3"))
+ − 518
#define SIMTSY_PHONE_WLAN_INVALID_USERDEFD_THREE (TBool)(EFalse)
+ − 519
+ − 520
#define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSM (RMobilePhone::KNetworkAccessGsm)
+ − 521
#define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSMC (RMobilePhone::KNetworkAccessGsmCompact)
+ − 522
#define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_UTRAN (RMobilePhone::KNetworkAccessUtran)
+ − 523
#define SIMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_WLAN (RMobilePhone::KNetworkAccessWLAN)
+ − 524
+ − 525
#define SIMTSY_PHONE_NTWK_LIST_NETWORK_ID1 _L("MNC1")
+ − 526
#define SIMTSY_PHONE_NTWK_LIST_NETWORK_ID2 _L("MNC2")
+ − 527
#define SIMTSY_PHONE_NTWK_LIST_COUNTRY_ID1 _L("MCC1")
+ − 528
#define SIMTSY_PHONE_NTWK_LIST_COUNTRY_ID2 _L("MCC2")
+ − 529
+ − 530
#define SIMTSY_PHONE_NTWK_LIST_USER_DEFINED_TRUE (TBool)(ETrue)
+ − 531
#define SIMTSY_PHONE_NTWK_LIST_USER_DEFINED_FALSE (TBool)(EFalse)
+ − 532
+ − 533
#define SIMTSY_PHONE_NTWK_LIST_ENTRIES (4)
+ − 534
+ − 535
_LIT8(KMBMSBroadCastPacketServiceParams, "MBMSBroadCastPacketServiceParams");
+ − 536
_LIT8(KMBMSBroadcastMonitorList,"MBMSBroadcastMonitorList");
+ − 537
_LIT8(KMBMSSessionIdList,"MBMSSessionIdList");
+ − 538
+ − 539
#define SIMTSY_PACKET_MBMS_ADD_ENTRIES_COUNT (2)
+ − 540
#define SIMTSY_PACKET_MBMS_REM_ENTRIES_COUNT (2)
+ − 541
+ − 542
#define SIMTSY_PACKET_MBMS_ADD_ENTRIES EAddEntries
+ − 543
#define SIMTSY_PACKET_MBMS_REM_ENTRIES ERemoveEntries
+ − 544
#define SIMTSY_PACKET_MBMS_REM_ALL_ENTRIES ERemoveAllEntries
+ − 545
+ − 546
#endif // __SIMCONSTANTS_H__
+ − 547