24
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This file contains all the interfaces classes that can be implemented by
|
|
15 |
// the Licensee LTSY relating to Sim related features.
|
|
16 |
//
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
/**
|
|
22 |
@file
|
|
23 |
@publishedPartner
|
|
24 |
@released
|
|
25 |
*/
|
|
26 |
|
|
27 |
|
|
28 |
#ifndef MLTSYDISPATCHSIMINTERFACE_H_
|
|
29 |
#define MLTSYDISPATCHSIMINTERFACE_H_
|
|
30 |
|
|
31 |
#include <ctsy/ltsy/mltsydispatchinterface.h>
|
|
32 |
#include <etelmm.h>
|
|
33 |
#include <ctsy/rmmcustomapi.h>
|
|
34 |
|
|
35 |
|
|
36 |
class MLtsyDispatchSimGetApnControlListServiceStatus : public MLtsyDispatchInterface
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
|
|
40 |
static const TInt KLtsyDispatchSimGetApnControlListServiceStatusApiId = KDispatchSimFuncUnitId + 1;
|
|
41 |
|
|
42 |
/**
|
|
43 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetAPNControlListServiceStatus
|
|
44 |
* request from the CTSY.
|
|
45 |
*
|
|
46 |
* It is a request call that is completed by invoking
|
|
47 |
* CCtsyDispatcherCallback::CallbackSimGetApnControlListServiceStatusComp()
|
|
48 |
*
|
|
49 |
* Implementation of this interface should get the current Apn Control List Service status from the LTSY.
|
|
50 |
*
|
|
51 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
52 |
* failure.
|
|
53 |
*/
|
|
54 |
virtual TInt HandleGetApnControlListServiceStatusReqL() = 0;
|
|
55 |
|
|
56 |
}; // class MLtsyDispatchSimGetApnControlListServiceStatus
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
class MLtsyDispatchSimDeleteApnName : public MLtsyDispatchInterface
|
|
61 |
{
|
|
62 |
public:
|
|
63 |
|
|
64 |
static const TInt KLtsyDispatchSimDeleteApnNameApiId = KDispatchSimFuncUnitId + 2;
|
|
65 |
|
|
66 |
/**
|
|
67 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneDeleteAPNName
|
|
68 |
* request from the CTSY.
|
|
69 |
*
|
|
70 |
* It is a request call that is completed by invoking
|
|
71 |
* CCtsyDispatcherCallback::CallbackSimDeleteApnNameComp()
|
|
72 |
*
|
|
73 |
* Implementation of this interface should delete the given entry from the APN control list.
|
|
74 |
*
|
|
75 |
* @param aIndex The index of the entry to delete.
|
|
76 |
*
|
|
77 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
78 |
* failure.
|
|
79 |
*/
|
|
80 |
virtual TInt HandleDeleteApnNameReqL(TUint32 aIndex) = 0;
|
|
81 |
|
|
82 |
}; // class MLtsyDispatchSimDeleteApnName
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
class MLtsyDispatchSimEnumerateApnEntries : public MLtsyDispatchInterface
|
|
87 |
{
|
|
88 |
public:
|
|
89 |
|
|
90 |
static const TInt KLtsyDispatchSimEnumerateApnEntriesApiId = KDispatchSimFuncUnitId + 3;
|
|
91 |
|
|
92 |
/**
|
|
93 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneEnumerateAPNEntries
|
|
94 |
* request from the CTSY.
|
|
95 |
*
|
|
96 |
* It is a request call that is completed by invoking
|
|
97 |
* CCtsyDispatcherCallback::CallbackSimEnumerateApnEntriesComp()
|
|
98 |
*
|
|
99 |
* Implementation of this interface should enumerate the available APN names in the Access Control list.
|
|
100 |
*
|
|
101 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
102 |
* failure.
|
|
103 |
*/
|
|
104 |
virtual TInt HandleEnumerateApnEntriesReqL() = 0;
|
|
105 |
|
|
106 |
}; // class MLtsyDispatchSimEnumerateApnEntries
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
class MLtsyDispatchSimChangeSecurityCode : public MLtsyDispatchInterface
|
|
111 |
{
|
|
112 |
public:
|
|
113 |
|
|
114 |
static const TInt KLtsyDispatchSimChangeSecurityCodeApiId = KDispatchSimFuncUnitId + 4;
|
|
115 |
|
|
116 |
/**
|
|
117 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneChangeSecurityCode
|
|
118 |
* request from the CTSY.
|
|
119 |
*
|
|
120 |
* It is a request call that is completed by invoking
|
|
121 |
* CCtsyDispatcherCallback::CallbackSimChangeSecurityCodeComp()
|
|
122 |
*
|
|
123 |
* Implementation of this interface should allow a client to change a security code.
|
|
124 |
*
|
|
125 |
* @param aSecCode The security code to be changed.
|
|
126 |
* @param aPasswds The old and the new values of the security code.
|
|
127 |
*
|
|
128 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
129 |
* failure.
|
|
130 |
*/
|
|
131 |
virtual TInt HandleChangeSecurityCodeReqL(RMobilePhone::TMobilePhoneSecurityCode aSecCode,
|
|
132 |
const RMobilePhone::TMobilePhonePasswordChangeV1& aPasswds) = 0;
|
|
133 |
|
|
134 |
}; // class MLtsyDispatchSimChangeSecurityCode
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
class MLtsyDispatchSimSetFdnSetting : public MLtsyDispatchInterface
|
|
139 |
{
|
|
140 |
public:
|
|
141 |
|
|
142 |
static const TInt KLtsyDispatchSimSetFdnSettingApiId = KDispatchSimFuncUnitId + 5;
|
|
143 |
|
|
144 |
/**
|
|
145 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSetFdnSetting
|
|
146 |
* request from the CTSY.
|
|
147 |
*
|
|
148 |
* It is a request call that is completed by invoking
|
|
149 |
* CCtsyDispatcherCallback::CallbackSimSetFdnSettingComp()
|
|
150 |
*
|
|
151 |
* Implementation of this interface should activate or deactivate the Fixed Dialling Numbers (FDN) service
|
|
152 |
* PIN2 must have been verified prior to changing the Fixed Dialling Numbers setting.
|
|
153 |
*
|
|
154 |
* @param aFdnSetting The FDN setting value.
|
|
155 |
*
|
|
156 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
157 |
* failure.
|
|
158 |
*/
|
|
159 |
virtual TInt HandleSetFdnSettingReqL(RMobilePhone::TMobilePhoneFdnSetting aFdnSetting) = 0;
|
|
160 |
|
|
161 |
}; // class MLtsyDispatchSimSetFdnSetting
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
class MLtsyDispatchSimGetCustomerServiceProfile : public MLtsyDispatchInterface
|
|
166 |
{
|
|
167 |
public:
|
|
168 |
|
|
169 |
static const TInt KLtsyDispatchSimGetCustomerServiceProfileApiId = KDispatchSimFuncUnitId + 6;
|
|
170 |
|
|
171 |
/**
|
|
172 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetCustomerServiceProfile
|
|
173 |
* request from the CTSY.
|
|
174 |
*
|
|
175 |
* It is a request call that is completed by invoking
|
|
176 |
* CCtsyDispatcherCallback::CallbackSimGetCustomerServiceProfileComp()
|
|
177 |
*
|
|
178 |
* Implementation of this interface should retrieve the whole Customer Service Profile file from LTSY.
|
|
179 |
*
|
|
180 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
181 |
* failure.
|
|
182 |
*/
|
|
183 |
virtual TInt HandleGetCustomerServiceProfileReqL() = 0;
|
|
184 |
|
|
185 |
}; // class MLtsyDispatchSimGetCustomerServiceProfile
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
class MLtsyDispatchSimGetSubscriberId : public MLtsyDispatchInterface
|
|
190 |
{
|
|
191 |
public:
|
|
192 |
|
|
193 |
static const TInt KLtsyDispatchSimGetSubscriberIdApiId = KDispatchSimFuncUnitId + 7;
|
|
194 |
|
|
195 |
/**
|
|
196 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetSubscriberId
|
|
197 |
* request from the CTSY.
|
|
198 |
*
|
|
199 |
* It is a request call that is completed by invoking
|
|
200 |
* CCtsyDispatcherCallback::CallbackSimGetSubscriberIdComp()
|
|
201 |
*
|
|
202 |
* Implementation of this interface should get the subscriber's identity as described by its IMSI from the LTSY.
|
|
203 |
*
|
|
204 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
205 |
* failure.
|
|
206 |
*/
|
|
207 |
virtual TInt HandleGetSubscriberIdReqL() = 0;
|
|
208 |
|
|
209 |
}; // class MLtsyDispatchSimGetSubscriberId
|
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
class MLtsyDispatchSimAppendApnName : public MLtsyDispatchInterface
|
|
214 |
{
|
|
215 |
public:
|
|
216 |
|
|
217 |
static const TInt KLtsyDispatchSimAppendApnNameApiId = KDispatchSimFuncUnitId + 8;
|
|
218 |
|
|
219 |
/**
|
|
220 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneAppendAPNName
|
|
221 |
* request from the CTSY.
|
|
222 |
*
|
|
223 |
* It is a request call that is completed by invoking
|
|
224 |
* CCtsyDispatcherCallback::CallbackSimAppendApnNameComp()
|
|
225 |
*
|
|
226 |
* Implementation of this interface should append the given entry to the end of the APN control list.
|
|
227 |
*
|
|
228 |
* @param aEntry The entry to append to the APN list.
|
|
229 |
*
|
|
230 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
231 |
* failure.
|
|
232 |
*/
|
|
233 |
virtual TInt HandleAppendApnNameReqL(const RMobilePhone::TAPNEntryV3& aEntry) = 0;
|
|
234 |
|
|
235 |
}; // class MLtsyDispatchSimAppendApnName
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
class MLtsyDispatchSimGetActiveIccApplicationType : public MLtsyDispatchInterface
|
|
240 |
{
|
|
241 |
public:
|
|
242 |
|
|
243 |
static const TInt KLtsyDispatchSimGetActiveIccApplicationTypeApiId = KDispatchSimFuncUnitId + 9;
|
|
244 |
|
|
245 |
/**
|
|
246 |
* The CTSY Dispatcher shall invoke this function on receiving the EMmTsySimGetICCType
|
|
247 |
* request from the CTSY.
|
|
248 |
*
|
|
249 |
* It is a request call that is completed by invoking
|
|
250 |
* CCtsyDispatcherCallback::CallbackSimGetActiveIccApplicationTypeComp()
|
|
251 |
*
|
|
252 |
* This handler is called by the CTSY to retrieve the current active ICC application type.
|
|
253 |
* Types are defined in MLtsyDispatchSimGetActiveIccApplicationType::TIccType.
|
|
254 |
*
|
|
255 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
256 |
* failure.
|
|
257 |
*/
|
|
258 |
|
|
259 |
enum TIccType
|
|
260 |
{
|
|
261 |
EIccTypeSim2GGsm,
|
|
262 |
EIccTypeSim3G,
|
|
263 |
EIccTypeSimUnknown
|
|
264 |
};
|
|
265 |
|
|
266 |
virtual TInt HandleGetActiveIccApplicationTypeReqL() = 0;
|
|
267 |
|
|
268 |
}; // class MLtsyDispatchSimGetActiveIccApplicationType
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
class MLtsyDispatchSimSetIccMessageWaitingIndicators : public MLtsyDispatchInterface
|
|
273 |
{
|
|
274 |
public:
|
|
275 |
|
|
276 |
static const TInt KLtsyDispatchSimSetIccMessageWaitingIndicatorsApiId = KDispatchSimFuncUnitId + 10;
|
|
277 |
|
|
278 |
/**
|
|
279 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSetIccMessageWaitingIndicators
|
|
280 |
* request from the CTSY.
|
|
281 |
*
|
|
282 |
* It is a request call that is completed by invoking
|
|
283 |
* CCtsyDispatcherCallback::CallbackSimSetIccMessageWaitingIndicatorsComp()
|
|
284 |
*
|
|
285 |
* Implementation of this interface should set the message waiting indicators on the current ICC.
|
|
286 |
*
|
|
287 |
* @param aIndicators The message waiting indicators to set.
|
|
288 |
*
|
|
289 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
290 |
* failure.
|
|
291 |
*/
|
|
292 |
virtual TInt HandleSetIccMessageWaitingIndicatorsReqL(const RMobilePhone::TMobilePhoneMessageWaitingV1& aIndicators) = 0;
|
|
293 |
|
|
294 |
}; // class MLtsyDispatchSimSetIccMessageWaitingIndicators
|
|
295 |
|
|
296 |
|
|
297 |
|
|
298 |
class MLtsyDispatchSimSetApnControlListServiceStatus : public MLtsyDispatchInterface
|
|
299 |
{
|
|
300 |
public:
|
|
301 |
|
|
302 |
static const TInt KLtsyDispatchSimSetApnControlListServiceStatusApiId = KDispatchSimFuncUnitId + 11;
|
|
303 |
|
|
304 |
/**
|
|
305 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneSetAPNControlListServiceStatus
|
|
306 |
* request from the CTSY.
|
|
307 |
*
|
|
308 |
* It is a request call that is completed by invoking
|
|
309 |
* CCtsyDispatcherCallback::CallbackSimSetApnControlListServiceStatusComp()
|
|
310 |
*
|
|
311 |
* Implementation of this interface should set the status of the APN Control List Service.
|
|
312 |
*
|
|
313 |
* @param aStatus The service status to set.
|
|
314 |
*
|
|
315 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
316 |
* failure.
|
|
317 |
*/
|
|
318 |
virtual TInt HandleSetApnControlListServiceStatusReqL(RMobilePhone::TAPNControlListServiceStatus aStatus) = 0;
|
|
319 |
|
|
320 |
}; // class MLtsyDispatchSimSetApnControlListServiceStatus
|
|
321 |
|
|
322 |
|
|
323 |
|
|
324 |
class MLtsyDispatchSimGetApnName : public MLtsyDispatchInterface
|
|
325 |
{
|
|
326 |
public:
|
|
327 |
|
|
328 |
static const TInt KLtsyDispatchSimGetApnNameApiId = KDispatchSimFuncUnitId + 12;
|
|
329 |
|
|
330 |
/**
|
|
331 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetAPNname
|
|
332 |
* request from the CTSY.
|
|
333 |
*
|
|
334 |
* It is a request call that is completed by invoking
|
|
335 |
* CCtsyDispatcherCallback::CallbackSimGetApnNameComp()
|
|
336 |
*
|
|
337 |
* Implementation of this interface should get the APN entry from the APN list at the index specified.
|
|
338 |
*
|
|
339 |
* @param aIndex The index of the APN entry to get from LTSY.
|
|
340 |
*
|
|
341 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
342 |
* failure.
|
|
343 |
*/
|
|
344 |
virtual TInt HandleGetApnNameReqL(TUint32 aIndex) = 0;
|
|
345 |
|
|
346 |
}; // class MLtsyDispatchSimGetApnName
|
|
347 |
|
|
348 |
|
|
349 |
|
|
350 |
class MLtsyDispatchSimSimRefreshDone : public MLtsyDispatchInterface
|
|
351 |
{
|
|
352 |
public:
|
|
353 |
|
|
354 |
static const TInt KLtsyDispatchSimSimRefreshDoneApiId = KDispatchSimFuncUnitId + 13;
|
|
355 |
|
|
356 |
/**
|
|
357 |
* The CTSY Dispatcher shall invoke this function on receiving the EMmTsySimRefreshDoneIPC
|
|
358 |
* request from the CTSY.
|
|
359 |
*
|
|
360 |
* It is a request call that has no complete.
|
|
361 |
*
|
|
362 |
*
|
|
363 |
* Implementation of this interface indicates to the LTSY the SIM refresh has finished.
|
|
364 |
*
|
|
365 |
*
|
|
366 |
* @param aError An error code relating to the result of the refresh.
|
|
367 |
*
|
|
368 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
369 |
* failure.
|
|
370 |
*/
|
|
371 |
virtual TInt HandleSimRefreshDoneReqL(TInt aError) = 0;
|
|
372 |
|
|
373 |
}; // class MLtsyDispatchSimSimRefreshDone
|
|
374 |
|
|
375 |
class MLtsyDispatchSimGetServiceTable : public MLtsyDispatchInterface
|
|
376 |
{
|
|
377 |
public:
|
|
378 |
|
|
379 |
static const TInt KLtsyDispatchSimGetServiceTableApiId = KDispatchSimFuncUnitId + 14;
|
|
380 |
|
|
381 |
/**
|
|
382 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetServiceTable
|
|
383 |
* request from the CTSY.
|
|
384 |
*
|
|
385 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackSimGetServiceTableComp()
|
|
386 |
*
|
|
387 |
* Implementation of this interface should read the EFust or EFsst service tables as specified by aServiceTable.
|
|
388 |
*
|
|
389 |
* @param aServiceTable Specifies the service table to retrieve.
|
|
390 |
*
|
|
391 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
392 |
* failure.
|
|
393 |
*/
|
|
394 |
virtual TInt HandleGetServiceTableReqL(RMobilePhone::TMobilePhoneServiceTable aServiceTable) = 0;
|
|
395 |
|
|
396 |
}; // class MLtsyDispatchSimGetServiceTable
|
|
397 |
|
|
398 |
class MLtsyDispatchSimGetIccMessageWaitingIndicators : public MLtsyDispatchInterface
|
|
399 |
{
|
|
400 |
public:
|
|
401 |
|
|
402 |
static const TInt KLtsyDispatchSimGetIccMessageWaitingIndicatorsApiId = KDispatchSimFuncUnitId + 15;
|
|
403 |
|
|
404 |
/**
|
|
405 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetIccMessageWaitingIndicators
|
|
406 |
* request from the CTSY.
|
|
407 |
*
|
|
408 |
* It is a request call that is completed by invoking CCtsyDispatcherCallback::CallbackSimGetIccMessageWaitingIndicatorsComp()
|
|
409 |
*
|
|
410 |
* Implementation of this interface should get the ICC message waiting indicators from the (U)SIM field EFmwis.
|
|
411 |
*
|
|
412 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
413 |
* failure.
|
|
414 |
*/
|
|
415 |
virtual TInt HandleGetIccMessageWaitingIndicatorsReqL() = 0;
|
|
416 |
|
|
417 |
}; // class MLtsyDispatcSimGetIccMessageWaitingIndicators
|
|
418 |
|
|
419 |
class MLtsyDispatchSimSimLockActivate : public MLtsyDispatchInterface
|
|
420 |
{
|
|
421 |
public:
|
|
422 |
|
|
423 |
static const TInt KLtsyDispatchSimSimLockActivateApiId = KDispatchSimFuncUnitId + 16;
|
|
424 |
|
|
425 |
/**
|
|
426 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSimLockActivateIPC
|
|
427 |
* request from the CTSY.
|
|
428 |
*
|
|
429 |
* It is a request call that is completed by invoking
|
|
430 |
* CCtsyDispatcherCallback::CallbackSimSimLockActivateComp()
|
|
431 |
*
|
|
432 |
* Implementation of this interface should send a SIM Lock Activation request.
|
|
433 |
*
|
|
434 |
* @param aPassword The password used for the SIM Lock activation.
|
|
435 |
* @param aLockNumber The lock number that defines SIM Lock types.
|
|
436 |
*
|
|
437 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
438 |
* failure.
|
|
439 |
*/
|
|
440 |
virtual TInt HandleSimLockActivateReqL(const TDesC& aPassword, RMmCustomAPI::TLockNumber aLockNumber) = 0;
|
|
441 |
|
|
442 |
}; // class MLtsyDispatchSimSimLockActivate
|
|
443 |
|
|
444 |
|
|
445 |
class MLtsyDispatchSimSimLockDeActivate : public MLtsyDispatchInterface
|
|
446 |
{
|
|
447 |
public:
|
|
448 |
|
|
449 |
static const TInt KLtsyDispatchSimSimLockDeActivateApiId = KDispatchSimFuncUnitId + 17;
|
|
450 |
|
|
451 |
/**
|
|
452 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSimLockDeActivateIPC
|
|
453 |
* request from the CTSY.
|
|
454 |
*
|
|
455 |
* It is a request call that is completed by invoking
|
|
456 |
* CCtsyDispatcherCallback::CallbackSimSimLockDeActivateComp()
|
|
457 |
*
|
|
458 |
* Implementation of this interface should send a SIM Lock Deactivation request.
|
|
459 |
*
|
|
460 |
* @param aPassword The password used for the SIM Lock deactivation.
|
|
461 |
* @param aLockNumber The lock number that defines SIM Lock types.
|
|
462 |
*
|
|
463 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
464 |
* failure.
|
|
465 |
*/
|
|
466 |
virtual TInt HandleSimLockDeActivateReqL(const TDesC& aPassword, RMmCustomAPI::TLockNumber aLockNumber) = 0;
|
|
467 |
|
|
468 |
}; // class MLtsyDispatchSimSimLockDeActivate
|
|
469 |
|
|
470 |
|
|
471 |
class MLtsyDispatchSimGetAnswerToReset : public MLtsyDispatchInterface
|
|
472 |
{
|
|
473 |
public:
|
|
474 |
|
|
475 |
static const TInt KLtsyDispatchSimGetAnswerToResetApiId = KDispatchSimFuncUnitId + 18;
|
|
476 |
|
|
477 |
/**
|
|
478 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetATRIPC
|
|
479 |
* request from the CTSY.
|
|
480 |
*
|
|
481 |
* It is a request call that is completed by invoking
|
|
482 |
* CCtsyDispatcherCallback::CallbackSimGetAnswerToResetComp()
|
|
483 |
*
|
|
484 |
* Implementation of this interface should retrieve the answer to reset.
|
|
485 |
*
|
|
486 |
* @param aAnswerToReset The answer to reset information which contains details of the request.
|
|
487 |
*
|
|
488 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
489 |
* failure.
|
|
490 |
*/
|
|
491 |
virtual TInt HandleGetAnswerToResetReqL(const TDesC8& aAnswerToReset) = 0;
|
|
492 |
|
|
493 |
}; // class MLtsyDispatchSimGetAnswerToReset
|
|
494 |
|
|
495 |
|
|
496 |
class MLtsyDispatchSimGetSimCardReaderStatus : public MLtsyDispatchInterface
|
|
497 |
{
|
|
498 |
public:
|
|
499 |
|
|
500 |
static const TInt KLtsyDispatchSimGetSimCardReaderStatusApiId = KDispatchSimFuncUnitId + 19;
|
|
501 |
|
|
502 |
/**
|
|
503 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetSimCardReaderStatusIPC
|
|
504 |
* request from the CTSY.
|
|
505 |
*
|
|
506 |
* It is a request call that is completed by invoking
|
|
507 |
* CCtsyDispatcherCallback::CallbackSimGetSimCardReaderStatusComp()
|
|
508 |
*
|
|
509 |
* Implementation of this interface should retrieve the card reader status.
|
|
510 |
*
|
|
511 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
512 |
* failure.
|
|
513 |
*/
|
|
514 |
virtual TInt HandleGetSimCardReaderStatusReqL() = 0;
|
|
515 |
|
|
516 |
}; // class MLtsyDispatchSimGetSimCardReaderStatus
|
|
517 |
|
|
518 |
|
|
519 |
class MLtsyDispatchSimGetSimAuthenticationEapSimData : public MLtsyDispatchInterface
|
|
520 |
{
|
|
521 |
public:
|
|
522 |
|
|
523 |
static const TInt KLtsyDispatchSimGetSimAuthenticationEapSimDataApiId = KDispatchSimFuncUnitId + 20;
|
|
524 |
|
|
525 |
/**
|
|
526 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetSimAuthenticationDataIPC for
|
|
527 |
* Extensible Authentication Protocol Subscriber Identity Module authentication method
|
|
528 |
* request from the CTSY.
|
|
529 |
*
|
|
530 |
* It is a request call that is completed by invoking
|
|
531 |
* CCtsyDispatcherCallback::CallbackSimGetSimAuthenticationEapSimDataComp()
|
|
532 |
*
|
|
533 |
* Implementation of this interface should retrieve Sim Authentication Data for EapSim authentication method.
|
|
534 |
*
|
|
535 |
* @param aRandomParameters The random parameters from the client.
|
|
536 |
* @param aRFStateInfo The RF state info.
|
|
537 |
*
|
|
538 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
539 |
* failure.
|
|
540 |
*/
|
|
541 |
virtual TInt HandleGetSimAuthenticationEapSimDataReqL(const TDesC8& aRandomParameters, TInt aRFStateInfo) = 0;
|
|
542 |
|
|
543 |
}; // class MLtsyDispatchSimGetSimAuthenticationEapSimData
|
|
544 |
|
|
545 |
class MLtsyDispatchSimGetSimAuthenticationEapAkaData : public MLtsyDispatchInterface
|
|
546 |
{
|
|
547 |
public:
|
|
548 |
|
|
549 |
static const TInt KLtsyDispatchSimGetSimAuthenticationEapAkaDataApiId = KDispatchSimFuncUnitId + 21;
|
|
550 |
|
|
551 |
/**
|
|
552 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomGetSimAuthenticationDataIPC for
|
|
553 |
* Extensible Authentication Protocol UMTS Authentication and Key Agreement authentication method
|
|
554 |
* request from the CTSY.
|
|
555 |
*
|
|
556 |
* It is a request call that is completed by invoking
|
|
557 |
* CCtsyDispatcherCallback::CallbackSimGetSimAuthenticationEapAkaDataComp()
|
|
558 |
*
|
|
559 |
* Implementation of this interface should retrieve Sim Authentication Data for EapAka authentication method.
|
|
560 |
*
|
|
561 |
* @param aRandomParameters The random parameters from the client.
|
|
562 |
* @param aAUTN The AUTN parameter. AUTN is an authentication value generated by
|
|
563 |
* the Authentication Centre, which, together with the random parameters, authenticates the server to the peer, 128 bits.
|
|
564 |
* @param aRFStateInfo The RF state info.
|
|
565 |
*
|
|
566 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
567 |
* failure.
|
|
568 |
*/
|
|
569 |
virtual TInt HandleGetSimAuthenticationEapAkaDataReqL(const TDesC8& aRandomParameters, const TDesC8& aAUTN, TInt aRFStateInfo) = 0;
|
|
570 |
|
|
571 |
}; // class MLtsyDispatchSimGetSimAuthenticationEapAkaData
|
|
572 |
|
|
573 |
class MLtsyDispatchSimPowerSimOff : public MLtsyDispatchInterface
|
|
574 |
{
|
|
575 |
public:
|
|
576 |
|
|
577 |
static const TInt KLtsyDispatchSimPowerSimOffApiId = KDispatchSimFuncUnitId + 22;
|
|
578 |
|
|
579 |
/**
|
|
580 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomPowerSimOffIPC
|
|
581 |
* request from the CTSY.
|
|
582 |
*
|
|
583 |
* It is a request call that is completed by invoking
|
|
584 |
* CCtsyDispatcherCallback::CallbackSimPowerSimOffComp()
|
|
585 |
*
|
|
586 |
* Implementation of this interface should send a Power SIM Off request to the APDU server.
|
|
587 |
*
|
|
588 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
589 |
* failure.
|
|
590 |
*
|
|
591 |
* @see RMmCustomAPI::PowerSimOff()
|
|
592 |
*/
|
|
593 |
virtual TInt HandlePowerSimOffReqL() = 0;
|
|
594 |
|
|
595 |
}; // class MLtsyDispatchSimPowerSimOff
|
|
596 |
|
|
597 |
|
|
598 |
class MLtsyDispatchSimPowerSimOn : virtual MLtsyDispatchInterface
|
|
599 |
{
|
|
600 |
public:
|
|
601 |
|
|
602 |
static const TInt KLtsyDispatchSimPowerSimOnApiId = KDispatchSimFuncUnitId + 23;
|
|
603 |
|
|
604 |
/**
|
|
605 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomPowerSimOnIPC
|
|
606 |
* request from the CTSY.
|
|
607 |
*
|
|
608 |
* It is a request call that is completed by invoking
|
|
609 |
* CCtsyDispatcherCallback::CallbackSimPowerSimOnComp()
|
|
610 |
*
|
|
611 |
* Implementation of this interface should send a Power SIM On request to the APDU server.
|
|
612 |
*
|
|
613 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
614 |
* failure.
|
|
615 |
*
|
|
616 |
* @see RMmCustomAPI::PowerSimOn()
|
|
617 |
*/
|
|
618 |
virtual TInt HandlePowerSimOnReqL() = 0;
|
|
619 |
|
|
620 |
}; // class MLtsyDispatchSimPowerSimOn
|
|
621 |
|
|
622 |
|
|
623 |
class MLtsyDispatchSimReadSimFile : virtual MLtsyDispatchInterface
|
|
624 |
{
|
|
625 |
public:
|
|
626 |
|
|
627 |
static const TInt KLtsyDispatchSimReadSimFileApiId = KDispatchSimFuncUnitId + 24;
|
|
628 |
|
|
629 |
/**
|
|
630 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomReadSimFileIPC
|
|
631 |
* request from the CTSY.
|
|
632 |
*
|
|
633 |
* It is a request call that is completed by invoking
|
|
634 |
* CCtsyDispatcherCallback::CallbackSimReadSimFileComp()
|
|
635 |
*
|
|
636 |
* Implementation of this interface should request to read full or partial contents of a
|
|
637 |
* given SIM file. The path, size and offset for the requested SIM file are provided.
|
|
638 |
*
|
|
639 |
*
|
|
640 |
* @param aPath The absolute file path of the SIM file in the file system of the SIM.
|
|
641 |
* see ETSI TS 131 102 Under "Files of USIM"
|
|
642 |
* @param aOffset The value of the Offset, the offset is related with the type of SIM file being read.
|
|
643 |
* @param aSize The amount of bytes to be read from the SIM file.
|
|
644 |
*
|
|
645 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
646 |
* failure.
|
|
647 |
*
|
|
648 |
* @see RMmCustomAPI::ReadSimFile()
|
|
649 |
*/
|
|
650 |
virtual TInt HandleReadSimFileReqL(const TDesC8& aPath, TUint16 aOffset, TUint16 aSize) = 0;
|
|
651 |
|
|
652 |
}; // class MLtsyDispatchSimReadSimFile
|
|
653 |
|
|
654 |
|
|
655 |
class MLtsyDispatchSimSendApduRequest : virtual MLtsyDispatchInterface
|
|
656 |
{
|
|
657 |
public:
|
|
658 |
|
|
659 |
static const TInt KLtsyDispatchSimSendApduRequestApiId = KDispatchSimFuncUnitId + 25;
|
|
660 |
|
|
661 |
/**
|
|
662 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSendAPDUReqIPC
|
|
663 |
* request from the CTSY.
|
|
664 |
*
|
|
665 |
* It is a request call that is completed by invoking
|
|
666 |
* CCtsyDispatcherCallback::CallbackSimSendApduRequestComp()
|
|
667 |
*
|
|
668 |
* Implementation of this interface should pass the send APDU request to the baseband.
|
|
669 |
*
|
|
670 |
* The service type, card reader number and application type is the address information
|
|
671 |
* and the data is an envelope. The client side and baseband are responsible for the
|
|
672 |
* consistency of the data buffer's content (i.e. they have to have an agreement on the contents).
|
|
673 |
*
|
|
674 |
*
|
|
675 |
* @param aServiceType The value for the service type of the request.
|
|
676 |
* @param aCardReaderNumber The value for the card reader number of the request.
|
|
677 |
* @param aApplicationType The value for the application type of the request.
|
|
678 |
* @param aCommandData The transparent data to be conveyed to the Baseband.
|
|
679 |
*
|
|
680 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
681 |
* failure.
|
|
682 |
*
|
|
683 |
* @see RMmCustomAPI::SendAPDUReq()
|
|
684 |
*/
|
|
685 |
virtual TInt HandleSimSendApduRequestReqL(TUint8 aServiceType, TUint8 aCardReaderNumber, TUint8 aApplicationType, const TDesC8& aCommandData) = 0;
|
|
686 |
|
|
687 |
}; // class MLtsyDispatchSimSendApduRequest
|
|
688 |
|
|
689 |
class MLtsyDispatchSimSendApduRequestV2 : virtual MLtsyDispatchInterface
|
|
690 |
{
|
|
691 |
public:
|
|
692 |
|
|
693 |
static const TInt KLtsyDispatchSimSendApduRequestV2ApiId = KDispatchSimFuncUnitId + 26;
|
|
694 |
|
|
695 |
/**
|
|
696 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSendAPDUReqV2IPC
|
|
697 |
* request from the CTSY.
|
|
698 |
*
|
|
699 |
* It is a request call that is completed by invoking
|
|
700 |
* CCtsyDispatcherCallback::CallbackSimSendApduRequestV2Comp()
|
|
701 |
*
|
|
702 |
* Implementation of this interface should pass the send APDU request to the baseband.
|
|
703 |
*
|
|
704 |
* The client side and baseband are responsible for the consistency of the data buffer's content
|
|
705 |
* (i.e. they have to have an agreement on the contents).
|
|
706 |
*
|
|
707 |
*
|
|
708 |
* @param aCardReaderId The value for the card reader Id of the request.
|
|
709 |
* @param aCommandData The transparent data to be conveyed to the Baseband.
|
|
710 |
*
|
|
711 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
712 |
* failure.
|
|
713 |
*
|
|
714 |
* @see RMmCustomAPI::SendAPDUReq()
|
|
715 |
*/
|
|
716 |
virtual TInt HandleSimSendApduRequestV2ReqL(TUint8 aCardReaderId, const TDesC8& aCommandData) = 0;
|
|
717 |
|
|
718 |
}; // class MLtsyDispatchSimSendApduRequest
|
|
719 |
|
|
720 |
class MLtsyDispatchSimSimWarmReset : virtual MLtsyDispatchInterface
|
|
721 |
{
|
|
722 |
public:
|
|
723 |
|
|
724 |
static const TInt KLtsyDispatchSimSimWarmResetApiId = KDispatchSimFuncUnitId + 27;
|
|
725 |
|
|
726 |
/**
|
|
727 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSimWarmResetIPC
|
|
728 |
* request from the CTSY.
|
|
729 |
*
|
|
730 |
* It is a request call that is completed by invoking
|
|
731 |
* CCtsyDispatcherCallback::CallbackSimSimWarmResetComp()
|
|
732 |
*
|
|
733 |
* Implementation of this interface should handle the reqest for a SIM warm reset.
|
|
734 |
*
|
|
735 |
* See ETSI TS 102 221 under "Reset procedures"
|
|
736 |
*
|
|
737 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
738 |
* failure.
|
|
739 |
*
|
|
740 |
* @see RMmCustomAPI::SimWarmReset()
|
|
741 |
*/
|
|
742 |
virtual TInt HandleSimWarmResetReqL() = 0;
|
|
743 |
|
|
744 |
}; // class MLtsyDispatchSimSimWarmReset
|
|
745 |
|
|
746 |
|
|
747 |
class MLtsyDispatchSimSetSimMessageStatusRead : virtual MLtsyDispatchInterface
|
|
748 |
{
|
|
749 |
public:
|
|
750 |
|
|
751 |
static const TInt KLtsyDispatchSimSetSimMessageStatusReadApiId = KDispatchSimFuncUnitId + 28;
|
|
752 |
|
|
753 |
/**
|
|
754 |
* The CTSY Dispatcher shall invoke this function on receiving the ECustomSetSimMessageStatusReadIPC
|
|
755 |
* request from the CTSY.
|
|
756 |
*
|
|
757 |
* It is a request call that is completed by invoking
|
|
758 |
* CCtsyDispatcherCallback::CallbackSimSetSimMessageStatusReadComp()
|
|
759 |
*
|
|
760 |
* No error code is returned to the ETel client - if no SMS message with matching timestamp is identified
|
|
761 |
* on the SIM then this error will be silently ignored.
|
|
762 |
*
|
|
763 |
* @param aTimestamp timestamp that uniquely identifies a particular message in the message store.
|
|
764 |
* @param aTimezoneDiff the difference, expressed in quarters of an hour, between the service centre local time and GMT
|
|
765 |
*
|
|
766 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
767 |
* failure.
|
|
768 |
*
|
|
769 |
* @see RMmCustomAPI::SetSimMessageStatusRead()
|
|
770 |
*/
|
|
771 |
virtual TInt HandleSetSimMessageStatusReadReqL(const TTime& aTimestamp, TInt aTimezoneDiff) = 0;
|
|
772 |
|
|
773 |
}; // class MLtsyDispatchSimSetSimMessageStatusRead
|
|
774 |
|
|
775 |
|
|
776 |
#endif /*MLTSYDISPATCHSIMINTERFACE_H_*/
|