|
1 // Copyright (c) 1997-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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalAll |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef __TESTDEF_H |
|
23 #define __TESTDEF_H |
|
24 |
|
25 #include "ETELMM.H" |
|
26 |
|
27 |
|
28 // General Testing name definitions |
|
29 const TInt DMMTSY_TIMEOUT = 100000; |
|
30 |
|
31 #define DMMTSY_LINE_VOICE_NAME _L("Voice") |
|
32 #define DMMTSY_LINE_DATA_NAME _L("Data") |
|
33 #define DMMTSY_LINE_FAX_NAME _L("Fax") |
|
34 #define DMMTSY_LINE_VOICE2_NAME _L("Voice2") |
|
35 |
|
36 #define DMMTSY_CALL_NAME1 _L("Call1") |
|
37 #define DMMTSY_CALL_NAME2 _L("Call2") |
|
38 #define DMMTSY_CALL_NAME3 _L("Call3") |
|
39 |
|
40 #define DMMTSY_PHONE_NAME _L("DMobile") |
|
41 #define DMMTSY_PHONE_NAMEAUTH1 _L("DMobileAuth1") |
|
42 #define DMMTSY_PHONE_NAMEAUTH2 _L("DMobileAuth2") |
|
43 #define DMMTSY_PHONE_NAMEAUTH3 _L("DMobileAuth3") |
|
44 #define DMMTSY_MODULE_NAME _L("DMM") |
|
45 |
|
46 #define DMMTSY_PHONE_TEL_NUMBER _L("0123 456 7890") |
|
47 #define DMMTSY_PHONE_TON RMobilePhone::EInternationalNumber |
|
48 #define DMMTSY_PHONE_NPI RMobilePhone::EIsdnNumberPlan |
|
49 |
|
50 // CoreTsy functionality |
|
51 #define DMMTSY_CALL_BEARER_CAPS RCall::KBearerCapsProtocolALT |
|
52 #define DMMTSY_CALL_BEARER_SPEED RCall::EBearerData4800 |
|
53 |
|
54 #define DMMTSY_FAX_DATA _L8("0123456789") |
|
55 |
|
56 #define DMMTSY_NETWORK_TYPE (RTelServer::ENetworkTypeMobileDigital) |
|
57 #define DMMTSY_NUMBER_OF_PHONES (4) |
|
58 #define DMMTSY_NUMBER_OF_LINES (4) |
|
59 |
|
60 #define DMMTSY_CORE_CALL_STATUS RCall::EStatusIdle |
|
61 #define DMMTSY_CALL_DURATION1 (10) |
|
62 #define DMMTSY_CORE_LINE_CAPS (RLine::KCapsVoice) |
|
63 #define DMMTSY_CORE_LINE_STATUS RCall::EStatusIdle |
|
64 #define DMMTSY_CORE_LINE_STATUS2 RCall::EStatusRinging |
|
65 #define DMMTSY_CORE_PHONE_STATUS RPhone::EDetectedPresent |
|
66 #define DMMTSY_GET_PROGRESS_SPEED (11) |
|
67 #define DMMTSY_MYFAX _L("MY FAX") |
|
68 |
|
69 // Testing RMobilePhone |
|
70 |
|
71 #define DMMTSY_PHONE_MULTIMODE_CAPS (TUint32)(RMobilePhone::KCapsGsmSupported |\ |
|
72 RMobilePhone::KCapsCdma95Supported |\ |
|
73 RMobilePhone::KCapsAmpsSupported) |
|
74 |
|
75 #define DMMTSY_PHONE_STORE_COUNT (2) |
|
76 |
|
77 #define DMMTSY_PHONE_STORE_INDEX1 (0) |
|
78 #define DMMTSY_PHONE_STORE_NAME1 KETelIccSmsStore |
|
79 #define DMMTSY_PHONE_STORE_TYPE1 (RMobilePhoneStore::EShortMessageStore) |
|
80 #define DMMTSY_PHONE_STORE_USED_ENTRIES1 (6) |
|
81 #define DMMTSY_PHONE_STORE_TOTAL_ENTRIES1 (100) |
|
82 #define DMMTSY_PHONE_STORE_CAPS1 (TUint32)(RMobilePhoneStore::KCapsWholeStore |\ |
|
83 RMobilePhoneStore::KCapsIndividualEntry) |
|
84 #define DMMTSY_PHONE_STORE_INDEX2 (1) |
|
85 #define DMMTSY_PHONE_STORE_NAME2 (KETelMeSmsStore) |
|
86 #define DMMTSY_PHONE_STORE_TYPE2 (RMobilePhoneStore::EShortMessageStore) |
|
87 #define DMMTSY_PHONE_STORE_USED_ENTRIES2 (12) |
|
88 #define DMMTSY_PHONE_STORE_TOTAL_ENTRIES2 (255) |
|
89 #define DMMTSY_PHONE_STORE_CAPS2 (TUint32)(RMobilePhoneStore::KCapsWholeStore |\ |
|
90 RMobilePhoneStore::KCapsIndividualEntry) |
|
91 |
|
92 #define DMMTSY_PHONE_SIM_ACCESS_CAPS1 (TUint32)(RMobilePhone::KCapsSimAccessSupported) |
|
93 #define DMMTSY_PHONE_SIM_ACCESS_CAPS2 (0) |
|
94 #define DMMTSY_PHONE_ICC_ID _L8("ICCID1") |
|
95 |
|
96 #define DMMTSY_PHONE_CONFERENCE_CAPS RMobilePhone::KCapsSimAccessSupported |
|
97 #define DMMTSY_PHONE_CONTINUE_DTMF_SENDING ETrue |
|
98 |
|
99 #define DMMTSY_PHONE_CSP_BYTE1 (0xF0) // CFB, CFU, CFNRy, CFNrc |
|
100 #define DMMTSY_PHONE_CSP_BYTE2 (0xF1) // all barring services |
|
101 #define DMMTSY_PHONE_CSP_BYTE3 (0xA0) // AoC and MPTY |
|
102 #define DMMTSY_PHONE_CSP_BYTE4 (0xE0) // CCBS, HOLD and WAIT |
|
103 #define DMMTSY_PHONE_CSP_BYTE5 (0xFE) // all SMS services |
|
104 #define DMMTSY_PHONE_CSP_BYTE6 (0x80) // ALS |
|
105 #define DMMTSY_PHONE_CSP_BYTE7 (0x00) // reserved byte |
|
106 #define DMMTSY_PHONE_CSP_BYTE8 (0xB3) // all CLI services |
|
107 #define DMMTSY_PHONE_CSP_BYTE9 (0xC4) // GPRS, HSCSD and multiple band |
|
108 #define DMMTSY_PHONE_CSP_BYTE10 (0x8C) // PLMN mode, data, fax |
|
109 |
|
110 #define DMMTSY_PHONE_SERVICE_TABLE (RMobilePhone::EUSIMServiceTable) |
|
111 #define DMMTSY_PHONE_SST_BYTE1 (0x7F) // All SST services 1 to 7 |
|
112 #define DMMTSY_PHONE_SST_BYTE2 (0xFF) // All SST service 9 to 16 |
|
113 #define DMMTSY_PHONE_SST_BYTE3 (0x03) // SST services 17,18 & 19 |
|
114 #define DMMTSY_PHONE_SST_BYTE4 (0xFF) // All SST services 25 to 32 |
|
115 #define DMMTSY_PHONE_SST_BYTE5 (0x34) // SST services 35, 37 & 38 |
|
116 #define DMMTSY_PHONE_SST_BYTE6 (0x27) // SST services 41 to 48 |
|
117 #define DMMTSY_PHONE_SST_BYTE7 (0x03) // SST services 49 to 56 |
|
118 #define DMMTSY_PHONE_SST_BYTE8 (0x7C) // SST services 57 to 64 |
|
119 #define DMMTSY_PHONE_SST_BYTE9 (0x3A) // SST services 65 to 72 |
|
120 |
|
121 |
|
122 #define DMMTSY_PHONE_BATTERY_CAPS (TUint32)(RMobilePhone::KCapsGetBatteryInfo |\ |
|
123 RMobilePhone::KCapsNotifyBatteryInfoChange) |
|
124 |
|
125 #define DMMTSY_PHONE_BATTERY_STATUS1 (RMobilePhone::EPoweredByBattery) |
|
126 #define DMMTSY_PHONE_BATTERY_CHARGE1 (55) |
|
127 #define DMMTSY_PHONE_BATTERY_STATUS2 (RMobilePhone::ENoBatteryConnected) |
|
128 #define DMMTSY_PHONE_BATTERY_CHARGE2 (10) |
|
129 |
|
130 #define DMMTSY_PHONE_SIGNAL_CAPS (TUint32)(RMobilePhone::KCapsGetSignalStrength |\ |
|
131 RMobilePhone::KCapsNotifySignalStrengthChange) |
|
132 |
|
133 #define DMMTSY_PHONE_SIGNAL_STRENGTH1 (-109) // signal strength in dBm |
|
134 #define DMMTSY_PHONE_SIGNAL_BAR1 (2) |
|
135 #define DMMTSY_PHONE_SIGNAL_STRENGTH2 (-51) |
|
136 #define DMMTSY_PHONE_SIGNAL_BAR2 (5) |
|
137 |
|
138 #define DMMTSY_PHONE_ACTION_INDICATOR_CAPS (TUint32)(RMobilePhone::KCapsGetIndicator |\ |
|
139 RMobilePhone::KCapsNotifyIndicatorChange) |
|
140 #define DMMTSY_PHONE_INDICATOR_CAPS (TUint32)(RMobilePhone::KIndChargerConnected |\ |
|
141 RMobilePhone::KIndNetworkAvailable) |
|
142 #define DMMTSY_PHONE_INDICATOR1 (TUint32)(RMobilePhone::KIndNetworkAvailable) |
|
143 #define DMMTSY_PHONE_INDICATOR2 (TUint32)(RMobilePhone::KIndChargerConnected) |
|
144 |
|
145 #define DMMTSY_PHONE_NETWORK_SELECTION_METHOD1 RMobilePhone::ENetworkSelectionAutomatic |
|
146 #define DMMTSY_PHONE_NETWORK_SELECTION_METHOD2 RMobilePhone::ENetworkSelectionManual |
|
147 #define DMMTSY_PHONE_NETWORK_SELECTION_BAND1 RMobilePhone::ENetworkBandClassAOnly |
|
148 #define DMMTSY_PHONE_NETWORK_SELECTION_BAND2 RMobilePhone::ENetworkBandClassBOnly |
|
149 #define DMMTSY_PHONE_NETWORK_SELECTION_OPERATION1 RMobilePhone::ENetworkOperationAnalogOnly |
|
150 #define DMMTSY_PHONE_NETWORK_SELECTION_OPERATION2 RMobilePhone::ENetworkOperationDigitalPreferred |
|
151 |
|
152 #define DMMTSY_PHONE_NOTIFY_SELECTION_SETTING RMobilePhone::ENetworkSelectionAutomatic |
|
153 #define DMMTSY_PHONE_MANUAL_SELECTION (TBool)(ETrue) |
|
154 #define DMMTSY_PHONE_NETWORK_ID _L("MNC") |
|
155 #define DMMTSY_PHONE_COUNTRY_ID _L("MCC") |
|
156 |
|
157 #define DMMTSY_PHONE_NWTINFO_TIMEZONE 0 |
|
158 #define DMMTSY_YEAR 2001 |
|
159 #define DMMTSY_MONTH ESeptember |
|
160 #define DMMTSY_DAY 10 |
|
161 #define DMMTSY_HOUR 16 |
|
162 #define DMMTSY_MIN 56 |
|
163 #define DMMTSY_SEC 05 |
|
164 #define DMMTSY_MICROSEC 123 |
|
165 #define DMMTSY_PHONE_NWTINFO_YEAR 2000 |
|
166 #define DMMTSY_PHONE_NWTINFO_MONTH EJuly |
|
167 #define DMMTSY_PHONE_NWTINFO_DAY 29 |
|
168 #define DMMTSY_PHONE_NWTINFO_HOUR 15 |
|
169 #define DMMTSY_PHONE_NWTINFO_MINUTE 59 |
|
170 #define DMMTSY_PHONE_NWTINFO_SECOND 11 |
|
171 #define DMMTSY_PHONE_NWTINFO_MICRO 66 |
|
172 |
|
173 #define DMMTSY_PHONE_NWTINFO_SHORT_ID _L("Voda") |
|
174 #define DMMTSY_PHONE_NWTINFO_LONG_ID _L("Vodafone UK") |
|
175 #define DMMTSY_PHONE_NWTINFO_DST 2 |
|
176 #define DMMTSY_PHONE_NWTINFO_NITZ_USED (RMobilePhone::KCapsTimeAvailable |\ |
|
177 RMobilePhone::KCapsTimezoneAvailable |\ |
|
178 RMobilePhone::KCapsDSTAvailable |\ |
|
179 RMobilePhone::KCapsLongNameAvailable) |
|
180 |
|
181 #define DMMTSY_PHONE_SPN_NAME _L("one SP") |
|
182 #define DMMTSY_PHONE_PLMN_FIELD _L("Vodaphone UK Voda") |
|
183 #define DMMTSY_PHONE_DISPREQ RMobilePhone::KDisplayPLMNNotRequired |
|
184 |
|
185 #define DMMTSY_PHONE_PRIVACY_SETTING1 RMobilePhone::EPrivacyOn |
|
186 #define DMMTSY_PHONE_PRIVACY_SETTING2 RMobilePhone::EPrivacyOff |
|
187 |
|
188 |
|
189 #define DMMTSY_PHONE_IDENTITY_CAPS (TUint32)(RMobilePhone::KCapsGetManufacturer |\ |
|
190 RMobilePhone::KCapsGetModel |\ |
|
191 RMobilePhone::KCapsGetRevision |\ |
|
192 RMobilePhone::KCapsGetSerialNumber |\ |
|
193 RMobilePhone::KCapsGetSubscriberId) |
|
194 |
|
195 #define DMMTSY_PHONE_MANUFACTURER _L("Symbian") |
|
196 #define DMMTSY_PHONE_MODEL _L("PearlPhone") |
|
197 #define DMMTSY_PHONE_REVISION _L("1.0") |
|
198 #define DMMTSY_PHONE_SERIAL_NUMBER _L("SYP123456789") |
|
199 #define DMMTSY_PHONE_SUBSCRIBER_ID _L("234551234567891") |
|
200 |
|
201 #define DMMTSY_PHONE_DTMF_CAPS1 (TUint32)(RMobilePhone::KCapsSendDTMFString |\ |
|
202 RMobilePhone::KCapsSendDTMFSingleTone) |
|
203 #define DMMTSY_PHONE_DTMF_CAPS2 (TUint32)(0) |
|
204 #define DMMTSY_PHONE_SEND_TONES_LENGTH (10) |
|
205 #define DMMTSY_PHONE_SEND_TONES _L("3459872356") |
|
206 #define DMMTSY_PHONE_READ_TONES_LENGTH (10) |
|
207 #define DMMTSY_PHONE_READ_TONES _L("7871283011") |
|
208 #define DMMTSY_PHONE_SINGLE_TONE '2' |
|
209 |
|
210 #define DMMTSY_PHONE_NETWORK_CAPS (TUint32)(0x000003FF) // all network caps |
|
211 #define DMMTSY_PHONE_NETWORK_MODE1 (RMobilePhone::ENetworkModeGsm) |
|
212 #define DMMTSY_PHONE_NETWORK_MODE2 (RMobilePhone::ENetworkModeCdma95) |
|
213 |
|
214 #define DMMTSY_PHONE_HOME_NETWORK_MODE (RMobilePhone::ENetworkModeGsm) |
|
215 #define DMMTSY_PHONE_HOME_NETWORK_BAND (RMobilePhone::E1900BandA) |
|
216 #define DMMTSY_PHONE_HOME_NETWORK_STATUS (RMobilePhone::ENetworkStatusCurrent) |
|
217 #define DMMTSY_PHONE_HOME_NETWORK_MCC _L("442") |
|
218 #define DMMTSY_PHONE_HOME_NETWORK_ID _L("12") |
|
219 #define DMMTSY_PHONE_HOME_NETWORK_TAG _L("Home: Vodafone UK") |
|
220 #define DMMTSY_PHONE_HOME_NETWORK_SHORT_NAME _L("VODA") |
|
221 #define DMMTSY_PHONE_HOME_NETWORK_LONG_NAME _L("VODAFONE UK") |
|
222 #define DMMTSY_PHONE_HOME_NETWORK_ACCESS_TECH (RMobilePhone::ENetworkAccessUtran) |
|
223 #define DMMTSY_PHONE_HOME_NETWORK_HSDPA_AVAILABILITY (TBool)(ETrue) |
|
224 #define DMMTSY_PHONE_HOME_NETWORK_EGPRS_AVAILABILITY (TBool)(ETrue) |
|
225 #define DMMTSY_PHONE_HOME_NETWORK_HSUPA_AVAILABILITY (TBool)(ETrue) |
|
226 #define DMMTSY_PHONE_HOME_NETWORK_SID _L("3456") |
|
227 #define DMMTSY_PHONE_HOME_NETWORK_SEARCHINTV (4) |
|
228 #define DMMTSY_PHONE_LAST_USED_ACCESS_TECH (RMobilePhone::ENetworkAccessUtran) |
|
229 #define DMMTSY_PHONE_HOME_NETWORK_OTHER_NAMES _L("TLVOTHERNAMESBUFFER") |
|
230 #define DMMTSY_PHONE_HOME_NETWORK_NAME_LOC_ID (1) |
|
231 #define DMMTSY_PHONE_HOME_NETWORK_FIRST_ID (43) |
|
232 #define DMMTSY_PHONE_HOME_NETWORK_LAST_ID (49) |
|
233 |
|
234 #define DMMTSY_PHONE_HOME_NETWORK_ACCESS_TECH3 (RMobilePhone::ENetworkAccessGsmAndUtran) |
|
235 |
|
236 |
|
237 #define DMMTSY_PHONE_CURRENT_NETWORK_MODE1 (RMobilePhone::ENetworkModeCdma2000) |
|
238 #define DMMTSY_PHONE_CURRENT_NETWORK_STATUS1 (RMobilePhone::ENetworkStatusCurrent) |
|
239 #define DMMTSY_PHONE_CURRENT_NETWORK_BAND1 (RMobilePhone::E1900BandD) |
|
240 #define DMMTSY_PHONE_CURRENT_NETWORK_MCC1 _L("567") |
|
241 #define DMMTSY_PHONE_CURRENT_NETWORK_ID1 _L("2335") |
|
242 #define DMMTSY_PHONE_CURRENT_NETWORK_TAG1 _L("Office") |
|
243 #define DMMTSY_PHONE_CURRENT_NETWORK_SHORT_NAME1 _L("AT&T") |
|
244 #define DMMTSY_PHONE_CURRENT_NETWORK_LONG_NAME1 _L("AT&T Wireless") |
|
245 #define DMMTSY_PHONE_CURRENT_NETWORK_ACCESS_TECH1 (RMobilePhone::ENetworkAccessGsm) |
|
246 #define DMMTSY_PHONE_CURRENT_NETWORK_HSDPA_AVAILABILITY1 (TBool)(ETrue) |
|
247 #define DMMTSY_PHONE_CURRENT_NETWORK_EGPRS_AVAILABILITY1 (TBool)(ETrue) |
|
248 #define DMMTSY_PHONE_CURRENT_NETWORK_HSUPA_AVAILABILITY1 (TBool)(ETrue) |
|
249 #define DMMTSY_PHONE_CURRENT_NETWORK_SID _L("7849") |
|
250 |
|
251 #define DMMTSY_PHONE_CURRENT_NETWORK_AREAKNOWN (TBool)(ETrue) |
|
252 #define DMMTSY_PHONE_CURRENT_NETWORK_LAC1 (3465) |
|
253 #define DMMTSY_PHONE_CURRENT_NETWORK_CELLID1 (99) |
|
254 |
|
255 #define DMMTSY_PHONE_CURRENT_NETWORK_MODE2 (RMobilePhone::ENetworkModeCdma95) |
|
256 #define DMMTSY_PHONE_CURRENT_NETWORK_STATUS2 (RMobilePhone::ENetworkStatusCurrent) |
|
257 #define DMMTSY_PHONE_CURRENT_NETWORK_BAND2 (RMobilePhone::E800BandB) |
|
258 #define DMMTSY_PHONE_CURRENT_NETWORK_MCC2 _L("398") |
|
259 #define DMMTSY_PHONE_CURRENT_NETWORK_ID2 _L("1234") |
|
260 #define DMMTSY_PHONE_CURRENT_NETWORK_TAG2 _L("Roaming") |
|
261 #define DMMTSY_PHONE_CURRENT_NETWORK_SHORT_NAME2 _L("") |
|
262 #define DMMTSY_PHONE_CURRENT_NETWORK_LONG_NAME2 _L("") |
|
263 #define DMMTSY_PHONE_CURRENT_NETWORK_ACCESS_TECH2 (RMobilePhone::ENetworkAccessGsmCompact) |
|
264 #define DMMTSY_PHONE_CURRENT_NETWORK_HSDPA_AVAILABILITY2 (TBool)(EFalse) |
|
265 #define DMMTSY_PHONE_CURRENT_NETWORK_EGPRS_AVAILABILITY2 (TBool)(EFalse) |
|
266 #define DMMTSY_PHONE_CURRENT_NETWORK_HSUPA_AVAILABILITY2 (TBool)(EFalse) |
|
267 |
|
268 #define DMMTSY_PHONE_CURRENT_NETWORK_LAC2 (8364) |
|
269 #define DMMTSY_PHONE_CURRENT_NETWORK_CELLID2 (33) |
|
270 |
|
271 #define DMMTSY_PHONE_REGISTRATION_STATUS1 (RMobilePhone::ERegisteredRoaming) |
|
272 #define DMMTSY_PHONE_REGISTRATION_STATUS2 (RMobilePhone::ERegisteredOnHomeNetwork) |
|
273 |
|
274 #define DMMTSY_PHONE_CURRENT_NETWORK_MODE_ISV (RMobilePhone::ENetworkModeWcdma) |
|
275 #define DMMTSY_PHONE_CURRENT_NETWORK_STATUS_ISV (RMobilePhone::ENetworkStatusAvailable) |
|
276 #define DMMTSY_PHONE_CURRENT_NETWORK_BAND_ISV (RMobilePhone::EBandUnknown) |
|
277 #define DMMTSY_PHONE_CURRENT_NETWORK_MCC_ISV _L("497") |
|
278 #define DMMTSY_PHONE_CURRENT_NETWORK_ID_ISV _L("15416") |
|
279 #define DMMTSY_PHONE_CURRENT_NETWORK_TAG_ISV _L("Roaming") |
|
280 #define DMMTSY_PHONE_CURRENT_NETWORK_SHORT_NAME_ISV _L("3UK") |
|
281 #define DMMTSY_PHONE_CURRENT_NETWORK_LONG_NAME_ISV _L("Three UK") |
|
282 #define DMMTSY_PHONE_CURRENT_NETWORK_CDMASID_ISV _L("12CDMA34") |
|
283 #define DMMTSY_PHONE_CURRENT_NETWORK_ACCESS_UTRAN_ISV (RMobilePhone::ENetworkAccessUtran) |
|
284 |
|
285 #define DMMTSY_PHONE_CURRENT_NETWORK_AREAKNOWN_ISV (TBool)(ETrue) |
|
286 #define DMMTSY_PHONE_CURRENT_NETWORK_LAC_ISV (925) |
|
287 #define DMMTSY_PHONE_CURRENT_NETWORK_CELLID_ISV (57) |
|
288 |
|
289 #define DMMTSY_PHONE_CURRENT_NETWORK_MODE_ISV2 (RMobilePhone::ENetworkModeUnregistered) |
|
290 #define DMMTSY_PHONE_CURRENT_NETWORK_STATUS_ISV2 (RMobilePhone::ENetworkStatusCurrent) |
|
291 #define DMMTSY_PHONE_CURRENT_NETWORK_BAND_ISV2 (RMobilePhone::EBandUnknown) |
|
292 #define DMMTSY_PHONE_CURRENT_NETWORK_MCC_ISV2 _L("564") |
|
293 #define DMMTSY_PHONE_CURRENT_NETWORK_ID_ISV2 _L("353") |
|
294 #define DMMTSY_PHONE_CURRENT_NETWORK_TAG_ISV2 _L("Search") |
|
295 #define DMMTSY_PHONE_CURRENT_NETWORK_SHORT_NAME_ISV2 _L("O2") |
|
296 #define DMMTSY_PHONE_CURRENT_NETWORK_LONG_NAME_ISV2 _L("O2 UK") |
|
297 #define DMMTSY_PHONE_CURRENT_NETWORK_CDMASID_ISV2 _L("45CDMA67") |
|
298 #define DMMTSY_PHONE_CURRENT_NETWORK_ACCESS_UTRAN_ISV2 (RMobilePhone::ENetworkAccessJTacsStdChannels) |
|
299 |
|
300 #define DMMTSY_PHONE_CURRENT_NETWORK_AREAKNOWN_ISV2 (TBool)(ETrue) |
|
301 #define DMMTSY_PHONE_CURRENT_NETWORK_LAC_ISV2 (135) |
|
302 #define DMMTSY_PHONE_CURRENT_NETWORK_CELLID_ISV2 (11) |
|
303 |
|
304 #define DMMTSY_PHONE_CELL_INFO_MODE (RMobilePhone::ECellModeGsm) |
|
305 #define DMMTSY_PHONE_CELL_INFO_CELLID (199) |
|
306 #define DMMTSY_PHONE_CELL_INFO_TIMING_ADVANCE (59) |
|
307 #define DMMTSY_PHONE_CELL_INFO_STATUS (RMobilePhone::ECellInfoStatusUnknown) |
|
308 |
|
309 #define DMMTSY_PHONE_CELL_INFO_MODE2 (RMobilePhone::ECellModeGsm) |
|
310 #define DMMTSY_PHONE_CELL_INFO_CELLID2 (300) |
|
311 #define DMMTSY_PHONE_CELL_INFO_TIMING_ADVANCE2 (18) |
|
312 #define DMMTSY_PHONE_CELL_INFO_STATUS2 (RMobilePhone::ECellInfoStatusCurrent) |
|
313 |
|
314 #define DMMTSY_NETWORK_COUNT (4) |
|
315 |
|
316 #define DMMTSY_PHONE_FEATURE_CODE _L("73") |
|
317 #define DMMTSY_PHONE_FEATURE_CODE2 _L("23") |
|
318 #define DMMTSY_PHONE_NETWORK_SERVICE (RMobilePhone::ECFNRcService) |
|
319 #define DMMTSY_PHONE_NETWORK_SERVICE2 (RMobilePhone::EDeflectToVoicemail) |
|
320 #define DMMTSY_PHONE_NETWORK_SERVICE_ACTION (RMobilePhone::EServiceActionRegister) |
|
321 #define DMMTSY_PHONE_NETWORK_SERVICE_ACTION2 (RMobilePhone::EServiceActionActivate) |
|
322 #define DMMTSY_PHONE_NETWORK_SERVICE_REQUEST _L("*45#012678765423#") |
|
323 |
|
324 #define DMMTSY_PHONE_CALL_SERVICE_CAPS1 (TUint32)(RMobilePhone::KCapsGetCFStatusCache|\ |
|
325 RMobilePhone::KCapsGetCFStatusNetwork|\ |
|
326 RMobilePhone::KCapsSetCFStatus|\ |
|
327 RMobilePhone::KCapsNotifyCFStatus) |
|
328 |
|
329 #define DMMTSY_PHONE_CALL_SERVICE_CAPS2 (TUint32)(RMobilePhone::KCapsSetCFStatus) |
|
330 |
|
331 #define DMMTSY_PHONE_CF_CONDITION_CFU RMobilePhone::ECallForwardingUnconditional |
|
332 #define DMMTSY_PHONE_CF_CONDITION_ALL RMobilePhone::ECallForwardingAllCases |
|
333 #define DMMTSY_PHONE_CF_CONDITION_CFNRy RMobilePhone::ECallForwardingNoReply |
|
334 #define DMMTSY_PHONE_CF_LOCATION (RMobilePhone::EInfoLocationNetwork) |
|
335 #define DMMTSY_PHONE_CF_CACHELOCATION (RMobilePhone::EInfoLocationCache) |
|
336 #define DMMTSY_CF_ENTRY_COUNT (4) |
|
337 #define DMMTSY_CF_SINGLE_SERVICE_ENTRY_COUNT (1) |
|
338 #define DMMTSY_PHONE_CF_SERVICE_GROUP_VOICE (RMobilePhone::EVoiceService) |
|
339 #define DMMTSY_PHONE_CF_SERVICE_GROUP_DATA (RMobilePhone::ECircuitDataService) |
|
340 #define DMMTSY_PHONE_CF_SERVICE_GROUP_FAX (RMobilePhone::EFaxService) |
|
341 #define DMMTSY_PHONE_CF_SERVICE_GROUP_AUXVOICE (RMobilePhone::EAuxVoiceService) |
|
342 #define DMMTSY_PHONE_CF_SERVICE_GROUP_ALL (RMobilePhone::EAllServices) |
|
343 #define DMMTSY_PHONE_CF_NOT_ACTIVE (RMobilePhone::ECallForwardingStatusNotActive) |
|
344 #define DMMTSY_PHONE_CF_ACTIVE (RMobilePhone::ECallForwardingStatusActive) |
|
345 #define DMMTSY_PHONE_CF_UNKNOWN (RMobilePhone::ECallForwardingStatusUnknown) |
|
346 #define DMMTSY_PHONE_CF_TIMEOUT (5) |
|
347 #define DMMTSY_NO_CF_TIMEOUT (-1) |
|
348 #define DMMTSY_PHONE_CF_SETTING (RMobilePhone::EServiceActionRegister) |
|
349 #define DMMTSY_PHONE_CF_ACTIVE_TYPE (RMobilePhone::ECFConditionalActive) |
|
350 #define DMMTSY_PHONE_CF_PRESENTATION (RMobilePhone::ECallForwardingPresentationAllowed) |
|
351 #define DMMTSY_PHONE_CF_SCREENING (RMobilePhone::ECallForwardingScreeningUserVerified) |
|
352 #define DMMTSY_PHONE_CFU_INDICATOR (RMobilePhone::KCFUIndicatorFax) |
|
353 #define DMMTSY_PHONE_CFU_INDICATOR1 (RMobilePhone::KCFUIndicatorSms) |
|
354 #define DMMTSY_PHONE_CFU_MSP (RMobilePhone::KProfileIdentityOne) |
|
355 #define DMMTSY_PHONE_CFU_TON (RMobilePhone::ENationalNumber) |
|
356 #define DMMTSY_PHONE_CFU_NPI (RMobilePhone::ENationalNumberPlan) |
|
357 #define DMMTSY_PHONE_CFU_TELNUMBER _L("91801234567") |
|
358 |
|
359 #define DMMTSY_PHONE_ID_SERVICE RMobilePhone::EIdServiceCallerRestriction |
|
360 #define DMMTSY_PHONE_ID_LOCATION (RMobilePhone::EInfoLocationNetwork) |
|
361 #define DMMTSY_PHONE_ID_STATUS RMobilePhone::EIdServiceNotProvisioned |
|
362 #define DMMTSY_PHONE_ID_SETTING (RMobilePhone::EIdServicePresentationAllowed) |
|
363 |
|
364 #define DMMTSY_PHONE_CB_CONDITION RMobilePhone::EBarAllOutgoing |
|
365 #define DMMTSY_PHONE_CB_LOCATION (RMobilePhone::EInfoLocationNetwork) |
|
366 |
|
367 #define DMMTSY_CALL_BARRING_COUNT 4 |
|
368 #define DMMTSY_PHONE_CB_CONDITION0 RMobilePhone::EBarAllIncoming |
|
369 #define DMMTSY_PHONE_CB_CONDITION1 RMobilePhone::EBarIncomingRoaming |
|
370 #define DMMTSY_PHONE_CB_CONDITION2 RMobilePhone::EBarAllOutgoing |
|
371 #define DMMTSY_PHONE_CB_CONDITION3 RMobilePhone::EBarOutgoingInternational |
|
372 #define DMMTSY_PHONE_CB_SG0 RMobilePhone::EVoiceService |
|
373 #define DMMTSY_PHONE_CB_SG1 RMobilePhone::ECircuitDataService |
|
374 #define DMMTSY_PHONE_CB_SG2 RMobilePhone::EFaxService |
|
375 #define DMMTSY_PHONE_CB_SG3 RMobilePhone::EAuxVoiceService |
|
376 #define DMMTSY_PHONE_CB_STATUS0 RMobilePhone::ECallBarringStatusActive |
|
377 #define DMMTSY_PHONE_CB_STATUS1 RMobilePhone::ECallBarringStatusNotActive |
|
378 #define DMMTSY_PHONE_CB_STATUS2 RMobilePhone::ECallBarringStatusNotProvisioned |
|
379 #define DMMTSY_PHONE_CB_STATUS3 RMobilePhone::ECallBarringStatusNotAvailable |
|
380 #define DMMTSY_PHONE_CB_COMP0 (0) |
|
381 #define DMMTSY_PHONE_CB_COMP1 (1) |
|
382 #define DMMTSY_PHONE_CB_COMP2 (2) |
|
383 #define DMMTSY_PHONE_CB_COMP3 (3) |
|
384 |
|
385 #define DMMTSY_PHONE_CB_ACTION RMobilePhone::EServiceActionErase |
|
386 #define DMMTSY_PHONE_CB_PASSWORD _L("noodle") |
|
387 #define DMMTSY_PHONE_CB_NEW_PASSWORD _L("pizza") |
|
388 #define DMMTSY_PHONE_CB_VERIFIED_PASSWORD _L("pizza") |
|
389 #define DMMTSY_PHONE_CB_ALL_SERVICES 0 |
|
390 #define DMMTSY_PHONE_CB_COMP_METHOD_ID (11) |
|
391 #define DMMTSY_PHONE_CB_ALPHA_TAG _L("ALPHA1") |
|
392 |
|
393 |
|
394 #define DMMTSY_PHONE_CW_LOCATION (RMobilePhone::EInfoLocationNetwork) |
|
395 #define DMMTSY_CW_ENTRY_COUNT 4 |
|
396 #define DMMTSY_PHONE_CW_SG0 RMobilePhone::EVoiceService |
|
397 #define DMMTSY_PHONE_CW_SG1 RMobilePhone::ECircuitDataService |
|
398 #define DMMTSY_PHONE_CW_SG2 RMobilePhone::EFaxService |
|
399 #define DMMTSY_PHONE_CW_SG3 RMobilePhone::EAuxVoiceService |
|
400 #define DMMTSY_PHONE_CW_STATUS0 RMobilePhone::ECallWaitingStatusActive |
|
401 #define DMMTSY_PHONE_CW_STATUS1 RMobilePhone::ECallWaitingStatusNotActive |
|
402 #define DMMTSY_PHONE_CW_STATUS2 RMobilePhone::ECallWaitingStatusNotProvisioned |
|
403 #define DMMTSY_PHONE_CW_STATUS3 RMobilePhone::ECallWaitingStatusNotAvailable |
|
404 #define DMMTSY_PHONE_CW_SET_STATUS_ACTION RMobilePhone::EServiceActionErase |
|
405 |
|
406 #define DMMTSY_PHONE_CCC_STATUS RMobilePhone::ECcbsNotProvisioned |
|
407 #define DMMTSY_PHONE_CCC_LOCATION (RMobilePhone::EInfoLocationNetwork) |
|
408 #define DMMTSY_PHONE_CCC_ENTRY_COUNT 4 |
|
409 |
|
410 #define DMMTSY_PHONE_CCC_CALLNAME0 _L("call1") |
|
411 #define DMMTSY_PHONE_CCC_SERVICE_GROUP0 RMobilePhone::EVoiceService |
|
412 #define DMMTSY_PHONE_CCC_INDEX0 0 |
|
413 #define DMMTSY_PHONE_CCC_DESTINATION_TON0 RMobilePhone::EInternationalNumber |
|
414 #define DMMTSY_PHONE_CCC_DESTINATION_NP0 RMobilePhone::EIsdnNumberPlan |
|
415 #define DMMTSY_PHONE_CCC_DESTINATION_NUM0 _L("12345") |
|
416 #define DMMTSY_PHONE_CCC_CALLNAME1 _L("call2") |
|
417 #define DMMTSY_PHONE_CCC_SERVICE_GROUP1 RMobilePhone::ECircuitDataService |
|
418 #define DMMTSY_PHONE_CCC_INDEX1 1 |
|
419 #define DMMTSY_PHONE_CCC_DESTINATION_TON1 RMobilePhone::ENationalNumber |
|
420 #define DMMTSY_PHONE_CCC_DESTINATION_NP1 RMobilePhone::EDataNumberPlan |
|
421 #define DMMTSY_PHONE_CCC_DESTINATION_NUM1 _L("12346") |
|
422 #define DMMTSY_PHONE_CCC_CALLNAME2 _L("call3") |
|
423 #define DMMTSY_PHONE_CCC_SERVICE_GROUP2 RMobilePhone::EFaxService |
|
424 #define DMMTSY_PHONE_CCC_INDEX2 2 |
|
425 #define DMMTSY_PHONE_CCC_DESTINATION_TON2 RMobilePhone::ENetworkSpecificNumber |
|
426 #define DMMTSY_PHONE_CCC_DESTINATION_NP2 RMobilePhone::ETelexNumberPlan |
|
427 #define DMMTSY_PHONE_CCC_DESTINATION_NUM2 _L("12347") |
|
428 #define DMMTSY_PHONE_CCC_CALLNAME3 _L("call4") |
|
429 #define DMMTSY_PHONE_CCC_SERVICE_GROUP3 RMobilePhone::EAuxVoiceService |
|
430 #define DMMTSY_PHONE_CCC_INDEX3 3 |
|
431 #define DMMTSY_PHONE_CCC_DESTINATION_TON3 RMobilePhone::ESubscriberNumber |
|
432 #define DMMTSY_PHONE_CCC_DESTINATION_NP3 RMobilePhone::EIsdnNumberPlan |
|
433 #define DMMTSY_PHONE_CCC_DESTINATION_NUM3 _L("12348") |
|
434 #define DMMTSY_PHONE_CCC_DESTINATION_CCBS_RECEIVED (RMobilePhone::ECcbsRecallReceived) |
|
435 |
|
436 #define DMMTSY_PHONE_ALTERNATING_CALL_CAPS (RMobilePhone::KCapsMOVoiceData | RMobilePhone::KCapsMTVoiceThenData) |
|
437 #define DMMTSY_PHONE_ALTERNATING_CALL_MODE (RMobilePhone::EAlternatingModeVoiceData) |
|
438 #define DMMTSY_PHONE_ALTERNATING_CALL_SERVICE RMobilePhone::EAllServices |
|
439 |
|
440 #define DMMTSY_PHONE_ALS_LINE (RMobilePhone::EAlternateLineUnknown) |
|
441 |
|
442 #define DMMTSY_PHONE_COST_CAPS (RMobilePhone::KCapsSetPuct | RMobilePhone::KCapsGetCost | RMobilePhone::KCapsCostInformation) |
|
443 #define DMMTSY_PHONE_COST_UNITS 100 |
|
444 #define DMMTSY_PHONE_COST_SERVICE (RMobilePhone::ECostServiceInformation) |
|
445 #define DMMTSY_PHONE_COST_CCM 10 |
|
446 #define DMMTSY_PHONE_COST_ACM 1000 |
|
447 #define DMMTSY_PHONE_COST_ACMMAX 10000 |
|
448 #define DMMTSY_PHONE_COST_PUCT_CNAME _L("STG") |
|
449 #define DMMTSY_PHONE_COST_PUCT_PPU 5 |
|
450 #define DMMTSY_PHONE_COST_METER RMobilePhone::EClearACM |
|
451 |
|
452 #define DMMTSY_PHONE_SECURITY_CAPS (RMobilePhone::KCapsLockICC || RMobilePhone::KCapsAccessPin1) |
|
453 #define DMMTSY_PHONE_SECURITY_LOCK (RMobilePhone::ELockICC) |
|
454 #define DMMTSY_PHONE_SECURITY_STATUS (RMobilePhone::EStatusUnlocked) |
|
455 #define DMMTSY_PHONE_SECURITY_SETTING (RMobilePhone::ELockSetDisabled) |
|
456 |
|
457 #define DMMTSY_PHONE_SECURITY_SC_LOCK (RMobilePhone::ELockPhoneToICC) |
|
458 #define DMMTSY_PHONE_SECURITY_SC_SETTING (RMobilePhone::ELockSetEnabled) |
|
459 #define DMMTSY_PHONE_SECURITY_OLD_PASS _L("Old") |
|
460 #define DMMTSY_PHONE_SECURITY_NEW_PASS _L("New") |
|
461 #define DMMTSY_PHONE_SECURITY_CODE (RMobilePhone::ESecurityCodePhonePassword) |
|
462 #define DMMTSY_PHONE_SECURITY_EVENT (RMobilePhone::EPin1Required) |
|
463 #define DMMTSY_PHONE_SECURITY_REMAINING_ATTEMPTS 3 |
|
464 |
|
465 #define DMMTSY_PHONE_MW_COUNT 1 |
|
466 #define DMMTSY_PHONE_VOICEMSGS 3 |
|
467 #define DMMTSY_PHONE_VOICEMSGS2 0 |
|
468 #define DMMTSY_PHONE_AUXVOICEMSGS 1 |
|
469 #define DMMTSY_PHONE_AUXVOICEMSGS2 2 |
|
470 #define DMMTSY_PHONE_DATAMSGS 4 |
|
471 #define DMMTSY_PHONE_DATAMSGS2 5 |
|
472 #define DMMTSY_PHONE_FAXMSGS 1 |
|
473 #define DMMTSY_PHONE_FAXMSGS2 0 |
|
474 #define DMMTSY_PHONE_EMAILMSGS 2 |
|
475 #define DMMTSY_PHONE_EMAILMSGS2 3 |
|
476 #define DMMTSY_PHONE_OTHERMSGS 4 |
|
477 #define DMMTSY_PHONE_OTHERMSGS2 8 |
|
478 #define DMMTSY_PHONE_VIDEOMSGS1 9 |
|
479 #define DMMTSY_PHONE_VIDEOMSGS2 5 |
|
480 #define DMMTSY_PHONE_DISPLAYSTATUS 0x1f |
|
481 |
|
482 #define DMMTSY_PHONE_FDN_STATUS (RMobilePhone::EFdnActive) |
|
483 #define DMMTSY_PHONE_FDN_SETTING (RMobilePhone::EFdnSetOn) |
|
484 |
|
485 #define DMMTSY_PHONE_USER_MAX_BEARERS1 3 |
|
486 #define DMMTSY_PHONE_PROVIDER_MAX_BEARERS1 4 |
|
487 #define DMMTSY_PHONE_NETWORK_MAX_BEARERS1 5 |
|
488 #define DMMTSY_PHONE_UE_MAX_BEARERS1 6 |
|
489 |
|
490 #define DMMTSY_PHONE_USER_MAX_BEARERS2 4 |
|
491 #define DMMTSY_PHONE_PROVIDER_MAX_BEARERS2 5 |
|
492 #define DMMTSY_PHONE_NETWORK_MAX_BEARERS2 6 |
|
493 #define DMMTSY_PHONE_UE_MAX_BEARERS2 7 |
|
494 #define DMMTSY_PHONE_MULTICALL_IND (RMobilePhone::EBearerUserExceeded) |
|
495 |
|
496 #define DMMTSY_PHONE_INCOMING_CALL_TYPES (RMobilePhone::EIncomingVoice) |
|
497 #define DMMTSY_PHONE_INCOMING_CALL_TYPES1 (RMobilePhone::EIncomingData) |
|
498 |
|
499 #define DMMTSY_PHONE_UUS_SETTING1 (RMobilePhone::EIncomingUUSAccepted) |
|
500 #define DMMTSY_PHONE_UUS_SETTING2 (RMobilePhone::EIncomingUUSRejected) |
|
501 |
|
502 #define DMMTSY_PHONE_MM_SETTING (RMobilePhone::EAcceptMMCallsVoiceFallback) |
|
503 #define DMMTSY_PHONE_MM_SETTING_2 (RMobilePhone::EAcceptMMCallsNoFallback) |
|
504 |
|
505 #define DMMTSY_PHONE_NET_SECURITY (RMobilePhone::ECipheringWCDMA) |
|
506 #define DMMTSY_PHONE_NET_CIPHER_IND (RMobilePhone::ECipheringDisplayOn) |
|
507 |
|
508 |
|
509 #define DMMTSY_PHONE_USIM_AID _L8("Active") |
|
510 #define DMMTSY_PHONE_USIM_COUNT 10 |
|
511 #define DMMTSY_PHONE_USIM_APPINDEX 2 |
|
512 #define DMMTSY_PHONE_USIM_APPLABEL _L8("L") |
|
513 #define DMMTSY_PHONE_USIM_SELMODE (RMobilePhone::EUSimSelectionAutomatic) |
|
514 #define DMMTSY_PHONE_USIM_ACTIVATE (RMobilePhone::EUSimActivate) |
|
515 |
|
516 #define DMMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSM (RMobilePhone::KNetworkAccessGsm) |
|
517 #define DMMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_GSMC (RMobilePhone::KNetworkAccessGsmCompact) |
|
518 #define DMMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_UTRAN (RMobilePhone::KNetworkAccessUtran) |
|
519 #define DMMTSY_PHONE_NTWK_LIST_ACCESS_CAPS_WLAN (RMobilePhone::KNetworkAccessWLAN) |
|
520 |
|
521 #define DMMTSY_PHONE_NTWK_LIST_USER_DEFINED_TRUE (TBool)(ETrue) |
|
522 #define DMMTSY_PHONE_NTWK_LIST_USER_DEFINED_FALSE (TBool)(EFalse) |
|
523 #define DMMTSY_PHONE_NTWK_LIST_NETWORK_ID1 _L("MNC1") |
|
524 #define DMMTSY_PHONE_NTWK_LIST_NETWORK_ID2 _L("MNC2") |
|
525 #define DMMTSY_PHONE_NTWK_LIST_COUNTRY_ID1 _L("MCC1") |
|
526 #define DMMTSY_PHONE_NTWK_LIST_COUNTRY_ID2 _L("MCC2") |
|
527 #define DMMTSY_PHONE_NTWK_LIST_ENTRIES (4) |
|
528 |
|
529 //testing smart card application APIs |
|
530 |
|
531 #define DMMTSY_PHONE_SC_COUNT (6) |
|
532 #define DMMTSY_PHONE_SC_APP_INDEX1 (1) |
|
533 #define DMMTSY_PHONE_SC_APP_INDEX2 (2) |
|
534 #define DMMTSY_PHONE_SC_AID _L8("ABCDEFGHIJKLMNOP") |
|
535 #define DMMTSY_PHONE_SC_LABEL _L8("ABCDEFGHIJKLMNOPQRSTUVWXYZ123456") |
|
536 #define DMMTSY_PHONE_SC_OUTOFRANGE (KErrTooBig) |
|
537 #define DMMTSY_PHONE_SC_EVENT_ACTIVATE (RMobilePhone::EScApplicationActivated) |
|
538 #define DMMTSY_PHONE_SC_AID2 _L8("AID2") |
|
539 #define DMMTSY_PHONE_SC_ACTION_TERMINATE (RMobilePhone::EScTerminate) |
|
540 #define DMMTSY_PHONE_SC_PATH_REF _L8("7FFF6F07") |
|
541 #define DMMTSY_PHONE_SC_FILEID (0x6F07) |
|
542 #define DMMTSY_PHONE_SC_NORECORDS (3) |
|
543 #define DMMTSY_PHONE_SC_RECORD_SIZE (5) |
|
544 #define DMMTSY_PHONE_SC_FILESIZE (DMMTSY_PHONE_SC_RECORD_SIZE*DMMTSY_PHONE_SC_NORECORDS) |
|
545 #define DMMTSY_PHONE_SC_TYPE (RMobilePhone::ELinearFixed) |
|
546 #define DMMTSY_PHONE_SC_START_OFFSET (21) |
|
547 #define DMMTSY_PHONE_SC_RECORD0 _L8("\x01\x02\x03\x04\x05") |
|
548 #define DMMTSY_PHONE_SC_RECORD1 _L8("\x0A\x0B\x0C\x0D\x0E") |
|
549 #define DMMTSY_PHONE_SC_RECORD2 _L8("\x31\x32\x33\x34\x35") |
|
550 |
|
551 // Testing Mobile Call |
|
552 |
|
553 #define DMMTSY_CALL_CUG_INVOKE (TBool)(ETrue) |
|
554 #define DMMTSY_CALL_CUG_INDEX (23) |
|
555 #define DMMTSY_CALL_CUG_OA (TBool)(EFalse) |
|
556 #define DMMTSY_CALL_CUG_PREF (TBool)(ETrue) |
|
557 |
|
558 #define DMMTSY_DATA_CALL_SERVICE (RMobileCall::EServiceDataCircuitAsyncRdi) |
|
559 #define DMMTSY_DATA_CALL_SPEED (RMobileCall::ESpeed9600) |
|
560 #define DMMTSY_DATA_CALL_PROTOCOL (RMobileCall::EProtocolV110) |
|
561 #define DMMTSY_DATA_CALL_QOS (RMobileCall::EQoSNonTransparent) |
|
562 #define DMMTSY_DATA_CALL_RLP (RMobileCall::ERLPSingleLinkVersion1) |
|
563 #define DMMTSY_DATA_CALL_V42BIS (RMobileCall::EV42bisBothDirections) |
|
564 |
|
565 #define DMMTSY_DATA_CALL_EGPRS_REQUIRED (TBool)(ETrue) |
|
566 #define DMMTSY_DATA_CALL_EGPRS_NOTREQUIRED (TBool)(EFalse) |
|
567 |
|
568 #define DMMTSY_DATA_CALL_SERVICE1 (RMobileCall::EServiceDataCircuitSync) |
|
569 #define DMMTSY_DATA_CALL_SPEED1 (RMobileCall::ESpeed48000) |
|
570 #define DMMTSY_DATA_CALL_PROTOCOL1 (RMobileCall::EProtocolPstnMultimediaVoiceFallback) |
|
571 #define DMMTSY_DATA_CALL_QOS1 (RMobileCall::EQosTransparentPreferred) |
|
572 #define DMMTSY_DATA_CALL_RLP1 (RMobileCall::ERLPMultiLinkVersion2) |
|
573 #define DMMTSY_DATA_CALL_V42BIS1 (RMobileCall::EV42bisRxDirection) |
|
574 |
|
575 #define DMMTSY_CALL_DATA_CAPS_SPEED (RMobileCall::KCapsSpeed2400 | RMobileCall::KCapsSpeed4800 | RMobileCall::KCapsSpeed9600) |
|
576 #define DMMTSY_CALL_DATA_CAPS_CARRIER (RMobileCall::KCapsProtocolV32) |
|
577 #define DMMTSY_CALL_DATA_CAPS_SERVICE (RMobileCall::KCapsDataCircuitAsynchronous | RMobileCall::KCapsPacketAccessSyncUDI) |
|
578 #define DMMTSY_CALL_DATA_CAPS_HSCSD (TBool)(ETrue) |
|
579 #define DMMTSY_CALL_DATA_CAPS_MCLASS 1 |
|
580 #define DMMTSY_CALL_DATA_CAPS_MAXRXTS 5 |
|
581 #define DMMTSY_CALL_DATA_CAPS_MAXTXTS 5 |
|
582 #define DMMTSY_CALL_DATA_CAPS_TOTRXTXTS 10 |
|
583 #define DMMTSY_CALL_DATA_CAPS_CODING (RMobileCall::KCapsAiurCoding48 | RMobileCall::KCapsAiurCoding96) |
|
584 #define DMMTSY_CALL_DATA_CAPS_ASYMETRY (RMobileCall::EAsymmetryUplink) |
|
585 #define DMMTSY_CALL_DATA_CAPS_USERIMI (TBool)(ETrue) |
|
586 |
|
587 #define DMMTSY_CALL_DATA_RLP_WSMAX 10 |
|
588 #define DMMTSY_CALL_DATA_RLP_WSMIN 5 |
|
589 #define DMMTSY_CALL_DATA_RLP_MWSMAX 8 |
|
590 #define DMMTSY_CALL_DATA_RLP_MWSMIN 4 |
|
591 #define DMMTSY_CALL_DATA_RLP_N2MAX 4 |
|
592 #define DMMTSY_CALL_DATA_RLP_N2MIN 2 |
|
593 #define DMMTSY_CALL_DATA_RLP_T1MAX 12 |
|
594 #define DMMTSY_CALL_DATA_RLP_T1MIN 1 |
|
595 #define DMMTSY_CALL_DATA_RLP_T4MAX 10 |
|
596 #define DMMTSY_CALL_DATA_RLP_T4MIN 2 |
|
597 |
|
598 #define DMMTSY_CALL_RLP_VERSION1 2 |
|
599 |
|
600 #define DMMTSY_CALL_HCSD_AIUR RMobileCall::EAiurBps9600 |
|
601 #define DMMTSY_CALL_HCSD_TS 5 |
|
602 #define DMMTSY_CALL_HCSD_MAXTS 10 |
|
603 #define DMMTSY_CALL_HCSD_CODING RMobileCall::ETchCoding48 |
|
604 #define DMMTSY_CALL_HCSD_ASYMMETRY RMobileCall::EAsymmetryDownlink |
|
605 #define DMMTSY_CALL_HCSD_USER_IMI (TBool)(ETrue) |
|
606 |
|
607 |
|
608 #define DMMTSY_CALL_CONTROL_CAPS1 (TUint32)(0x0000000C) // call is a voice call and can be dialled |
|
609 #define DMMTSY_CALL_CONTROL_CAPS2 (TUint32)(0x00000041) // call is an incoming data call |
|
610 #define DMMTSY_CALL_EVENT_CAPS1 (TUint32)(0x0000007F) // all call events supported |
|
611 #define DMMTSY_CALL_EVENT_CAPS2 (TUint32)(0x0000000F) // local call events supported |
|
612 |
|
613 #define DMMTSY_CALL_STATUS1 RMobileCall::EStatusHold |
|
614 #define DMMTSY_CALL_STATUS2 RMobileCall::EStatusDialling |
|
615 #define DMMTSY_CALL_STATUS3 RMobileCall::EStatusIdle |
|
616 #define DMMTSY_CALL_STATUS4 RMobileCall::EStatusConnected |
|
617 |
|
618 #define DMMTSY_CALL_EVENT1 (RMobileCall::ELocalResume) |
|
619 |
|
620 #define DMMTSY_CALL_INFORMATION_CAPS (TUint32)(0x0000003F) // all call information supported |
|
621 |
|
622 #define DMMTSY_VOICE_FALLBACK_CALL_NAME _L("VoiceCall1") |
|
623 |
|
624 #define DMMTSY_CALL_ID1 (3) |
|
625 #define DMMTSY_CALL_INTERVAL (8) |
|
626 #define DMMTSY_CALL_AUTO_REDIAL_FLAG (TBool)(ETrue) |
|
627 #define DMMTSY_CALL_NEW_BEARER (RMobileCall::EMulticallNewBearer) |
|
628 |
|
629 #define DMMTSY_CALL_PARAM_ORIGIN (RMobileCall::EOriginatorSIM) |
|
630 #define DMMTSY_CALL_SUBADDRESS _L("A subaddress 12345678") |
|
631 #define DMMTSY_CALL_BEARER_CAP1 _L8("\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E") |
|
632 #define DMMTSY_CALL_BEARER_CAP2 _L8("\xFF\x00\xFF\x00\xFF\x00\xFF\x00\xFF\x00\xFF\x00\xFF\x00") |
|
633 #define DMMTSY_CALL_BC_REPEAT_INDICATOR (RMobileCall::EBCServiceChangeAndFallbackMode) |
|
634 #define DMMTSY_CALL_ICON_ID_QUALIFIER (RMobileCall::ESelfExplanatory) |
|
635 #define DMMTSY_CALL_ICON_ID_IDENTIFIER (3) |
|
636 #define DMMTSY_CALL_ALPHA_ID _L("Alpha ID") |
|
637 |
|
638 #define DMMTSY_CALL_REMOTEPARTYSTATUS1 (RMobileCall::ERemoteIdentityAvailable) |
|
639 #define DMMTSY_CALL_REMOTEPARTYSTATUS2 (RMobileCall::ERemoteIdentitySuppressed) |
|
640 #define DMMTSY_CALL_REMOTEPARTYNUMBER1 DMMTSY_PHONE_TEL_NUMBER |
|
641 #define DMMTSY_CALL_REMOTEPARTYDIRECTION1 (RMobileCall::EMobileTerminated) |
|
642 #define DMMTSY_CALL_REMOTEPARTYDIRECTION2 (RMobileCall::EMobileOriginated) |
|
643 #define DMMTSY_CALL_REMOTEPARTYNAME _L("Katie") |
|
644 #define DMMTSY_CALL_EMPTY_STRING _L("") |
|
645 |
|
646 #define DMMTSY_CALL_EXIT_CODE (TInt)(0xEF4EFFFE) // extended error + core error |
|
647 #define DMMTSY_CALL_EMERGENCY_FLAG (TBool)(EFalse) |
|
648 #define DMMTSY_CALL_FORWARDED_FLAG (TBool)(ETrue) |
|
649 #define DMMTSY_CALL_SERVICE RMobilePhone::ECircuitDataService |
|
650 #define DMMTSY_CALL_VALID_FLAG (TBool)(ETrue) |
|
651 #define DMMTSY_CALL_PRIVACY (RMobilePhone::EPrivacyOn) |
|
652 #define DMMTSY_CALL_CHANNEL (RMobileCall::ETchDigital) |
|
653 #define DMMTSY_CALL_ALTERNATING (RMobilePhone::EAlternatingModeSingle) |
|
654 #define DMMTSY_CALL_SET_PRIVACY (RMobilePhone::EPrivacyOff) |
|
655 #define DMMTSY_CALL_TCH_REQUEST (RMobileCall::ETchAnalog) |
|
656 #define DMMTSY_CALL_TCH_SETTING (RMobileCall::ETchDigital) |
|
657 #define DMMTSY_CALL_SECURITY (RMobilePhone::ECipheringWCDMA) |
|
658 #define DMMTSY_CALL_ORIGIN (RMobileCall::EOriginatorEtelClient) |
|
659 #define DMMTSY_CALL_PARAMS_CALL_CONTROL_MODIFIED (TBool)(ETrue) |
|
660 |
|
661 #define DMMTSY_CALL_DEFLECT_TYPE (RMobileCall::EDeflectSuppliedNumber) |
|
662 |
|
663 #define DMMTSY_NUMBER_OF_SLOTS_STATUS (3) |
|
664 |
|
665 #define DMMTSY_CALL_CLI_RESTRICT_SETTING1 RMobileCall::EDontSendMyId |
|
666 |
|
667 #define DMMTSY_CALL_UUS_CAPS (RMobileCall::KCapsSetupUUS1Implicit | RMobileCall::KCapsSetupUUS3 | RMobileCall::KCapsActiveUUS2) |
|
668 #define DMMTSY_CALL_UUI_INFO _L("With regards to last meeting") |
|
669 #define DMMTSY_CALL_UUI_INFO_DIAL _L("Additional info") |
|
670 #define DMMTSY_CALL_UUI_INFO_HANGUP _L("My business card") |
|
671 #define DMMTSY_CALL_UUI_INFO_ANSWER _L("Deal accepted") |
|
672 #define DMMTSY_CALL_UUI_MORE_INFO (TBool)(ETrue) |
|
673 #define DMMTSY_CALL_UUI_SERVICE_REQ (RMobileCall::KUUS1Implicit | RMobileCall::KUUS2Required) |
|
674 |
|
675 // Testing SMS Messaging |
|
676 // Testing SMS store |
|
677 |
|
678 #define DMMTSY_PHONE_MESSAGE_STORE_COUNT (2) |
|
679 #define DMMTSY_SMS_STORE_COUNT (4) |
|
680 |
|
681 #define DMMTSY_SMS_STORE_INDEX1 (30) |
|
682 #define DMMTSY_SMS_STORE_INDEX2 (45) |
|
683 #define DMMTSY_SMS_STORE_INDEX3 (101) |
|
684 #define DMMTSY_SMS_STORE_INDEX4 (127) |
|
685 |
|
686 #define DMMTSY_SMS_MESSAGING_MODE_CAPS (TUint32)(RMobileSmsMessaging::KCapsGsmSms |\ |
|
687 RMobileSmsMessaging::KCapsCdmaSms) |
|
688 |
|
689 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS (TUint32)(RMobileSmsMessaging::KCapsReceiveStored |\ |
|
690 RMobileSmsMessaging::KCapsReceiveUnstoredClientAck |\ |
|
691 RMobileSmsMessaging::KCapsSendNoAck |\ |
|
692 RMobileSmsMessaging::KCapsSendWithAck) |
|
693 |
|
694 #define DMMTSY_SMS_MESSAGING_RECEIVE_MODE1 RMobileSmsMessaging::EReceiveUnstoredClientAck |
|
695 #define DMMTSY_SMS_MESSAGING_RECEIVE_MODE2 RMobileSmsMessaging::EReceiveStored |
|
696 |
|
697 #define DMMTSY_SMS_MESSAGING_BEARER1 RMobileSmsMessaging::ESmsBearerPacketPreferred |
|
698 #define DMMTSY_SMS_MESSAGING_BEARER2 RMobileSmsMessaging::ESmsBearerCircuitOnly |
|
699 |
|
700 #define DMMTSY_SMS_MESSAGE_FLAGS2 (RMobileSmsMessaging::KSmsDataFormat |\ |
|
701 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
702 RMobileSmsMessaging::KMoreToSend) |
|
703 |
|
704 #define DMMTSY_SMS_MESSAGE_MORE (TBool)(ETrue) |
|
705 #define DMMTSY_SMS_MESSAGE_FULL (TBool)(ETrue) |
|
706 |
|
707 #define DMMTSY_SMS_MESSAGE_FLAGS1 (RMobileSmsMessaging::KSmsDataFormat |\ |
|
708 RMobileSmsMessaging::KIncomingStatus |\ |
|
709 RMobileSmsMessaging::KStorageLocation |\ |
|
710 RMobileSmsMessaging::KGsmServiceCentre) |
|
711 #define DMMTSY_SMS_MESSAGE_FORMAT1 RMobileSmsMessaging::EFormatGsmTpdu |
|
712 #define DMMTSY_SMS_MESSAGE_SC1 DMMTSY_PHONE_TEL_NUMBER |
|
713 #define DMMTSY_SMS_MESSAGE_PDU1 _L8("11111234567899876543211111") |
|
714 #define DMMTSY_SMS_MESSAGE_REMOTEPARTYNUMBER1 DMMTSY_PHONE_TEL_NUMBER |
|
715 #define DMMTSY_SMS_MESSAGE_STATUS1 RMobileSmsMessaging::EMtMessageStored |
|
716 #define DMMTSY_SMS_MESSAGE_TELESERVICE (34) |
|
717 |
|
718 #define DMMTSY_SMS_MESSAGE_PDU2 _L8("22221234567899876543212222") |
|
719 #define DMMTSY_SMS_MESSAGE_FORMAT2 RMobileSmsMessaging::EFormatGsmTpduScPrefix |
|
720 #define DMMTSY_SMS_MESSAGE_REMOTEPARTYNUMBER2 _L("") |
|
721 #define DMMTSY_SMS_MESSAGE_STATUS2 RMobileSmsMessaging::EMtMessageUnstoredClientAck |
|
722 |
|
723 #define DMMTSY_SMS_MESSAGE_NACK_CAUSE (-4534) // KErrGsmSMSMemoryCapacityExceeded |
|
724 #define DMMTSY_SMS_MESSAGE_MSGREF (3405) |
|
725 #define DMMTSY_SMS_MESSAGE_CDMA_FLAGS (RMobileSmsMessaging::KSmsDataFormat |\ |
|
726 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
727 RMobileSmsMessaging::KIncomingStatus |\ |
|
728 RMobileSmsMessaging::KStorageLocation |\ |
|
729 RMobileSmsMessaging::KMessageReference |\ |
|
730 RMobileSmsMessaging::KCdmaTeleservice |\ |
|
731 RMobileSmsMessaging::KCdmaServiceCategory |\ |
|
732 RMobileSmsMessaging::KCdmaTLAckRequired |\ |
|
733 RMobileSmsMessaging::KCdmaAddressAuthentication) |
|
734 #define DMMTSY_SMS_MESSAGE_CDMA_FORMAT RMobileSmsMessaging::EFormatCdmaTpdu |
|
735 #define DMMTSY_SMS_MESSAGE_CDMA_TELESERVICE (333) |
|
736 #define DMMTSY_SMS_MESSAGE_CDMA_SERVICE_CATEGORY (42) |
|
737 #define DMMTSY_SMS_MESSAGE_ADDRESS_AUTHENTICATION (0x00ffffff) |
|
738 #define DMMTSY_SMS_MESSAGE_TLACK _L8("33331234567899876543213333") |
|
739 #define DMMTSY_SMS_MESSAGE_TON (RMobilePhone::ENetworkSpecificNumber) |
|
740 #define DMMTSY_SMS_MESSAGE_NP (RMobilePhone::EPrivateNumberPlan) |
|
741 #define DMMTSY_MESSAGE_STORE_NAME (KETelIccSmsStore) |
|
742 #define DMMTSY_MESSAGE_STORE_TYPE (RMobilePhoneStore::EShortMessageStore) |
|
743 #define DMMTSY_MESSAGE_STORE_TOTAL_ENTRIES (100) |
|
744 #define DMMTSY_MESSAGE_STORE_USED_ENTRIES (23) |
|
745 #define DMMTSY_MESSAGE_STORE_CAPS (TUint32)(RMobilePhoneStore::KCapsWholeStore |\ |
|
746 RMobilePhoneStore::KCapsIndividualEntry) |
|
747 #define DMMTSY_MESSAGE_STORE_EVENT RMobilePhoneStore::KStoreHasSpace |
|
748 |
|
749 #define DMMTSY_SMS_MESSAGE_STORE_STATUS RMobileSmsMessaging::EMessageRead |
|
750 #define DMMTSY_SMS_STORE_STATUS1 RMobileSmsStore::EStoredMessageUnread |
|
751 #define DMMTSY_SMS_STORE_STATUS2 RMobileSmsStore::EStoredMessageSent |
|
752 #define DMMTSY_SMS_STORE_BATCH 2 |
|
753 #define DMMTSY_SMS_STORE_START 1 |
|
754 |
|
755 #define DMMTSY_SMS_STORE_GSMENTRY_TYPE RMobileSmsStore::KETelMobileGsmSmsEntryV1 |
|
756 #define DMMTSY_SMS_STORE_CDMAENTRY_TYPE RMobileSmsStore::KETelMobileCdmaSmsEntryV1 |
|
757 |
|
758 #define DMMTSY_SMSP_STORE_SCA _L("02075474324") |
|
759 #define DMMTSY_SMSP_STORE_EVENT RMobilePhoneStore::EStoreFull |
|
760 #define DMMTSY_SMSP_STORE_INDEX1 (1) |
|
761 #define DMMTSY_SMSP_STORE_TEXT1 _L("Katie's SMS address") |
|
762 #define DMMTSY_SMSP_STORE_VALID_PARAMS1 (TUint8)(0x1F) |
|
763 #define DMMTSY_SMSP_STORE_PID1 (TUint8)(0x34) |
|
764 #define DMMTSY_SMSP_STORE_DCS1 (TUint8)(0x8A) |
|
765 #define DMMTSY_SMSP_STORE_VALIDITY1 (TUint8)(0x91) |
|
766 |
|
767 #define DMMTSY_SMSP_STORE_INDEX2 (2) |
|
768 #define DMMTSY_SMSP_STORE_TEXT2 _L("Ian's SMS address") |
|
769 #define DMMTSY_SMSP_STORE_VALID_PARAMS2 (TUint8)(0x1F) |
|
770 #define DMMTSY_SMSP_STORE_PID2 (TUint8)(0x73) |
|
771 #define DMMTSY_SMSP_STORE_DCS2 (TUint8)(0xF2) |
|
772 #define DMMTSY_SMSP_STORE_VALIDITY2 (TUint8)(0x04) |
|
773 |
|
774 #define DMMTSY_SMSP_STORE_STATUS (TBool)(EFalse) |
|
775 #define DMMTSY_SMSP_STORE_COUNT (2) |
|
776 |
|
777 // Testing Broadcast Messaging |
|
778 |
|
779 #define DMMTSY_BROADCAST_MESSAGING_MODE_CAPS (TUint32)(RMobileBroadcastMessaging::KCapsGsmTpduFormat) |
|
780 #define DMMTSY_BROADCAST_MESSAGING_FILTER_CAPS (TUint32)(RMobileBroadcastMessaging::KCapsLangFilter |\ |
|
781 RMobileBroadcastMessaging::KCapsIdFilter ) |
|
782 #define DMMTSY_BROADCAST_MESSAGING_ATT_FLAGS (TUint32)(RMobileBroadcastMessaging::KBroadcastDataFormat) |
|
783 #define DMMTSY_BROADCAST_RECEIVE_SETTING1 RMobileBroadcastMessaging::EBroadcastAcceptAll |
|
784 #define DMMTSY_BROADCAST_RECEIVE_SETTING2 RMobileBroadcastMessaging::EBroadcastAcceptFilter |
|
785 #define DMMTSY_CBS_MESSAGE_PDU _L8("227437498357221234567899876543212222") |
|
786 #define DMMTSY_CBS_MESSAGE_PDU_FORMAT RMobileBroadcastMessaging::EFormatGsmTpdu |
|
787 #define DMMTSY_BROADCAST_ID_TYPE (RMobileBroadcastMessaging::EGsmBroadcastId) |
|
788 |
|
789 #define DMMTSY_BROADCAST_MESSAGING_ATT_DCS 1 |
|
790 #define DMMTSY_BROADCAST_MESSAGING_ATT_MSGID 1 |
|
791 #define DMMTSY_BROADCAST_MESSAGING_ATT_MSGTYPE 1 |
|
792 #define DMMTSY_BROADCAST_MESSAGING_ATT_NUMOFPAGES 1 |
|
793 #define DMMTSY_BROADCAST_MESSAGING_ATT_SERIAL 123 |
|
794 |
|
795 // Note this string does not represent an authentic language filter string |
|
796 |
|
797 #define DMMTSY_CBS_MESSAGE_LANGUAGE_FILTER _L("ENGRFR") |
|
798 |
|
799 #define DMMTSY_CBMI_STORE_COUNT (3) |
|
800 #define DMMTSY_CBMI_STORE_INDEX1 (1) |
|
801 #define DMMTSY_CBMI_ID1 (TUint16)(0x34F7) |
|
802 #define DMMTSY_CBMI_STORE_INDEX2 (2) |
|
803 #define DMMTSY_CBMI_ID2 (TUint16)(0x985D) |
|
804 #define DMMTSY_CBMI_STORE_INDEX3 (3) |
|
805 #define DMMTSY_CBMI_ID3 (TUint16)(0x0065) |
|
806 #define DMMTSY_CBMI_MAX_ENTRIES 10 |
|
807 |
|
808 // Testing USSD Messaging |
|
809 |
|
810 #define DMMTSY_USSD_MESSAGING_TYPE_CAPS (TUint32)(RMobileUssdMessaging::KCapsMOUssd |\ |
|
811 RMobileUssdMessaging::KCapsMTUssd) |
|
812 #define DMMTSY_USSD_ATTRIBUTE_FLAGS (RMobileUssdMessaging::KUssdDataFormat |\ |
|
813 RMobileUssdMessaging::KUssdMessageType |\ |
|
814 RMobileUssdMessaging::KUssdMessageDcs) |
|
815 #define DMMTSY_USSD_ATTRIBUTE_FORMAT RMobileUssdMessaging::EFormatPackedString |
|
816 #define DMMTSY_USSD_ATTRIBUTE_TYPE RMobileUssdMessaging::EUssdMORequest |
|
817 #define DMMTSY_USSD_ATTRIBUTE_DCS (0x38) |
|
818 |
|
819 #define DMMTSY_USSD_MESSAGE_PDU _L8("227437498357221fjdfjlkfjdsfiw234567899876543212222") |
|
820 |
|
821 #define DMMTSY_NAM_STORE_NAME KETelNamStore |
|
822 #define DMMTSY_NAM_STORE_TYPE RMobilePhoneStore::ENamStore |
|
823 #define DMMTSY_NAM_STORE_ENTRIES 10 |
|
824 #define DMMTSY_NAM_STORE_USED 5 |
|
825 #define DMMTSY_NAM_STORE_CAPS (RMobilePhoneStore::KCapsReadAccess | RMobilePhoneStore::KCapsWriteAccess) |
|
826 #define DMMTSY_NAM_STORE_COUNT 2 |
|
827 #define DMMTSY_NAM_STORE_ACTIVE 3 |
|
828 |
|
829 #define DMMTSY_NAM_STORE_INDEX1 1 |
|
830 #define DMMTSY_NAM_STORE_INDEX2 2 |
|
831 #define DMMTSY_NAM_STORE_NAMID 2 |
|
832 #define DMMTSY_NAM_STORE_PARAM 4 |
|
833 #define DMMTSY_NAM_STORE_DATA _L8("Hello I'm a Nam Entry") |
|
834 #define DMMTSY_NAM_STORE_DATA_V4 _L8("Hello I'm a Nam Entry of size 256 bytes (the maximum length for a V4 NAM entry).12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456") |
|
835 #define DMMTSY_NAM_STORE_EVENT RMobilePhoneStore::KStoreEntryDeleted |
|
836 |
|
837 #define DMMTSY_ON_STORE_NAME KETelOwnNumberStore |
|
838 #define DMMTSY_ON_STORE_TYPE RMobilePhoneStore::EOwnNumberStore |
|
839 #define DMMTSY_ON_STORE_ENTRIES 8 |
|
840 #define DMMTSY_ON_STORE_USED 5 |
|
841 #define DMMTSY_ON_STORE_CAPS STATIC_CAST(TUint32, (RMobilePhoneStore::KCapsReadAccess | RMobilePhoneStore::KCapsWriteAccess | RMobilePhoneStore::KCapsWholeStore)) |
|
842 |
|
843 #define DMMTSY_ON_STORE_INDEX1 1 |
|
844 #define DMMTSY_ON_STORE_INDEX2 2 |
|
845 #define DMMTSY_ON_STORE_ENTRY_MODE RMobilePhone::ENetworkModeGsm |
|
846 #define DMMTSY_ON_STORE_ENTRY_TEXT _L("Data Number") |
|
847 #define DMMTSY_ON_STORE_ENTRY_SERVICE RMobilePhone::ECircuitDataService |
|
848 #define DMMTSY_ON_STORE_INFO_GSM_MAX_NUM 10 |
|
849 #define DMMTSY_ON_STORE_INFO_GSM_MAX_TEXT 20 |
|
850 #define DMMTSY_ON_STORE_EVENT RMobilePhoneStore::KStoreEntryAdded |
|
851 #define DMMTSY_ON_STORE_COUNT 2 |
|
852 |
|
853 #define DMMTSY_EN_STORE_COUNT 2 |
|
854 #define DMMTSY_EN_STORE_INDEX1 1 |
|
855 #define DMMTSY_EN_STORE_INDEX2 2 |
|
856 #define DMMTSY_EN_STORE_NAME KETelEmergencyNumberStore |
|
857 #define DMMTSY_EN_STORE_TYPE RMobilePhoneStore::EEmergencyNumberStore |
|
858 #define DMMTSY_EN_STORE_ENTRIES 1 |
|
859 #define DMMTSY_EN_STORE_USED 0 |
|
860 #define DMMTSY_EN_STORE_CAPS STATIC_CAST(TUint32, (RMobilePhoneStore::KCapsReadAccess | RMobilePhoneStore::KCapsWriteAccess | RMobilePhoneStore::KCapsWholeStore)) |
|
861 #define DMMTSY_EN_STORE_NS (TBool)(EFalse) |
|
862 #define DMMTSY_EN_STORE_MODE RMobilePhone::ENetworkModeCdma95 |
|
863 #define DMMTSY_EN_STORE_CC _L("UK") |
|
864 #define DMMTSY_EN_STORE_ID _L("ME") |
|
865 #define DMMTSY_EN_STORE_NUM _L("999") |
|
866 #define DMMTSY_EN_STORE_EVENT RMobilePhoneStore::KStoreEmpty |
|
867 |
|
868 #define DMMTSY_EN_STORE_AMBULANCE_NUM _L("1459") |
|
869 #define DMMTSY_EN_STORE_AMBULANCE_ID _L("Ambulance") |
|
870 #define DMMTSY_EN_STORE_CALL_TYPE 0 |
|
871 |
|
872 #define DMMTSY_PHONEBOOK_STORE_COUNT 2 |
|
873 #define DMMTSY_PHONEBOOK_STORE_INDEX1 1 |
|
874 #define DMMTSY_PHONEBOOK_STORE_INDEX2 2 |
|
875 #define DMMTSY_PHONEBOOK_STORE_NAME KETelIccVoiceMailBox |
|
876 #define DMMTSY_PHONEBOOK_STORE_TYPE RMobilePhoneStore::EEmergencyNumberStore |
|
877 #define DMMTSY_PHONEBOOK_STORE_ENTRIES 1 |
|
878 #define DMMTSY_PHONEBOOK_STORE_USED 0 |
|
879 #define DMMTSY_PHONEBOOK_STORE_CAPS STATIC_CAST(TUint32, (RMobilePhoneStore::KCapsReadAccess | RMobilePhoneStore::KCapsWriteAccess | RMobilePhoneStore::KCapsWholeStore)) |
|
880 #define DMMTSY_PHONEBOOK_TEXT _L("Mark's Mobile") |
|
881 #define DMMTSY_PHONEBOOK_STORE_EVENT RMobilePhoneStore::EStoreFull |
|
882 #define DMMTSY_PHONEBOOK_MAXNL 10 |
|
883 #define DMMTSY_PHONEBOOK_MAXTL 140 |
|
884 #define DMMTSY_PHONEBOOK_LOCATION RMobilePhoneBookStore::ELocationIccMemory |
|
885 #define DMMTSY_PHONEBOOK_IDENTITY _L8("1215559294") |
|
886 #define DMMTSY_PHONEBOOK_CHANGECOUNT 12 |
|
887 #define DMMTSY_PHONEBOOK_STORE_SLOTUSED (TBool)(ETrue) |
|
888 #define DMMTSY_PHONEBOOK_STORE_BATCH_START 2 |
|
889 #define DMMTSY_PHONEBOOK_STORE_BATCH_SIZE 10 |
|
890 #define DMMTSY_PHONEBOOK_TYPE (KEtelUSimPhoneBookType) |
|
891 #define DMMTSY_PHONEBOOK_MAXSECONDNAMES 1 |
|
892 #define DMMTSY_PHONEBOOK_MAXTEXTLENSECONDNAME 60 |
|
893 #define DMMTSY_PHONEBOOK_MAXADDNUM 0 |
|
894 #define DMMTSY_PHONEBOOK_MAXTEXTLENADDNUM 80 |
|
895 #define DMMTSY_PHONEBOOK_MAXNUMLENADDNUM 10 |
|
896 #define DMMTSY_PHONEBOOK_MAXGROUPNAMES 2 |
|
897 #define DMMTSY_PHONEBOOK_MAXTEXTLENGROUPNAME 50 |
|
898 #define DMMTSY_PHONEBOOK_MAXEMAILADDR 3 |
|
899 #define DMMTSY_PHONEBOOK_MAXTEXTLENEMAILADDR 40 |
|
900 |
|
901 #define DMMTSY_PHONE_ONE_ENTRY (1) |
|
902 #define DMMTSY_PHONE_NUM_OF_ENTRIES (3) |
|
903 #define DMMTSY_PHONE_BOOK_DATA1 _L8("01632960000 1 1 Dejana") |
|
904 #define DMMTSY_PHONE_BOOK_DATA2 _L8("01632960000 1 1 John") |
|
905 #define DMMTSY_PHONE_BOOK_MULTIPLE_DATA _L8("01632960000 1 1 John,07755121212 2 3 Katie,01486 896 567 0 4 Joan") |
|
906 |
|
907 #define DMMTSY_CONFERENCE_CAPS (RMobileConferenceCall::KCapsHangUp | RMobileConferenceCall::KCapsSwap) |
|
908 #define DMMTSY_CONFERENCE_CALL_NAME _L("Call1") |
|
909 #define DMMTSY_CONFERENCE_CALL_COUNT 4 |
|
910 #define DMMTSY_CONFERENCE_CALL_INDEX 1 |
|
911 #define DMMTSY_CONFERENCE_CALL_STATUS (RMobileConferenceCall::EConferenceActive) |
|
912 #define DMMTSY_CONFERENCE_CALL_EVENT (RMobileConferenceCall::EConferenceCallAdded) |
|
913 #define DMMTSY_CONFERENCE_CALL_LINE _L("Voice") |
|
914 |
|
915 // testing auxillary line caps |
|
916 |
|
917 #define DMMTSY_MOBILE_LINE_AUX_VOICE (RMobileLine::KCapsAuxVoice) |
|
918 |
|
919 #define DMMTSY_PHONE_CURRENT_NETWORK_ACCESS_GSM (RMobilePhone::ENetworkAccessGsm) |
|
920 #define DMMTSY_PHONE_MULTICALLBEARERMODE_NOTSUPPORTED (RMobileCall::EMulticallNotSupported) |
|
921 |
|
922 #define DMMTSY_PHONE_CURRENT_NETWORK_HSDPA_AVAILABILITY (TBool)(ETrue) |
|
923 #define DMMTSY_PHONE_CURRENT_NETWORK_EGPRS_AVAILABILITY (TBool)(ETrue) |
|
924 #define DMMTSY_PHONE_CURRENT_NETWORK_HSUPA_AVAILABILITY (TBool)(ETrue) |
|
925 |
|
926 //testing mailbox numbers |
|
927 #define DMMTSY_PHONE_MAILBOXNUMBER_VOICE (31) |
|
928 #define DMMTSY_PHONE_MAILBOXNUMBER_DATA (32) |
|
929 #define DMMTSY_PHONE_MAILBOXNUMBER_FAX (33) |
|
930 #define DMMTSY_PHONE_MAILBOXNUMBER_OTHER (34) |
|
931 #define DMMTSY_PHONE_MAILBOXNUMBER_VIDEO (35) |
|
932 |
|
933 |
|
934 //testing MMS |
|
935 #define DMMTSY_PHONE_MMS_UPDATE_SPACE (TBool)(ETrue) |
|
936 #define DMMTSY_PHONE_MMS_UPDATE_NOTIFICATION (TBool)(ETrue) |
|
937 #define DMMTSY_PHONE_MMS_UPDATE_STATUS (RMobilePhone::EMmsRetrieved) |
|
938 #define DMMTSY_PHONE_MMS_UPDATE_IMPLEMENTATION (RMobilePhone::KWapImplementation) |
|
939 #define DMMTSY_PHONE_MMS_UPDATE_NOTIFY (_L8("MMS Notify")) |
|
940 #define DMMTSY_PHONE_MMS_USER_CONN_PARAMS (_L8("CONNECTION PARAMETERS")) |
|
941 #define DMMTSY_PHONE_MMS_USER_PREF_PARAMS (_L8("PREFERENCE PARAMETERS")) |
|
942 #define DMMTSY_PHONE_MMS_USER_CONN_PARAMS_TYPE (RMobilePhone::EIssuerConnParams) |
|
943 |
|
944 //Network Investigation |
|
945 #define DMMTSY_PHONE_NETWORK_INV_SCAN (RMobilePhone::KNetworkInvAfterPlmnSelection) |
|
946 #define DMMTSY_PHONE_NETWORK_INV_SCAN_EVENT (RMobilePhone::ENetworkInvestigationHighPriorityPlmn) |
|
947 |
|
948 //APN Control List |
|
949 #define DMMTSY_PHONE_APN_ENUMERATE (3) |
|
950 #define DMMTSY_PHONE_APN_ENTRY1 (_L("GGSN DNS NAME 1")) |
|
951 #define DMMTSY_PHONE_APN_ENTRY2 (_L("GGSN DNS NAME 2")) |
|
952 #define DMMTSY_PHONE_APN_ENTRY3 (_L8("GGSN DNS NAME 3")) |
|
953 #define DMMTSY_PHONE_APN_ENTRY_TO_APPEND (_L8("GGSN DNS NAME TO APPEND")) |
|
954 #define DMMTSY_PHONE_APN_CONTROL_LIST_SERVICE_ENABLED (RMobilePhone::EAPNControlListServiceEnabled) |
|
955 #define DMMTSY_PHONE_APN_CONTROL_LIST_SERVICE_DISABLED (RMobilePhone::EAPNControlListServiceDisabled) |
|
956 |
|
957 //testing air time duration |
|
958 |
|
959 #define DMMTSY_AIR_TIME_DURATION1 350 |
|
960 #define DMMTSY_AIR_TIME_DURATION2 355 |
|
961 |
|
962 //testing starting and stopping of audio tones |
|
963 |
|
964 #define DMMTSY_AUDIO_START_TONE (RMobileCall::EAudioStart) |
|
965 #define DMMTSY_AUDIO_STOP_TONE (RMobileCall::EAudioStop) |
|
966 #define DMMTSY_AUDIO_CONGESTION_TONE (RMobileCall::ECongestionTone) |
|
967 #define DMMTSY_AUDIO_PLAYED_LOCALLY (TBool)(ETrue) |
|
968 #define DMMTSY_AUDIO_NO_TONE (RMobileCall::ENoTone) |
|
969 |
|
970 #define DMMTSY_PHONE_NOTIFY_SERVICEREQUEST (RMobilePhone::ESendSSReturnResult) |
|
971 #define DMMTSY_PHONE_NOTIFY_OPCODE (0x05) |
|
972 #define DMMTSY_PHONE_NOTIFY_ADDINFO (_L("ReturnResult Parameters")) |
|
973 #define DMMTSY_PHONE_NOTIFY_SERVICEREQUEST_ERROR (RMobilePhone::ESendSSReturnError) |
|
974 #define DMMTSY_PHONE_NOTIFY_RETURN_ERROR_PROBLEM_CODE (0x04) |
|
975 |
|
976 #define DMMTSY_PHONE_NOTIFY_DTMFEVENT_ON (RMobilePhone::EStartDtmfTone) |
|
977 |
|
978 //testing SIM-Personalisation |
|
979 #define DMMTSY_PHONE_PERS_CAPS_SERV_PROV (RMobilePhone::KCapsPersonalisedServiceProvider) |
|
980 #define DMMTSY_PHONE_PERS_CAPS_NETWORK (RMobilePhone::KCapsPersonalisedNetwork) |
|
981 #define DMMTSY_PHONE_PERS_GET_NETWORK_SUB (RMobilePhone::KPersonalisedNetworkSub) |
|
982 #define DMMTSY_PHONE_PERS_GET_CORPORATE (RMobilePhone::KPersonalisedCorporate) |
|
983 #define DMMTSY_PHONE_PERS_SET_USIM (RMobilePhone::EPersonaliseUsim) |
|
984 #define DMMTSY_PHONE_PERS_SET_CODE (_L("1234")) |
|
985 |
|
986 // testing IMS |
|
987 |
|
988 #define DMMTSY_PHONE1_IMPI (_L8("IMPI")) |
|
989 #define DMMTSY_PHONE1_COUNT (1) |
|
990 #define DMMTSY_PHONE1_IMPU0 (_L8("IMPU")) |
|
991 #define DMMTSY_PHONE1_HNDN (_L8("HNDN")) |
|
992 #define DMMTSY_PHONE1_DATASOURCE (RMobilePhone::EFromUSIM) |
|
993 |
|
994 |
|
995 #define DMMTSY_PHONE2_IMPI (_L8("IMPI2")) |
|
996 #define DMMTSY_PHONE2_COUNT (4) |
|
997 #define DMMTSY_PHONE2_IMPU1 (_L8("IMPU2-1")) |
|
998 #define DMMTSY_PHONE2_IMPU2 (_L8("IMPU2-2")) |
|
999 #define DMMTSY_PHONE2_IMPU3 (_L8("IMPU2-3")) |
|
1000 #define DMMTSY_PHONE2_IMPU4 (_L8("IMPU2-4")) |
|
1001 #define DMMTSY_PHONE2_HNDN (_L8("HNDN2")) |
|
1002 #define DMMTSY_PHONE2_DATASOURCE (RMobilePhone::EFromISIM) |
|
1003 |
|
1004 |
|
1005 #define DMMTSY_PHONE3_IMPI (_L8("")) |
|
1006 #define DMMTSY_PHONE3_COUNT (0) |
|
1007 #define DMMTSY_PHONE3_HNDN (_L8("")) |
|
1008 #define DMMTSY_PHONE3_DATASOURCE (RMobilePhone::EFromUSIM) |
|
1009 |
|
1010 |
|
1011 #define DMMTSY_PHONE_AUTN_IN (_L8("AUTN_IN")) |
|
1012 #define DMMTSY_PHONE_RAND_IN (_L8("RAND_IN")) |
|
1013 #define DMMTSY_PHONE_RES_IN (_L8("")) |
|
1014 #define DMMTSY_PHONE_IK_IN (_L8("")) |
|
1015 #define DMMTSY_PHONE_CK_IN (_L8("")) |
|
1016 #define DMMTSY_PHONE_AUTS_IN (_L8("")) |
|
1017 |
|
1018 #define DMMTSY_PHONE_AUTN_OUT (_L8("0123456789123456")) |
|
1019 #define DMMTSY_PHONE_RAND_OUT (_L8("1234567891234560")) |
|
1020 #define DMMTSY_PHONE_RES_OUT (_L8("2345678912345601")) |
|
1021 #define DMMTSY_PHONE_IK_OUT (_L8("345601632960000")) |
|
1022 #define DMMTSY_PHONE_CK_OUT (_L8("4567891234560123")) |
|
1023 #define DMMTSY_PHONE_AUTS_OUT (_L8("56789123456789")) |
|
1024 |
|
1025 // Test values for SmartCardAuthenticate |
|
1026 #define DMMTSY_PHONE_SC_AUTN_IN (_L8("DMM_SC_AUTH_AUTN")) |
|
1027 #define DMMTSY_PHONE_SC_RAND_IN (_L8("DMM_SC_AUTH_RAND")) |
|
1028 #define DMMTSY_PHONE_SC_RES_IN (_L8("")) |
|
1029 #define DMMTSY_PHONE_SC_IK_IN (_L8("")) |
|
1030 #define DMMTSY_PHONE_SC_CK_IN (_L8("")) |
|
1031 #define DMMTSY_PHONE_SC_AUTS_IN (_L8("")) |
|
1032 #define DMMTSY_PHONE_SC_KC_IN (_L8("")) |
|
1033 |
|
1034 #define DMMTSY_PHONE_SC_AUTN_OUT (_L8("DMM_AUTN_OUT")) |
|
1035 #define DMMTSY_PHONE_SC_RAND_OUT (_L8("DMM_RAND_OUT")) |
|
1036 #define DMMTSY_PHONE_SC_RES_OUT (_L8("DMM_RES_OUT")) |
|
1037 #define DMMTSY_PHONE_SC_IK_OUT (_L8("DMM_IK_OUT")) |
|
1038 #define DMMTSY_PHONE_SC_CK_OUT (_L8("DMM_CK_OUT")) |
|
1039 #define DMMTSY_PHONE_SC_AUTS_OUT (_L8("DMM_AUTS_OUT")) |
|
1040 #define DMMTSY_PHONE_SC_KC_OUT (_L8("DMM_KC_O")) |
|
1041 |
|
1042 //_LIT8(DMMTSY_PHONE_GBA_AID, "\x00\x10\x11\x12\x15\x13\x00\x01\x00\x02\x03\x00\x04\x05\x08\x09"); |
|
1043 _LIT8(DMMTSY_PHONE_GBA_AID, "\x00\x01\x01\x02\x03\x00\x04\x05\x08\x09\x00\x10\x11\x12\x11\x12"); |
|
1044 |
|
1045 #define DMMTSY_PHONE_AUTH_DATA_GBA_PARAMS (RMobilePhone::EGbaBootstrapParams) |
|
1046 #define DMMTSY_PHONE_AUTH_DATA_NAF_LIST (RMobilePhone::EGbaNafIdList) |
|
1047 #define DMMTSY_PHONE_AUTH_DATA_MBMS_MSK (RMobilePhone::EMbmsMskIdList) |
|
1048 #define DMMTSY_PHONE_AUTH_DATA_MBMS_MUK (RMobilePhone::EMbmsMuk) |
|
1049 |
|
1050 #define DMMTSY_PHONE_GBA_AUTN_IN (_L8("DMM_GBAAUTH_AUTN")) |
|
1051 #define DMMTSY_PHONE_GBA_RAND_IN (_L8("DMM_GBAAUTH_RAND")) |
|
1052 |
|
1053 #define DMMTSY_PHONE_GBA_AUTN_INV (_L8("DMM_GBAINV_AUTN")) |
|
1054 #define DMMTSY_PHONE_GBA_RAND_INV (_L8("DMM_GBAINV_RAND")) |
|
1055 |
|
1056 #define DMMTSY_PHONE_GBA_SUCC_RES_OUT (_L8("DMM_SUC_RES_OUT")) |
|
1057 #define DMMTSY_PHONE_GBA_FAIL_RES_OUT (_L8("")) |
|
1058 |
|
1059 #define DMMTSY_PHONE_GBA_FAIL_AUTS_OUT (_L8("DMM_AUTS_OUT")) |
|
1060 #define DMMTSY_PHONE_GBA_SUCC_AUTS_OUT (_L8("")) |
|
1061 |
|
1062 #define DMMTSY_PHONE_GBA_NAFLIST_COUNT (3) |
|
1063 #define DMMTSY_PHONE_GBA_NAFLIST_BTID_ONE (_L8("DMMTSY_PHONE_GBA_NAFLIST_BTID_ONE_EFABCDEFABCDEFABCDEF1234567890123456789012342345678901234567890123456789012345678901234567890123456789012345678567890123456789012345678901234567890190123456789012345678901234567890123456789012345ABCDEFABCDEFABCDEFABCDEAFA")) |
|
1064 |
|
1065 #define DMMTSY_PHONE_GBA_NAFLIST_NAFID_ONE (_L8("DMMTSY_PHONE_GBA_NAFLIST_NAFID_ONE_BCDEFABCDEFABCDEF1234567890123456789012345678901234567890123456780123456789012345678901234567890123456789012345901234567890123456789012345678901234567890123456789012345678967890123456789012345ABCDEFABCDEFABCDEFABCDEFABCD")) |
|
1066 |
|
1067 #define DMMTSY_PHONE_GBA_NAFLIST_BTID_TWO (_L8("DMMTSY_PHONE_GBA_NAFLIST_BTID_TWO_ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234567890123456123456789012345678901234567890123456789012345678901789012345678901234567890123456789012345678901234567890234567890123456789012345678901234567890123")) |
|
1068 |
|
1069 #define DMMTSY_PHONE_GBA_NAFLIST_NAFID_TWO (_L8("DMMTSY_PHONE_GBA_NAFLIST_NAFID_TWO_ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF1234567890123456789012345678901234567890123456789012345678901234567890890123456789012345678901234567890123456789012345678901234567123456789012345678901234567890123456789012")) |
|
1070 |
|
1071 #define DMMTSY_PHONE_GBA_NAFLIST_BTID_THREE (_L8("DMMTSY_PHONE_GBA_NAFLIST_BTID_THREE_ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678903")) |
|
1072 |
|
1073 #define DMMTSY_PHONE_GBA_NAFLIST_NAFID_THREE (_L8("DMMTSY_PHONE_GBA_NAFLIST_BTID_THREE_ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903")) |
|
1074 |
|
1075 #define DMMTSY_PHONE_BSF_VALID_BTID (_L8("DMM_BTID_VALID__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123")) |
|
1076 #define DMMTSY_PHONE_BSF_VALID_KEYLIFETIME (_L8("DMM_LT_VALID_01234567890123456ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345")) |
|
1077 #define DMMTSY_PHONE_BSF_INVALID_BTID (_L8("DMM_BTID_INV")) |
|
1078 #define DMMTSY_PHONE_BSF_INVALID_KEYLIFETIME (_L8("DMM_LT_INV")) |
|
1079 |
|
1080 #define DMMTSY_PHONE_GBA_VALID_NAFID (_L8("DMM_VAL_NAF__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123432")) |
|
1081 #define DMMTSY_PHONE_GBA_VALID_IMPI (_L8("DMM_VAL_IMPI__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF1234567890123451234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890678901234567890123456789012345678901234567890123456789030123456789012345612316")) |
|
1082 #define DMMTSY_PHONE_GBA_INVALID_NAFID (_L8("DMM_INV_NAFID")) |
|
1083 #define DMMTSY_PHONE_GBA_INVALID_IMPI (_L8("DMM_INV_IMPI")) |
|
1084 |
|
1085 #define DMMTSY_PHONE_GBA_KS_EXTNAF (_L8("DMM_EXT_NAF__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123136")) |
|
1086 |
|
1087 _LIT8(DMMTSY_PHONE_MBMS_AID, "\x00\x10\x11\x12\x00\x04\x05\x08\x15\x13\x00\x01\x00\x02\x03\x09"); |
|
1088 #define DMMTSY_PHONE_MBMS_VALID_IMIKEY_WO_VBIT (_L8("DMM_IMIK_WO_V")) |
|
1089 #define DMMTSY_PHONE_MBMS_VALID_IMIKEY_W_VBIT (_L8("DMM_IMIK_W_V")) |
|
1090 #define DMMTSY_PHONE_MBMS_VALID_IMIKEY (_L8("DMM_IMIK_VAL")) |
|
1091 #define DMMTSY_PHONE_MBMS_INVALID_IMIKEY (_L8("DMM_IMIK_INV")) |
|
1092 |
|
1093 #define DMMTSY_PHONE_MBMS_OMIKEY_FOR_W_VBIT (_L8("DMM_OMIK_W_V")) |
|
1094 #define DMMTSY_PHONE_MBMS_VALID_MTK (_L8("DMM_VAL_MTK__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123136")) |
|
1095 #define DMMTSY_PHONE_MBMS_VALID_SALTKEY (_L8("DMM_VAL_SKEY")) |
|
1096 |
|
1097 #define DMMTSY_PHONE_MBMS_VALID_KEYDMN (_L8("KDN")) |
|
1098 #define DMMTSY_PHONE_MBMS_VALID_MSKIDGRP (_L8("GR")) |
|
1099 #define DMMTSY_PHONE_MBMS_INVALID_KEYDMN (_L8("IKN")) |
|
1100 #define DMMTSY_PHONE_MBMS_INVALID_MSKIDGRP (_L8("IG")) |
|
1101 |
|
1102 #define DMMTSY_PHONE_MBMS_VALID_MUKID (_L8("DMM_VAL_MUKID__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678901234561231")) |
|
1103 #define DMMTSY_PHONE_MBMS_INVALID_MUKID (_L8("DMM_INV_MUKID")) |
|
1104 #define DMMTSY_PHONE_MBMS_VALID_MUK_IDI (_L8("DMM_VAL_MUK_IDI__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF1234567890123451234567890123456789012345678901234567890123456789012345678923456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678901234561231")) |
|
1105 #define DMMTSY_PHONE_MBMS_VALID_MUK_IDR (_L8("DMM_VAL_MUK_IDR__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF1234567890123451234567890123456789012345678901234567890123456789012345678923456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678901234561231")) |
|
1106 #define DMMTSY_PHONE_MBMS_VALID_MUK_ITIMESTM (_L8("TSTM")) |
|
1107 |
|
1108 #define DMMTSY_PHONE_MBMS_LIST_COUNT (3) |
|
1109 |
|
1110 #define DMMTSY_PHONE_MBMSLIST_KEYDMN_ONE (_L8("KY1")) |
|
1111 #define DMMTSY_PHONE_MBMSLIST_MSKID_ONE (_L8("MSK1")) |
|
1112 #define DMMTSY_PHONE_MBMSLIST_TIMESTM_ONE (_L8("STM1")) |
|
1113 |
|
1114 #define DMMTSY_PHONE_MBMSLIST_KEYDMN_TWO (_L8("KY2")) |
|
1115 #define DMMTSY_PHONE_MBMSLIST_MSKID_TWO (_L8("MSK2")) |
|
1116 #define DMMTSY_PHONE_MBMSLIST_TIMESTM_TWO (_L8("STM2")) |
|
1117 |
|
1118 #define DMMTSY_PHONE_MBMSLIST_KEYDMN_THREE (_L8("KY3")) |
|
1119 #define DMMTSY_PHONE_MBMSLIST_MSKID_THREE (_L8("MSK3")) |
|
1120 #define DMMTSY_PHONE_MBMSLIST_TIMESTM_THREE (_L8("STM3")) |
|
1121 |
|
1122 #define DMMTSY_PHONE_WLAN_SIDLIST_COUNT (3) |
|
1123 |
|
1124 #define DMMTSY_PHONE_WLAN_PSEUDONYM (RMobilePhone::KWlanPseudonym) |
|
1125 #define DMMTSY_PHONE_WLAN_REAUTHID (RMobilePhone::KWlanReauthenticationId) |
|
1126 #define DMMTSY_PHONE_WLAN_MASTERKEY (RMobilePhone::KWlanMasterKey) |
|
1127 #define DMMTSY_PHONE_WLAN_COUNTER (RMobilePhone::KWlanCounter) |
|
1128 #define DMMTSY_PHONE_WLAN_LIST_DATA_FLAGS ((DMMTSY_PHONE_WLAN_PSEUDONYM | \ |
|
1129 DMMTSY_PHONE_WLAN_REAUTHID |\ |
|
1130 DMMTSY_PHONE_WLAN_MASTERKEY |\ |
|
1131 DMMTSY_PHONE_WLAN_COUNTER )) |
|
1132 |
|
1133 #define DMMTSY_PHONE_WLAN_VALID_PSEUDONYM (_L8("DMM_VAL_PNYM__ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345690301234567890123456123432")) |
|
1134 #define DMMTSY_PHONE_WLAN_VALID_REAUTHID (_L8("DMM_VAL_REAID_ABCD78ABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678908712345678901234523435")) |
|
1135 #define DMMTSY_PHONE_WLAN_VALID_MASTERKEY (_L8("DMM_VAL_MASTERKEY_EFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678123456123435")) |
|
1136 #define DMMTSY_PHONE_WLAN_VALID_COUNTER (_L8("DMM_VAL_COUNTER_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF123456789012345123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789067890123456789012345678901234567890123456789012345678903012345678923456123435")) |
|
1137 |
|
1138 #define DMMTSY_PHONE_WLAN_INVALID_PSEUDONYM (_L8("DMM_INV_PNYM")) |
|
1139 #define DMMTSY_PHONE_WLAN_INVALID_REAUTHID (_L8("DMM_INV_REAID")) |
|
1140 #define DMMTSY_PHONE_WLAN_INVALID_MASTERKEY (_L8("DMM_INV_MASTERKEY")) |
|
1141 #define DMMTSY_PHONE_WLAN_INVALID_COUNTER (_L8("DMM_INV_CTR")) |
|
1142 |
|
1143 #define DMMTSY_PHONE_WLAN_WSID_ONE (_L8("DMM_SID_1_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123435ACDB")) |
|
1144 #define DMMTSY_PHONE_WLAN_USERDEFD_ONE (TBool)(ETrue) |
|
1145 |
|
1146 #define DMMTSY_PHONE_WLAN_WSID_TWO (_L8("DMM_SID_2_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF12345678901234512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906789012345678901234567890123456789012345678901234567890301234567890123456123435ACDB")) |
|
1147 #define DMMTSY_PHONE_WLAN_USERDEFD_TWO (TBool)(ETrue) |
|
1148 |
|
1149 #define DMMTSY_PHONE_WLAN_WSID_THREE (_L8("DMM_SID_3_CDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCDEF1234567890123451234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890678901234567890123456789012345678901234567890123456789030123456789012345612343BED56")) |
|
1150 #define DMMTSY_PHONE_WLAN_USERDEFD_THREE (TBool)(EFalse) |
|
1151 |
|
1152 #define DMMTSY_PHONE_WLAN_INVALID_WSID_ONE (_L8("DMM_INV_SID_1")) |
|
1153 #define DMMTSY_PHONE_WLAN_INVALID_USERDEFD_ONE (TBool)(ETrue) |
|
1154 |
|
1155 #define DMMTSY_PHONE_WLAN_INVALID_WSID_TWO (_L8("DMM_INV_SID_2")) |
|
1156 #define DMMTSY_PHONE_WLAN_INVALID_USERDEFD_TWO (TBool)(EFalse) |
|
1157 |
|
1158 #define DMMTSY_PHONE_WLAN_INVALID_WSID_THREE (_L8("DMM_INV_SID_3")) |
|
1159 #define DMMTSY_PHONE_WLAN_INVALID_USERDEFD_THREE (TBool)(EFalse) |
|
1160 |
|
1161 // Testing Smart Card EAP |
|
1162 _LIT8(DMMTSY_PHONE_EAPAPP_AID, "\x00\x01\x00\x02\x03\x00\x04\x05\x08\x09\x00\x10\x11\x12\x15\x16"); |
|
1163 #define DMMTSY_PHONE_EAP_METHOD KETelSmartCardEapTypeAKA |
|
1164 |
|
1165 #define DMMTSY_PHONE1_EAP_IDTYPE (RMobileSmartCardEap::EPermanentIdentity) |
|
1166 #define DMMTSY_PHONE2_EAP_IDTYPE (RMobileSmartCardEap::EPseudonymIdentity) |
|
1167 #define DMMTSY_PHONE_EAPAUTHSTATUS (RMobileSmartCardEap::EAuthenticating) |
|
1168 #define DMMTSY_PHONE1_EAP_UID (_L8("DMM_Eap_SC_APP_UID_1")) |
|
1169 #define DMMTSY_PHONE2_EAP_UID (_L8("DMM_Eap_SC_APP_UID_2")) |
|
1170 #define DMMTSY_PHONE1_EAPPACKET (_L8("EAP_SC_App_AuthPacket_1244070100000001eap1.foo")) |
|
1171 #define DMMTSY_PHONE2_EAPPACKET (_L8("EAP_SC_App_AuthPacket_1244070100000001eap2.foo")) |
|
1172 #define DMMTSY_PHONE1_EAPPACKET2 (_L8("EAP_SC_App_AuthPacket2_1244070100000001eap1123456789012345678901234567890123456789012345678901234567890.foo")) |
|
1173 #define DMMTSY_PHONE2_EAPPACKET2 (_L8("EAP_SC_App_AuthPacket2_1244070100000001eap2123456789012345678901234567890123456789012345678901234567890.foo")) |
|
1174 #define DMMTSY_PHONE1_EAPKEY (_L8("EAP_SC_App_Key1_000111222333444555666777888999.foo")) |
|
1175 #define DMMTSY_PHONE2_EAPKEY (_L8("EAP_SC_App_Key2_000111222333444555666777888999.foo")) |
|
1176 #define DMMTSY_PHONE1_EAPKEYTAG (RMobileSmartCardEap::EEapKeyEMSK) |
|
1177 #define DMMTSY_PHONE2_EAPKEYTAG (RMobileSmartCardEap::EEapKeyMSK) |
|
1178 |
|
1179 |
|
1180 //Testing Location Services Requests |
|
1181 //Testing MTLR Requests |
|
1182 //Added |
|
1183 |
|
1184 #define DMMTSY_SETLCS_DOMAIN1 (RMobileLocationServices::EPacketSwitchedDomain) |
|
1185 #define DMMTSY_SETLCS_DOMAIN2 (RMobileLocationServices::ECircuitSwitchedDomain) |
|
1186 |
|
1187 #define DMMTSY_LOCATION_ESTIMATE_TYPE1 (RMobileLocationServices::ECurrentLocation) |
|
1188 #define DMMTSY_LOCATION_ESTIMATE_TYPE2 (RMobileLocationServices::ECurrentOrLastKnownLocation) |
|
1189 |
|
1190 #define DMMTSY_NOTIFICATION_TYPE1 (RMobileLocationServices::ENotifyLocationAllowed) |
|
1191 #define DMMTSY_NOTIFICATION_TYPE2 (RMobileLocationServices::ENotifyAndVerify_LocationAllowedIfNoResponse) |
|
1192 #define DMMTSY_NOTIFICATION_TYPE3 (RMobileLocationServices::ENotifyAndVerify_LocationNotAllowedIfNoResponse) |
|
1193 #define DMMTSY_NOTIFICATION_TYPE4 (RMobileLocationServices::ELocationPrivacyOverride) |
|
1194 #define DMMTSY_NOTIFICATION_TYPE5 (RMobileLocationServices::ELocationNotAllowed ) |
|
1195 |
|
1196 #define DMMTSY_DATA_CODING_SCHEME (TUint8)(0) |
|
1197 #define DMMTSY_DATA_CODING_SCHEME1 (TUint8)(1) |
|
1198 #define DMMTSY_DATA_CODING_SCHEME2 (TUint8)(2) |
|
1199 #define DMMTSY_DATA_CODING_SCHEME3 (TUint8)(3) |
|
1200 #define DMMTSY_DATA_CODING_SCHEME4 (TUint8)(4) |
|
1201 #define DMMTSY_DATA_CODING_SCHEME5 (TUint8)(5) |
|
1202 #define DMMTSY_DATA_CODING_SCHEME6 (TUint8)(6) |
|
1203 |
|
1204 #define DMMTSY_MTLR_RESPONSE1 (RMobileLocationServices::EPermissionGranted) |
|
1205 #define DMMTSY_MTLR_RESPONSE2 (RMobileLocationServices::EPermissionDenied) |
|
1206 |
|
1207 #define DMMTSY_MTLR_ERROR1 (RMobileLocationServices::ESystemFailure) |
|
1208 #define DMMTSY_MTLR_ERROR2 (RMobileLocationServices::EUnexpectedDataValue) |
|
1209 |
|
1210 #define DMMTSY_MTLR_REJECT1 (RMobileLocationServices::EDuplicateInvokeID) |
|
1211 #define DMMTSY_MTLR_REJECT2 (RMobileLocationServices::EUnrecognizedOperation) |
|
1212 #define DMMTSY_MTLR_REJECT3 (RMobileLocationServices::EResourceLimitation) |
|
1213 #define DMMTSY_MTLR_REJECT4 (RMobileLocationServices::EInitiatingRelease) |
|
1214 #define DMMTSY_MTLR_REJECT5 (RMobileLocationServices::EUnrecognizedLinkedID) |
|
1215 #define DMMTSY_MTLR_REJECT6 (RMobileLocationServices::ELinkedResponseUnexpected) |
|
1216 #define DMMTSY_MTLR_REJECT7 (RMobileLocationServices::EUnexpectedLinkedOperation) |
|
1217 #define DMMTSY_MTLR_REJECT8 (RMobileLocationServices::EMistypedParameter) |
|
1218 |
|
1219 #define DMMTSY_EXTERNAL_CLIENT_NAME _L8("xyz") |
|
1220 #define DMMTSY_EXTERNAL_CLIENT_ID _L8("00ABC1234TH") |
|
1221 #define DMMTSY_INVALID_EXTERNAL_CLIENT_ID _L8(" ") |
|
1222 |
|
1223 #define DMMTSY_MOLR_TYPE1 (RMobileLocationServices::ELocationEstimate) |
|
1224 #define DMMTSY_MOLR_TYPE2 (RMobileLocationServices::EAssistanceData) |
|
1225 #define DMMTSY_MOLR_TYPE3 (RMobileLocationServices::EDecipheringKeys) |
|
1226 |
|
1227 #define DMMTSY_MOLR_LOCATION_ESTIMATE _L8("ABC1245.123") |
|
1228 #define DMMTSY_MOLR_VELOCITY_ESTIMATE _L8("ABC1245.123") |
|
1229 |
|
1230 #define DMMTSY_MOLR_GPS_ASSISTANCE_DATA _L8("ABC") |
|
1231 |
|
1232 #define DMMTSY_MOLR_RESPONSE_TIME1 (RMobileLocationServices::ELowDelay) |
|
1233 #define DMMTSY_MOLR_RESPONSE_TIME2 (RMobileLocationServices::EDelayTolerant) |
|
1234 |
|
1235 #define DMMTSY_MOLR_LOCATION_METHOD1 (RMobileLocationServices::EMSBasedEOTD) |
|
1236 #define DMMTSY_MOLR_LOCATION_METHOD2 (RMobileLocationServices::EMSAssistedEOTD) |
|
1237 #define DMMTSY_MOLR_LOCATION_METHOD3 (RMobileLocationServices::EMSAssistedGPS) |
|
1238 #define DMMTSY_MOLR_LOCATION_METHOD4 (RMobileLocationServices::EMSBasedOTDOA) |
|
1239 |
|
1240 #define DMMTSY_MOLR_HORIZONTAL_ACCURACY (TUint8)(2222222) |
|
1241 #define DMMTSY_MOLR_VERTICAL_ACCURACY (TUint8)(1111111) |
|
1242 |
|
1243 #define DMMTSY_MOLR_LOCATION_ESTIMATION_TYPE1 (RMobileLocationServices::ECurrentLocation) |
|
1244 #define DMMTSY_MOLR_LOCATION_ESTIMATION_TYPE2 (RMobileLocationServices::ECurrentOrLastKnownLocation) |
|
1245 #define DMMTSY_MOLR_LOCATION_ESTIMATION_TYPE3 (RMobileLocationServices::EInitialLocation) |
|
1246 |
|
1247 #define DMMTSY_MOLR_ERROR_TYPE1 (RMobileLocationServices::EMolrSystemFailure) |
|
1248 #define DMMTSY_MOLR_ERROR_TYPE2 (RMobileLocationServices::EMolrUnexpectedDataValue) |
|
1249 #define DMMTSY_MOLR_ERROR_TYPE3 (RMobileLocationServices::EMolrDataMissing) |
|
1250 #define DMMTSY_MOLR_ERROR_TYPE4 (RMobileLocationServices::EMolrFacilityNotSupported) |
|
1251 #define DMMTSY_MOLR_ERROR_TYPE5 (RMobileLocationServices::EMolrSS_SubscriptionViolation) |
|
1252 #define DMMTSY_MOLR_ERROR_TYPE6 (RMobileLocationServices::EMolrPositionMethodFailure) |
|
1253 |
|
1254 //A-GPS Macros |
|
1255 #define DMMTSY_PHONE_LCS_MEASUREMENTID (TUint8)(100) |
|
1256 #define DMMTSY_PHONE_LCS_MEASUREMENTID1 (TUint8)(1) |
|
1257 #define DMMTSY_PHONE_LCS_INVALID_MEASUREMENTID (TUint8)(0) |
|
1258 #define DMMTSY_PHONE_LCS_MODIFIED_MEASUREMENTID (TUint8)(200) |
|
1259 |
|
1260 #define DMMTSY_PHONE_LCS_MCTRLFAILURE1 (RMobileLocationServices::EAsn1ViolationOrEncoding) |
|
1261 #define DMMTSY_PHONE_LCS_MCTRLFAILURE2 (RMobileLocationServices::EMsgTypeNonExistent) |
|
1262 #define DMMTSY_PHONE_LCS_MCTRLFAILURE3 (RMobileLocationServices::EMsgNotCompatibleWithReceiverState) |
|
1263 #define DMMTSY_PHONE_LCS_MCTRLFAILURE4 (RMobileLocationServices::EIeValueNotComprehend) |
|
1264 #define DMMTSY_PHONE_LCS_MCTRLFAILURE5 (RMobileLocationServices::EInformationElementMissing) |
|
1265 #define DMMTSY_PHONE_LCS_MCTRLFAILURE6 (RMobileLocationServices::EMsgExtnNotComprehend) |
|
1266 |
|
1267 #define DMMTSY_PHONE_LCS_MC_POSTYPE (RMobileLocationServices::EUeBased) |
|
1268 #define DMMTSY_PHONE_LCS_MC_POSMETHOD (RMobileLocationServices::EGps) |
|
1269 #define DMMTSY_PHONE_LCS_MC_CHANNELID (TUint8)(10) |
|
1270 #define DMMTSY_PHONE_LCS_MC_TOTALCRC (TUint)(1) |
|
1271 #define DMMTSY_PHONE_LCS_MC_BADCRC (TUint)(0) |
|
1272 #define DMMTSY_PHONE_LCS_MC_PENDING (TUint)(0) |
|
1273 #define DMMTSY_PHONE_LCS_MC_NOREPORTING (TBool)(ETrue) |
|
1274 #define DMMTSY_PHONE_LCS_MC_HORZACCURACY (TInt8)(0) |
|
1275 #define DMMTSY_PHONE_LCS_MC_VERTACCURACY (TInt8)(0) |
|
1276 #define DMMTSY_PHONE_LCS_MC_GPSTIMEOFCELLWANTED (TBool)(EFalse) |
|
1277 #define DMMTSY_PHONE_LCS_MC_ADDLASSISTANCEDATAREQ (TBool)(ETrue) |
|
1278 |
|
1279 #define DMMTSY_PHONE_LCS_MC_VERIFIEDBSIC (TUint8)(10) |
|
1280 #define DMMTSY_PHONE_LCS_MC_NONVERIFIEDBSIC (TUint8)(0) |
|
1281 #define DMMTSY_PHONE_LCS_MC_PRIMARYSCRAMBLECODE (TUint)(1) |
|
1282 #define DMMTSY_PHONE_LCS_MC_CELLPARAMSID (TUint)(50) |
|
1283 #define DMMTSY_PHONE_LCS_MC_CELLID (TUint)(100) |
|
1284 #define DMMTSY_PHONE_LCS_MC_TRAFFICVOLMEASRES (TUint8)(5) |
|
1285 #define DMMTSY_PHONE_LCS_MC_QLTYMEASRES (TBool)(ETrue) |
|
1286 #define DMMTSY_PHONE_LCS_MC_RPTTRANSFERMODE (RMobileLocationServices::EAckModeRlc) |
|
1287 #define DMMTSY_PHONE_LCS_MC_GPS_REFTIME_GPSWK TUint(1) |
|
1288 #define DMMTSY_PHONE_LCS_MC_GPS_REFTIME_GPSTOWONEMSCE TUint(1) |
|
1289 |
|
1290 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_LATSIGN1 (RMobileLocationServices::ENorth) |
|
1291 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_LATSIGN2 (RMobileLocationServices::ESouth) |
|
1292 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_LAT TUint(100) |
|
1293 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_LONG TUint(200) |
|
1294 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_DIRECTION1 TUint(EHeight) |
|
1295 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_DIRECTION2 TUint(EDepth) |
|
1296 #define DMMTSY_PHONE_LCS_MC_GPS_REFLOC_ALT TUint(1000) |
|
1297 #define DMMTSY_PHONE_LCS_MC_GPS_CORRECTIONS_TOW TUint(100.10) |
|
1298 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATID TUint8(122) |
|
1299 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATSTATUS1 (RMobileLocationServices::ENsNnU) |
|
1300 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATSTATUS2 (RMobileLocationServices::EEsSn) |
|
1301 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATSTATUS3 (RMobileLocationServices::EEsNnU) |
|
1302 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATSTATUS4 (RMobileLocationServices::ERev2) |
|
1303 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATSTATUS5 (RMobileLocationServices::ERev) |
|
1304 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_EPHEMERIS TUint8(99) |
|
1305 #define DMMTSY_PHONE_LCS_MC_GPS_NAVIGATION_SATHEALTH TUint(100.100) |
|
1306 #define DMMTSY_PHONE_LCS_MC_GPS_IONOSPHERIC_MODEL1 TUint8(111) |
|
1307 #define DMMTSY_PHONE_LCS_MC_GPS_UTC_MODEL1 TUint8(222) |
|
1308 #define DMMTSY_PHONE_LCS_MC_GPS_ALMANAC TUint8(111) |
|
1309 #define DMMTSY_PHONE_LCS_MC_GPS_ACQASSISTANCE_TIME TUint32(999999090) |
|
1310 #define DMMTSY_PHONE_LCS_MC_GPS_MODE_PRIMARYCODE TUint16(1) |
|
1311 #define DMMTSY_PHONE_LCS_MC_GPS_MODE_CELLPARAMID TUint16(1) |
|
1312 #define DMMTSY_PHONE_LCS_MC_GPS_BADSATLIST TUint8(0) |
|
1313 |
|
1314 #define DMMTSY_PHONE_LCS_MC_VELOCITY_REQUESTED (TBool)(ETrue) |
|
1315 #define DMMTSY_PHONE_LCS_MC_VELOCITY_NOTREQUESTED (TBool)(EFalse) |
|
1316 #define DMMTSY_PHONE_LCS_MC_GPS_ACQASSISTANCE_REFTIMEST_REQUESTED (TBool)(ETrue) |
|
1317 #define DMMTSY_PHONE_LCS_MC_GPS_ACQASSISTANCE_REFTIMEST_NOTREQUESTED (TBool)(ETrue) |
|
1318 |
|
1319 //measurement report parameters |
|
1320 //Velocity estimate macros |
|
1321 |
|
1322 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS1 (RMobileLocationServices::EHorzVelPresent) |
|
1323 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS2 (RMobileLocationServices::EHorzWithVertVelPresent) |
|
1324 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS3 (RMobileLocationServices::EHorzVelWithUncertPresent) |
|
1325 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS4 (RMobileLocationServices::EHorzWithVertVelAndUncertPresent) |
|
1326 |
|
1327 // if DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS1 |
|
1328 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZ_BEARING TUint16(11111) |
|
1329 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZ_SPEED TUint16(111.0001) |
|
1330 // if DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS2 |
|
1331 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHVERT_BEARING TUint16(10000) |
|
1332 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHVERT_SPEED TUint16(100.0001) |
|
1333 // if DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS3 |
|
1334 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHUNCERTAINITY_BEARING TUint16(10001) |
|
1335 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHUNCERTAINITY_SPEED TUint16(101.0001) |
|
1336 // if DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_STATUS4 |
|
1337 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHVERTANDUNCERTAINITY_BEARING TUint16(100111) |
|
1338 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHVERTANDUNCERTAINITY_HORZSPEED TUint16(01111.0001) |
|
1339 #define DMMTSY_PHONE_LCS_MC_GPS_VELOCITYEST_HORZWITHVERTANDUNCERTAINITY_VERTSPEED TUint16(0111.0001) |
|
1340 |
|
1341 // Position Estimate ReferenceInfo |
|
1342 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO1 (RMobileLocationServices::EUtranGpsRefTimeResultPresent) |
|
1343 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO2 (RMobileLocationServices::EGpsRefTimeOnlyPresent) |
|
1344 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO3 (RMobileLocationServices::ECellTimingPresent) |
|
1345 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO4 (RMobileLocationServices::EPosEstimateRefTimePresent) |
|
1346 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO5 (RMobileLocationServices::EEllipsoidPointPresent) |
|
1347 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO6 (RMobileLocationServices::EEllipsoidPointUncertCirclePresent) |
|
1348 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO7 (RMobileLocationServices::EEllipsoidPointUncertEllipsePresent) |
|
1349 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO8 (RMobileLocationServices::EEllipsoidPointAltitudePresent) |
|
1350 #define DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO9 (RMobileLocationServices::EEllipsoidPointAltEllipsePresent) |
|
1351 |
|
1352 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO1 |
|
1353 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFTIME_MODESTATUS_REQUESTED (TBool)(ETrue) |
|
1354 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANMODE_MODE_FDDID TUint16(232323) |
|
1355 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANMODE_MODE_TDDID TUint8(123232) |
|
1356 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFTIME_MSPART TUint16(1) |
|
1357 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFTIME_LSPART TUint16(1) |
|
1358 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFTIME_SFN TUint16(1) |
|
1359 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO2 |
|
1360 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFTIME_ONLY TUint16(12.00.10) |
|
1361 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO3 |
|
1362 #define DMMTSY_PHONE_LCS_MC_GPS_UTRANREFCELLTIME_SFN TUint16(10.00.10) |
|
1363 |
|
1364 //Position estimate macros |
|
1365 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSOIDPT_LATSIGN1 (RMobileLocationServices::ENorth) |
|
1366 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSOIDPT_LATSIGN2 (RMobileLocationServices::ENorth) |
|
1367 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSOIDPTALTELIPSE_DIRECTION1 (RMobileLocationServices::EHeight) |
|
1368 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSOIDPTALTELIPSE_DIRECTION2 (RMobileLocationServices::EDepth) |
|
1369 |
|
1370 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO5 |
|
1371 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPT_LAT TUint16(100) |
|
1372 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPT_LON TUint16(200) |
|
1373 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO6 |
|
1374 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNCIRCLE_LAT TUint16(100) |
|
1375 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNCIRCLE_LON TUint16(200) |
|
1376 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNCIRCLE_UNCRTNCODE TUint16(200) |
|
1377 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO7 |
|
1378 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNELIPSE_LON TUint16(200) |
|
1379 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNELIPSE_LAT TUint16(100) |
|
1380 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNELIPSE_UNCRTNMAJOR TUint8(300) |
|
1381 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTUNCRTNELIPSE_UNCRTNMINOR TUint8(150) |
|
1382 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO8 |
|
1383 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALT_LON TUint16(200) |
|
1384 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALT_LAT TUint16(100) |
|
1385 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALT_ALT TUint16(200) |
|
1386 //if DMMTSY_PHONE_LCS_MC_GPS_POSESTINFO9 |
|
1387 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALTELIPSE_LAT TUint16(100) |
|
1388 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALTELIPSE_LON TUint16(200) |
|
1389 #define DMMTSY_PHONE_LCS_MC_GPS_POSEST_ELIPSPTPTALTELIPSE_ALTDIR TUint16(200) |
|
1390 |
|
1391 //Measurement ParamList |
|
1392 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_PATHINDICATOR1 (RMobileLocationServices::ENm) |
|
1393 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_PATHINDICATOR2 (RMobileLocationServices::ELow) |
|
1394 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_PATHINDICATOR3 (RMobileLocationServices::EMedium) |
|
1395 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_PATHINDICATOR4 (RMobileLocationServices::EHigh) |
|
1396 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_GPSCHIPS TUint16(3333444) |
|
1397 #define DMMTSY_PHONE_LCS_MC_GPS_PARAMLIST_SATID TUint8(23423) |
|
1398 |
|
1399 #define DMMTSY_PHONE_LCS_MCR_POSERROR_STATUS_FALSE TBool(EFalse) |
|
1400 #define DMMTSY_PHONE_LCS_MCR_POSERROR_STATUS_TRUE TBool(ETrue) |
|
1401 |
|
1402 //Measurement control Error Cause |
|
1403 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE1 (RMobileLocationServices::ENotEnoughGpsSatellites) |
|
1404 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE2 (RMobileLocationServices::EAssistanceDataMissing) |
|
1405 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE3 (RMobileLocationServices::ENotAccomplishedGpsTimingOfCellFrames) |
|
1406 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE4 (RMobileLocationServices::EUndefinedError) |
|
1407 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE5 (RMobileLocationServices::ERequestDeniedByUser) |
|
1408 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE6 (RMobileLocationServices::ENotProcessedAndTimeout) |
|
1409 #define DMMTSY_PHONE_LCS_MC_GPS_ERRORCAUSE7 (RMobileLocationServices::EReferenceCellNotServingCell) |
|
1410 |
|
1411 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_ALMANACREQ TBool(ETrue) |
|
1412 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_UTCREQ TBool(ETrue) |
|
1413 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_IONREQ TBool(ETrue) |
|
1414 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_NAVREQ TBool(ETrue) |
|
1415 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_DPSREQ TBool(ETrue) |
|
1416 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_REFTIMEREQ TBool(ETrue) |
|
1417 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_REFLOCREQ TBool(ETrue) |
|
1418 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_ACQASSITREQ TBool(ETrue) |
|
1419 #define DMMTSY_PHONE_LCS_MC_GPS_ADDLASSITDATA_REALTIMEINTGREQ TBool(ETrue) |
|
1420 |
|
1421 //UE Positioning Technology reset notifications |
|
1422 #define DMMTSY_PHONE_LCS_UE_POS_TECH (RMobileLocationServices::KUePosTechnologyAGPS) |
|
1423 |
|
1424 #endif // __TESTDEF_H |
|
1425 |