author | mikaruus <mika.a.ruuskanen@nokia.com> |
Thu, 14 Jan 2010 10:44:58 +0200 | |
changeset 5 | 8ccc39f9d787 |
parent 0 | 63b37f68c1ce |
child 7 | fa67e03b87df |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
0 | 15 |
* |
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
#ifndef _CMMCUSTOMMESSHANDLER_H |
|
21 |
#define _CMMCUSTOMMESSHANDLER_H |
|
22 |
||
23 |
// INCLUDES |
|
24 |
#include "mmmmesshandlerbase.h" |
|
25 |
#include "cmmphonetreceiver.h" |
|
26 |
#include "muiccoperationbase.h" |
|
27 |
#include "cmmuiccmesshandler.h" |
|
28 |
||
29 |
// for internal testing |
|
30 |
#include "nokiatsy_internal_variation.h" |
|
31 |
||
32 |
#include <ctsy/rmmcustomapi.h> |
|
33 |
||
34 |
// CONSTANTS |
|
35 |
||
36 |
// Length of Sim info isi msg buffer |
|
37 |
const TUint8 KSimInfoBufferSize = 20; |
|
38 |
||
39 |
// Time related constants |
|
40 |
const TUint16 KSecsInHour = 3600; |
|
41 |
const TUint8 KMinsInHour = 60; |
|
42 |
||
43 |
// Length if Gss Cs isi msg buffer |
|
44 |
const TUint8 KGssCsBufferSize = 6; |
|
45 |
||
46 |
// Call property buffer size |
|
47 |
const TUint8 KCallPropBuffSize = 4; |
|
48 |
||
49 |
// Value for information which value is not needed. |
|
50 |
const TUint8 KZero = 0x00; |
|
51 |
// Default length for product profile reading request |
|
52 |
const TUint8 KDefaultPPlength = 0x01; |
|
53 |
||
54 |
// Max length of network proveder name |
|
55 |
const TUint8 KNwProviderNameLength = 0x19; |
|
56 |
// Constants for remote address length |
|
57 |
const TUint8 KRemoteAddressBcdSize = 18; |
|
58 |
const TUint8 KRemoteAddressAsciiSize = 34; |
|
59 |
const TUint8 KRemoteAddressConversionSize = 36; |
|
60 |
||
61 |
// SS Request Complete Notifivation SS Status |
|
62 |
const TUint8 KCustomApiSsGsmActive = 0x01; |
|
63 |
const TUint8 KCustomApiSsGsmRegistered = 0x02; |
|
64 |
const TUint8 KCustomApiSsGsmProvisioned = 0x04; |
|
65 |
const TUint8 KCustomApiSsGsmQuiescent = 0x08; |
|
66 |
||
67 |
const TUint8 KinfoPpTwoDigitDial = 0x0F; |
|
68 |
||
69 |
//value for information which value is two |
|
70 |
const TUint8 KTwo = 0x02; |
|
71 |
||
72 |
//value for information which value is three |
|
73 |
const TUint8 KThree = 0x03; |
|
74 |
||
75 |
//value for information which value is four |
|
76 |
const TUint8 KFour = 0x04; |
|
77 |
||
78 |
//value for information which value is six |
|
79 |
const TUint8 KSix = 0x06; |
|
80 |
||
81 |
const TUint8 KCustomPadding = 0x00; //Padding byte |
|
82 |
||
83 |
// Call Life Timer Constants |
|
84 |
const TUint8 KCallLifeTimerDataAmount = 0x04; |
|
85 |
const TInt KCallLifeTimerNotSet = -1; |
|
86 |
const TUint8 KPmmGroupNokiaTsySize = 100; |
|
87 |
||
88 |
// Maximum number of re-trials when requesting data from PMM. |
|
89 |
const TUint8 KMaxPMMReadRequests = 0x03; |
|
90 |
||
91 |
// These constants are needed for Viag Home Zone |
|
92 |
const TUint8 KLengthOfSMSCNumber = 15; |
|
93 |
const TUint8 KLengthOfSCPNumber = 15; |
|
94 |
const TUint8 KLengthOfHzCzTag = 13; |
|
95 |
const TUint8 KHomeZoneActiveBit = 0x01; |
|
96 |
const TUint8 KCityZoneActiveBit = 0x02; |
|
97 |
||
98 |
const TUint8 KSimNumberOfCbMsgIds = 15; |
|
99 |
const TUint KUnusedCbMsgId = 0xffff; |
|
100 |
||
101 |
// MACROS |
|
102 |
//None |
|
103 |
||
104 |
// DATA TYPES |
|
105 |
//None |
|
106 |
||
107 |
// EXTERNAL DATA STRUCTURES |
|
108 |
//None |
|
109 |
||
110 |
// FUNCTION PROTOTYPES |
|
111 |
//None |
|
112 |
||
113 |
// FORWARD DECLARATIONS |
|
114 |
class CMmSecurityMessHandler; |
|
115 |
class CMmNetMessHandler; |
|
116 |
class CMmPhoNetSender; |
|
117 |
class TIsiReceiveC; |
|
118 |
class CMmMessageRouter; |
|
119 |
class CMmUiccMessHandler; |
|
120 |
||
121 |
// CLASS DECLARATION |
|
122 |
||
123 |
/** |
|
124 |
* CMmCustomMessHandler is used to create and send GSM specific |
|
125 |
* custom ISI messages to PhoNet via PhoNetSender. |
|
126 |
*/ |
|
127 |
class CMmCustomMessHandler : |
|
128 |
public CBase, |
|
129 |
public MMmMessHandlerBase, |
|
130 |
public MMmMessageReceiver, |
|
131 |
public MUiccOperationBase |
|
132 |
{ |
|
133 |
||
134 |
public: |
|
135 |
||
136 |
// Used for saving the ciphering information. |
|
137 |
struct TCiphListEntry |
|
138 |
{ |
|
139 |
TBool iCiphStatus; |
|
140 |
TUint8 iTraId; |
|
141 |
}; |
|
142 |
||
143 |
// Used for saving the enhanced cell information. |
|
144 |
class TECIDInfo |
|
145 |
{ |
|
146 |
public: // data |
|
147 |
RMmCustomAPI::TMmCellInfo iCellInfo; // Cell Information |
|
148 |
TUint iMCC; // Mobile Country Code |
|
149 |
TUint iMNC; // Mobile Network Code |
|
150 |
TUint iCID; // Location area code |
|
151 |
TUint iLAC; // Cell identity |
|
152 |
}; |
|
153 |
||
154 |
// This enumeration is needed because different Product Profile |
|
155 |
// requests can be made using the same INFO_PP_READ_REQ/RESP |
|
156 |
// messages. Used as a transaction ID. |
|
157 |
enum TProductProfileRequestType |
|
158 |
{ |
|
159 |
EGetAlsPPSupport = 0, |
|
160 |
ECheckTwoDigitDialSupport |
|
161 |
}; |
|
162 |
||
163 |
// This enumeration is needed because a SIM_READ_CI_RESP can come |
|
164 |
// as a response to a GetCipheringInfo-request, or triggered by |
|
165 |
// a NET_CIPHERING_IND indication which makes the same request. |
|
166 |
// Used as a transaction ID. |
|
167 |
enum TCipheringInfoRequestType |
|
168 |
{ |
|
169 |
EGetCipheringInfo = 0, |
|
170 |
ENotifyCipheringInfo |
|
171 |
}; |
|
172 |
||
173 |
// The SIM operations are grouped into the following types. |
|
174 |
// Used as ISA transaction IDs. |
|
175 |
enum TSIMOperationType |
|
176 |
{ |
|
177 |
ESIMOperationTypeReadSimTopics = 0, |
|
178 |
ESIMOperationTypeDeleteSimTopic |
|
179 |
}; |
|
180 |
||
181 |
enum TUiccSapIfStatus |
|
182 |
{ |
|
183 |
EUiccSapIfStatus1 = 1, |
|
184 |
EUiccSapIfStatus2, |
|
185 |
EUiccSapIfStatus3 |
|
186 |
}; |
|
187 |
||
188 |
public: // Constructors and destructor |
|
189 |
||
190 |
/** |
|
191 |
* Creates a new GSM specific MessageHandler object instance. |
|
192 |
* @param aPhoNetSender: a pointer to a Phonet Sender object |
|
193 |
* @param aPhoNetReceiver: |
|
194 |
* @param aNetMessHandler: a pointer to the Net message handler |
|
195 |
* @param aSecurityMessHandler: a pointer to the security mess handler |
|
196 |
* @param aMessageRouter: a pointer to the message router |
|
197 |
* @return void |
|
198 |
*/ |
|
199 |
static CMmCustomMessHandler* NewL( |
|
200 |
CMmPhoNetSender* aPhoNetSender, |
|
201 |
CMmPhoNetReceiver* aPhoNetReceiver, |
|
202 |
CMmNetMessHandler* aNetMessHandler, |
|
203 |
CMmSecurityMessHandler* aSecurityMessHandler, |
|
204 |
CMmMessageRouter* aMessageRouter, |
|
205 |
CMmUiccMessHandler* aUiccMessHandler); |
|
206 |
||
207 |
/** |
|
208 |
* Destructor. |
|
209 |
* @return void |
|
210 |
*/ |
|
211 |
~CMmCustomMessHandler(); |
|
212 |
||
213 |
public: // New Functions |
|
214 |
||
215 |
/** |
|
216 |
* Creates CallReleaseReq ISI message and sends it to Phonet. |
|
217 |
* @param TUint8 aTransactionId: unique transaction id |
|
218 |
* @param TUint8 aCallId: Call ID of this call (NOS Call ID) |
|
219 |
* @param TUint8 aCause: cause of releasing |
|
220 |
* @return TInt: success/failure value |
|
221 |
*/ |
|
222 |
TInt CallReleaseReq( |
|
223 |
TUint8 aTransactionId, |
|
224 |
TUint8 aCallId, |
|
225 |
TUint8 aCause ); |
|
226 |
||
227 |
/** |
|
228 |
* Breaks received CallReleaseResp ISI message. |
|
229 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
230 |
* @return void : None |
|
231 |
*/ |
|
232 |
void CallReleaseResp( const TIsiReceiveC& aIsiMsg ); |
|
233 |
||
234 |
/** |
|
235 |
* MO alert indication, used for Remote Alerting Tone in Custom TSY |
|
236 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
237 |
* @return TInt: void : None |
|
238 |
*/ |
|
239 |
void CallMoAlertInd( const TIsiReceiveC& aIsiMsg ); |
|
240 |
||
241 |
/** |
|
242 |
* Creates a NET_CS_WAKEUP_REQ ISI message and sends it to Phonet |
|
243 |
* @param TUint8 aTransId: transaction Id |
|
244 |
* @return TInt: success/failure value |
|
245 |
*/ |
|
246 |
TInt NetCsWakeupReq( TUint8 aTransId ); |
|
247 |
||
248 |
/** |
|
249 |
* Breaks received NET_CS_WAKEUP_RESP ISI message |
|
250 |
* @param None |
|
251 |
* @return void : None |
|
252 |
*/ |
|
253 |
void NetCsWakeupResp(); |
|
254 |
||
255 |
/** |
|
256 |
* Breaks received NET_CIPHERING_IND ISI message |
|
257 |
* @param TIsiReceiveC& aIsiMsg: The received ISI message |
|
258 |
* @return void : None |
|
259 |
*/ |
|
260 |
void NetCipheringInd( const TIsiReceiveC& aIsiMsg ); |
|
261 |
||
262 |
/** |
|
263 |
* Breaks received NET_MODEM_REG_STATUS_IND ISI message |
|
264 |
* @param TIsiReceiveC& aIsiMsg: The received ISI message |
|
265 |
* @return void : None |
|
266 |
*/ |
|
267 |
void NetModemRegStatusInd( const TIsiReceiveC& aIsiMsg ); |
|
268 |
||
269 |
||
270 |
/** |
|
271 |
* Read dynamic flags 2 |
|
272 |
* @return void |
|
273 |
*/ |
|
274 |
TInt UiccReadDynamic2FlagsReq(); |
|
275 |
||
276 |
/** |
|
277 |
* Read dynamic flags 2 response |
|
278 |
* @param aStatus Status |
|
279 |
* @param aFileData File data |
|
280 |
* @return void |
|
281 |
*/ |
|
282 |
void UiccReadDynamic2FlagsResp( |
|
283 |
TInt aStatus, |
|
284 |
const TDesC8& aFileData ); |
|
285 |
||
286 |
/** |
|
287 |
* Write dynamic flags 2 |
|
288 |
* @param aInfo Flags 2 data |
|
289 |
* @return void |
|
290 |
*/ |
|
291 |
TInt UiccWriteDynamic2FlagsReq( TUint8 aInfo ); |
|
292 |
||
293 |
/** |
|
294 |
* Write dynamic flags 2 response |
|
295 |
* @param aInfo Flags 2 data |
|
296 |
* @return void |
|
297 |
*/ |
|
298 |
void UiccWriteDynamic2FlagsResp( TInt aStatus ); |
|
299 |
||
300 |
/** |
|
301 |
* Breaks received CALL_TERMINATE_IND ISI messages |
|
302 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
303 |
* @return void : None |
|
304 |
*/ |
|
305 |
void CallTerminateInd( const TIsiReceiveC& aIsiMsg ); |
|
306 |
||
307 |
/** |
|
308 |
* Breaks received CALL_RELEASE_IND ISI messages |
|
309 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
310 |
* @return void : None |
|
311 |
*/ |
|
312 |
void CallReleaseInd( const TIsiReceiveC& aIsiMsg ); |
|
313 |
||
314 |
/** |
|
315 |
* Creates a INFO_PP_READ_REQ ISI messages and sends it to phone |
|
316 |
* @param TProductProfileRequestType aReqType: request type (used |
|
317 |
* as transaction id) |
|
318 |
* @return void : KErrNone / Error value from phonet |
|
319 |
*/ |
|
320 |
TInt InfoPpReadReq( TProductProfileRequestType aReqType ); |
|
321 |
||
322 |
/** |
|
323 |
* Breaks a INFO_PP_READ_RESP message |
|
324 |
* @param CIsiMsg* aIsiMsg: The received ISI message |
|
325 |
* @return void : None |
|
326 |
*/ |
|
327 |
void InfoPpReadResp( const TIsiReceiveC& aIsiMessage ); |
|
328 |
||
329 |
/** |
|
330 |
* Creates a CALL_GSM_BLACKLIST_CLEAR_REQ ISI message and sends it to |
|
331 |
* Phonet |
|
332 |
* @param TUint8 aTransId: transaction Id |
|
333 |
* @return TInt : KErrNone or error code |
|
334 |
*/ |
|
335 |
TInt CallGsmBlackListClearReq( TUint8 aTransId ); |
|
336 |
||
337 |
/** |
|
338 |
* Breaks received CALL_GSM_BLACKLIST_CLEAR_RESP ISI message |
|
339 |
* @return void : None |
|
340 |
*/ |
|
341 |
void CallGsmBlackListClearResp(); |
|
342 |
||
343 |
/** |
|
344 |
* Breaks received SS_SERVICE_COMPLETED_IND ISI message |
|
345 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
346 |
* @return void : None |
|
347 |
*/ |
|
348 |
void SsServiceCompletedInd ( const TIsiReceiveC& aIsiMessage ); |
|
349 |
||
350 |
/** |
|
351 |
* Creates a CALL_EMERGENCY_NBR_CHECK_REQ ISI messages and sends it to |
|
352 |
* phonet |
|
353 |
* @param TUint8 aTransId: Transaction Id |
|
354 |
* @param TMobileTelNumber&: telnumber |
|
355 |
* @param TCheckMode aCheckMode; check mode |
|
356 |
* @return TInt : KErrNone / Error value from phonet |
|
357 |
*/ |
|
358 |
TInt CallEmergencyNbrCheckReq( TUint8 aTransId, |
|
359 |
RMmCustomAPI::TMobileTelNumber& aNumber, |
|
360 |
RMmCustomAPI::TCheckMode aCheckMode ); |
|
361 |
||
362 |
/** |
|
363 |
* Breaks a CALL_EMERGENCY_NBR_CHECK_RESP message |
|
364 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
365 |
* @return void : None |
|
366 |
*/ |
|
367 |
void CallEmergencyNbrCheckResp( const TIsiReceiveC& aIsiMsg ); |
|
368 |
||
369 |
/** |
|
370 |
* Creates a SS_GSM_USSD_SEND_REQ ISI messages and sends it to IsaApi |
|
371 |
* @param TUint8 aTransId: Transaction Id |
|
372 |
* @return TInt : KErrNone / Error value from IsaApi |
|
373 |
*/ |
|
374 |
TInt SsGsmUssdSendReq( TUint8 aTransId ); |
|
375 |
||
376 |
/** |
|
377 |
* Forwards a execution of SS_CANCEL_USSD_SEND_RESP message |
|
378 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
379 |
* @return void : None |
|
380 |
*/ |
|
381 |
void SsGsmUssdSendResp( const TIsiReceiveC& aIsiMessage ); |
|
382 |
||
383 |
/** |
|
384 |
* Construct a NET_MODEM_REG_STATUS_GET_REQ ISI message and send |
|
385 |
* it through phonet. |
|
386 |
* @param TUint8 aTransId: Transaction Id |
|
387 |
* @return TInt: KErrNone / Error value from phonet |
|
388 |
*/ |
|
389 |
TInt NetModemRegStatusGetReq( TUint8 aTransId ); |
|
390 |
||
391 |
/** |
|
392 |
* Construct a NET_SET_REQ message and send it through phonet. |
|
393 |
* @param TUint8 aTransId: Transaction Id |
|
394 |
* @return TInt: KErrNone / Error value from phonet |
|
395 |
*/ |
|
396 |
TInt NetSetReq( TUint8 aTransId ); |
|
397 |
/** |
|
398 |
* Handles SsRequestComplete response ISI message |
|
399 |
* @return void : None |
|
400 |
*/ |
|
401 |
void SsRequestComplete(); |
|
402 |
||
403 |
/** |
|
404 |
* Read field from SIM/USIM |
|
405 |
* @param aSimFileInfo File info |
|
406 |
* @return Error code |
|
407 |
*/ |
|
408 |
TInt UiccReadFieldReq( RMmCustomAPI::TSimFileInfo& aSimFileInfo ); |
|
409 |
||
410 |
/** |
|
411 |
* Response to read field request |
|
412 |
* @param aStatus Status |
|
413 |
* @param aFileData File data |
|
414 |
* @return void |
|
415 |
*/ |
|
416 |
void UiccReadFieldResp( TInt aStatus, const TDesC8& aFileData ); |
|
417 |
||
418 |
/** |
|
419 |
* Read ciphering indicator status from SIM/USIM |
|
420 |
* @param aTrId Transaction ID |
|
421 |
* @return Error code |
|
422 |
*/ |
|
423 |
TInt UiccReadCiReq( TInt aTrId ); |
|
424 |
||
425 |
/** |
|
426 |
* Response to read CI request |
|
427 |
* @param aStatus Status |
|
428 |
* @param aTrId Transaction ID |
|
429 |
* @param aFileData File data |
|
430 |
* @return void |
|
431 |
*/ |
|
432 |
void UiccReadCiResp( |
|
433 |
TInt aStatus, |
|
434 |
TInt aTrId, |
|
435 |
const TDesC8& aFileData ); |
|
436 |
||
437 |
/** |
|
438 |
* Read operator name from SIM/USIM |
|
439 |
* @return Error code |
|
440 |
*/ |
|
441 |
TInt UiccOperatorReq(); |
|
442 |
||
443 |
/** |
|
444 |
* Response to read operator name request |
|
445 |
* @param aStatus Status |
|
446 |
* @param aFileData File data |
|
447 |
* @return none |
|
448 |
*/ |
|
449 |
void UiccOperatorResp( TInt aStatus, const TDesC8& aFileData ); |
|
450 |
||
451 |
/** |
|
452 |
* Disconnects UICC server from smartcard and |
|
453 |
* activates UICC SAP APDU interface |
|
454 |
* @return Error code |
|
455 |
*/ |
|
456 |
TInt UiccSimPowerOffReq(); |
|
457 |
||
458 |
/** |
|
459 |
* Handles responses to SIM power off |
|
460 |
* @param aStatus Status |
|
461 |
* @return none |
|
462 |
*/ |
|
463 |
void UiccSimPowerOffResp( TInt aStatus ); |
|
464 |
||
465 |
/** |
|
466 |
* Requests SIM warm reset |
|
467 |
* @return Error code |
|
468 |
*/ |
|
469 |
TInt UiccSimWarmResetReq(); |
|
470 |
||
471 |
/** |
|
472 |
* Response to SIM warm reset |
|
473 |
* @param aStatus Status |
|
474 |
* @return none |
|
475 |
*/ |
|
476 |
void UiccSimWarmResetResp( TInt aStatus ); |
|
477 |
||
478 |
/** |
|
479 |
* Requests Get ATR |
|
480 |
* @return Error code |
|
481 |
*/ |
|
482 |
TInt UiccSimGetAtrReq(); |
|
483 |
||
484 |
/** |
|
485 |
* Handles responses to SIM Get ATR |
|
486 |
* @param aStatus Status |
|
487 |
* @param aFileData File data |
|
488 |
* @return none |
|
489 |
*/ |
|
490 |
void UiccSimGetAtrResp( TInt aStatus, const TDesC8& aFileData ); |
|
491 |
||
492 |
/** |
|
493 |
* Connects UICC server to smartcard and |
|
494 |
* deactivates UICC SAP APDU interface |
|
495 |
* @return Error code |
|
496 |
*/ |
|
497 |
TInt UiccSimPowerOnReq(); |
|
498 |
||
499 |
/** |
|
500 |
* Handles responses to SIM power off |
|
501 |
* @param aStatus Status |
|
502 |
* @return none |
|
503 |
*/ |
|
504 |
void UiccSimPowerOnResp( TInt aStatus ); |
|
505 |
||
506 |
/** |
|
507 |
* Sends APDU to UICC |
|
508 |
* @param aApduParameters APDU parameters |
|
509 |
* @param aTraId transaction id |
|
510 |
* @return Error code |
|
511 |
*/ |
|
512 |
TInt UiccSendAPDUReq( |
|
513 |
const RMmCustomAPI::TApduParameters& aApduParameters, |
|
514 |
TInt aTraId ); |
|
515 |
||
516 |
/** |
|
517 |
* Handles responses to UICC_APDU_RESP |
|
518 |
* @param aStatus Status |
|
519 |
* @param aFileData File data |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
520 |
* @param aTraId transaction id |
0 | 521 |
* @return none |
522 |
*/ |
|
523 |
void UiccSendAPDUResp( |
|
524 |
TInt aStatus, |
|
525 |
const TDesC8& aFileData, |
|
526 |
TInt aTraId ); |
|
527 |
||
528 |
/** |
|
529 |
* Sends UICC_CARD_REQ |
|
530 |
* @return Error code |
|
531 |
*/ |
|
532 |
TInt UiccCardReaderStatusReq(); |
|
533 |
||
534 |
/** |
|
535 |
* Handles responses for Card Reader Status req |
|
536 |
* @param aStatus Status |
|
537 |
* @param aFileData File data |
|
538 |
* @return none |
|
539 |
*/ |
|
540 |
void UiccCardReaderStatusResp( TInt aStatus, const TDesC8& aFileData ); |
|
541 |
||
542 |
/** |
|
543 |
* Handles UICC_CARD_IND |
|
544 |
* @param aIsiMessage Received ISI message |
|
545 |
* @return void |
|
546 |
*/ |
|
547 |
void UiccCardInd( const TIsiReceiveC& aIsiMessage ); |
|
548 |
||
549 |
/** |
|
550 |
* Read CB message IDs from UICC |
|
551 |
* @param aTraId Transaction identification |
|
552 |
* @return Error code |
|
553 |
*/ |
|
554 |
TInt UiccReadCbMsgIdsReq( TUiccTrId aTrId ); |
|
555 |
||
556 |
/** |
|
557 |
* Response to read CB message IDs from UICC |
|
558 |
* @param aStatus Status |
|
559 |
* @param aTraId Transaction ID |
|
560 |
* @param aFileData File data |
|
561 |
* @return void |
|
562 |
*/ |
|
563 |
void UiccReadCbMsgIdsResp( |
|
564 |
TInt aStatus, |
|
565 |
TInt aTraId, |
|
566 |
const TDesC8& aFileData ); |
|
567 |
||
568 |
/** |
|
569 |
* Response to delete CB message ID request |
|
570 |
* @param aStatus Status |
|
571 |
* @return void |
|
572 |
*/ |
|
573 |
void UiccDeleteCbMsgIdResp( TInt aStatus ); |
|
574 |
||
575 |
/** |
|
576 |
* Read home zone parameters from UICC |
|
577 |
* @return Error code |
|
578 |
*/ |
|
579 |
TInt UiccReadViagHomeZoneParametersReq(); |
|
580 |
||
581 |
/** |
|
582 |
* Response read home zone parameters request |
|
583 |
* @param aStatus Status |
|
584 |
* @param aFileData File data |
|
585 |
* @return void |
|
586 |
*/ |
|
587 |
void UiccReadViagHomeZoneParametersResp( |
|
588 |
TInt aStatus, |
|
589 |
const TDesC8& aFileData ); |
|
590 |
||
591 |
/** |
|
592 |
* Read home zone cache from UICC |
|
593 |
* @params aRecordId Record identifier |
|
594 |
* @return Error code |
|
595 |
*/ |
|
596 |
TInt UiccReadViagHomeZoneCacheReq( |
|
597 |
const RMmCustomAPI::TViagCacheRecordId& aRecordId ); |
|
598 |
||
599 |
/** |
|
600 |
* Response to read home zone cache request |
|
601 |
* @param aStatus Status |
|
602 |
* @param aFileData File data |
|
603 |
* @return void |
|
604 |
*/ |
|
605 |
void UiccReadViagHomeZoneCacheResp( |
|
606 |
TInt aStatus, |
|
607 |
const TDesC8& aFileData ); |
|
608 |
||
609 |
/** |
|
610 |
* Request to write home zone settings |
|
611 |
* @param aUhziuiSettings UHZIUI settings |
|
612 |
* @return void |
|
613 |
*/ |
|
614 |
TInt UiccWriteViagHomeZoneUhziueSettingsReq( |
|
615 |
const RMmCustomAPI::TViagUHZIUESettings& aUhziuiSettings ); |
|
616 |
||
617 |
/** |
|
618 |
* Response to write home zone settings |
|
619 |
* @param aStatus Status |
|
620 |
* @return void |
|
621 |
*/ |
|
622 |
void UiccWriteViagHomeZoneUhziueSettingsResp( TInt aStatus ); |
|
623 |
||
624 |
/** |
|
625 |
* Write Viag Home Zone cache from UICC |
|
626 |
* @params aRecordId Record identifier |
|
627 |
* @params aViagRecordContent Record content |
|
628 |
* @return error code |
|
629 |
*/ |
|
630 |
TInt UiccWriteViagHomeZoneCacheReq( |
|
631 |
const RMmCustomAPI::TViagCacheRecordId& aRecordId, |
|
632 |
const RMmCustomAPI::TViagCacheRecordContent& aViagRecordContent ); |
|
633 |
||
634 |
/** |
|
635 |
* Response Write Viag Home Zone cache request |
|
636 |
* @param aStatus Status |
|
637 |
* @return void |
|
638 |
*/ |
|
639 |
void UiccWriteViagHomeZoneCacheResp( TInt aStatus ); |
|
640 |
||
641 |
public: // Functions from base classes |
|
642 |
||
643 |
/** |
|
644 |
* ISI message for CustomMessageHandler received |
|
645 |
* @param const TIsiReceiveC& aIsiMessage: reference to received ISI message |
|
646 |
*/ |
|
647 |
void ReceiveMessageL( const TIsiReceiveC& aIsiMessage ); |
|
648 |
||
649 |
/** |
|
650 |
* Handles errors comes from PhoNetReceiver RunError |
|
651 |
* @param TIsiReceiveC& aIsiMessage: reference to received ISI message |
|
652 |
* @param TInt aError: Error code |
|
653 |
*/ |
|
654 |
void HandleError( const TIsiReceiveC& aIsiMessage, TInt aError ); |
|
655 |
||
656 |
/** |
|
657 |
* From MMmMessHandlerBase. This method is the single entry point for |
|
658 |
* requests coming from the Symbian OS layer to this message handler |
|
659 |
* @since ?Series60_version |
|
660 |
* @param aIpc IPC number of the request |
|
661 |
* @return TInt KErrNone or error code |
|
662 |
*/ |
|
663 |
TInt ExtFuncL( TInt aIpc, const CMmDataPackage* aDataPackage ); |
|
664 |
||
665 |
/** |
|
666 |
* Handle UICC response messages |
|
667 |
* @param aTraId Transaction ID |
|
668 |
* @param aFileData Descriptor for file data |
|
669 |
* @return KErrNone or error code |
|
670 |
*/ |
|
671 |
TInt ProcessUiccMsg( |
|
672 |
TInt aTraId, |
|
673 |
TInt aStatus, |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
674 |
TUint8 aDetails, |
0 | 675 |
const TDesC8& aFileData ); |
676 |
||
677 |
protected: // New functions |
|
678 |
//None |
|
679 |
||
680 |
protected: // Functions from base classes |
|
681 |
//None |
|
682 |
||
683 |
private: |
|
684 |
||
685 |
/** |
|
686 |
* C++ default constructor. |
|
687 |
* @return void |
|
688 |
*/ |
|
689 |
CMmCustomMessHandler(); |
|
690 |
||
691 |
/** |
|
692 |
* Initialises object attributes. |
|
693 |
* By default Symbian 2nd phase constructor is private. |
|
694 |
* @return void |
|
695 |
*/ |
|
696 |
void ConstructL(); |
|
697 |
||
698 |
/** |
|
699 |
* Breaks a CALL_GSM_NOTIFICATION_IND ISI-message. |
|
700 |
* @param const TIsiReceiveC& aIsiMsg: Received ISI message |
|
701 |
* @return None |
|
702 |
*/ |
|
703 |
void CallGsmNotificationInd( const TIsiReceiveC& aIsiMsg ); |
|
704 |
||
705 |
/** |
|
706 |
* Handles Forwarding data from a CALL_GSM_NOTIFICATION_IND |
|
707 |
* @param TUint16 aSsCode, |
|
708 |
* @param const TIsiReceiveC& aIsiMsg, |
|
709 |
* @param RMmCustomAPI::TSsTypeAndMode& aSsTypeAndMode |
|
710 |
* @return None |
|
711 |
*/ |
|
712 |
void HandleForwarding( |
|
713 |
TUint16 aSsCode, |
|
714 |
const TIsiReceiveC& aIsiMsg, |
|
715 |
RMmCustomAPI::TSsTypeAndMode& aSsTypeAndMode ) const; |
|
716 |
||
717 |
/** |
|
718 |
* Handles Barring data from a CALL_GSM_NOTIFICATION_IND |
|
719 |
* @param TUint16 aSsCode, |
|
720 |
* @param const TIsiReceiveC& aIsiMsg, |
|
721 |
* @param RMmCustomAPI::TSsTypeAndMode& aSsTypeAndMode |
|
722 |
* @return None |
|
723 |
*/ |
|
724 |
void HandleBarring( |
|
725 |
TUint16 aSsCode, |
|
726 |
const TIsiReceiveC& aIsiMsg, |
|
727 |
RMmCustomAPI::TSsTypeAndMode& aSsTypeAndMode ) const; |
|
728 |
||
729 |
/** |
|
730 |
* Match function for making finds in the Ciphering list |
|
731 |
* @param TCiphListEntry& aArg1: first argument for match |
|
732 |
* @param TCiphListEntry& aArg2: secnd argument for the match |
|
733 |
* @return TBool: if both arguments match |
|
734 |
*/ |
|
735 |
static TBool Match( |
|
736 |
const TCiphListEntry& aArg1, |
|
737 |
const TCiphListEntry& aArg2 ); |
|
738 |
||
739 |
/** |
|
740 |
* Breaks received NET_MODEM_REG_STATUS_GET_RESP ISI message |
|
741 |
* @param TIsiReceiveC& aIsiMsg: The received ISI message |
|
742 |
* @return void : None |
|
743 |
*/ |
|
744 |
void NetModemRegStatusGetResp( const TIsiReceiveC& aIsiMsg ); |
|
745 |
||
746 |
/** |
|
747 |
* Breaks received NET_SET_RESP ISI message |
|
748 |
* @param TIsiReceiveC& aIsiMsg: The received ISI message |
|
749 |
* @return void : None |
|
750 |
*/ |
|
751 |
void NetSetResp( const TIsiReceiveC& aIsiMsg ); |
|
752 |
||
753 |
/** |
|
754 |
* Breaks received SS_SERVICE_FAILED_RESP ISI message |
|
755 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
756 |
* @return void : None |
|
757 |
*/ |
|
758 |
void SsServiceFailedResp( const TIsiReceiveC& aIsiMessage ); |
|
759 |
||
760 |
/** |
|
761 |
* Construct a NET_RAT_REQ message and send it through phonet. |
|
762 |
* @param TUint8 aTransId: Transaction Id |
|
763 |
* @param TBool aCurrentRats: Use Current RAT setting |
|
764 |
* @return TInt: KErrNone / Error value from phonet |
|
765 |
*/ |
|
766 |
TInt NetRatReq( TUint8 aTransId, TBool aCurrentRats ); |
|
767 |
||
768 |
/** |
|
769 |
* Breaks received NET_RAT_RESP ISI message |
|
770 |
* @param TIsiReceiveC& aIsiMsg: The received ISI message |
|
771 |
* @return void : None |
|
772 |
*/ |
|
773 |
void NetRatResp( const TIsiReceiveC& aIsiMsg ); |
|
774 |
||
775 |
/** |
|
776 |
* Construct a GSS_CS_SERVICE_REQ message and send it through phonet. |
|
777 |
* @param TUint8 aTransId: Transaction Id |
|
778 |
* @param RMmCustomAPI::TNetworkModeCaps: System network mode to set. |
|
779 |
* @return TInt: KErrNone / Error value from phonet |
|
780 |
*/ |
|
781 |
TInt GssCsServiceReq( |
|
782 |
TUint8 aTransId, |
|
783 |
RMmCustomAPI::TNetworkModeCaps aNetworkModeCaps ); |
|
784 |
||
785 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
786 |
* Request for current RAT |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
787 |
* @param TUInt8 aTransId: Transaction Id |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
788 |
* @return TInt : result |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
789 |
*/ |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
790 |
TInt GssCsServiceReq( TUint8 aTransId ); |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
791 |
|
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
792 |
/** |
0 | 793 |
* Breaks received GSS_CS_SERVICE_RESP ISI message |
794 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
795 |
* @return void : None |
|
796 |
*/ |
|
797 |
void GssCsServiceResp( const TIsiReceiveC& aIsiMessage ); |
|
798 |
||
799 |
/** |
|
800 |
* Breaks received GSS_CS_SERVICE_FAIL_RESP ISI message |
|
801 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
802 |
* @return void : None |
|
803 |
*/ |
|
804 |
void GssCsServiceFailResp( const TIsiReceiveC& aIsiMessage ); |
|
805 |
||
806 |
/** |
|
807 |
* Handles the ReadViagHomeZoneParamsResp response message. |
|
808 |
* @param const TIsiReceiveC& aIsiMessage: a pointer to incoming message |
|
809 |
* @return void |
|
810 |
*/ |
|
811 |
void ReadViagHomeZoneParamsRespL( const TIsiReceiveC& aIsiMessage ); |
|
812 |
||
813 |
/** |
|
814 |
* Handles the ReadViagHomeZoneCacheResp response message. |
|
815 |
* @param const TIsiReceiveC& aIsiMessage: a pointer to incoming message |
|
816 |
* @return void |
|
817 |
*/ |
|
818 |
void ReadViagHomeZoneCacheResp( const TIsiReceiveC& aIsiMessage ); |
|
819 |
||
820 |
/** |
|
821 |
* Handles the WriteViagHomeZoneCacheResp response message. |
|
822 |
* @param const TIsiReceiveC& aIsiMessage: a pointer to incoming message |
|
823 |
* @return void |
|
824 |
*/ |
|
825 |
void WriteViagHomeZoneCacheResp( const TIsiReceiveC& aIsiMessage ); |
|
826 |
||
827 |
/** |
|
828 |
* Construct and send to phonet GSS_HSXPA_USER_SETTING_WRITE_REQ |
|
829 |
* ISI message. |
|
830 |
* @param TUint8 aTraId: a transaction identification |
|
831 |
* @param THSxPAStatus status: |
|
832 |
* @return TInt: error code |
|
833 |
*/ |
|
834 |
TInt WriteHSxPAStatusReq( |
|
835 |
TUint8 aTraId, |
|
836 |
RMmCustomAPI::THSxPAStatus status ); |
|
837 |
||
838 |
/** |
|
839 |
* Breaks GSS_HSXPA_USER_SETTING_WRITE_RESP ISI message |
|
840 |
* @param const TIsiReceiveC& aIsiMessage: the incoming message |
|
841 |
* @return void |
|
842 |
*/ |
|
843 |
void WriteHSxPAStatusResp( const TIsiReceiveC& aIsiMessage ); |
|
844 |
||
845 |
/** |
|
846 |
* Construct and send to phonet GSS_HSXPA_USER_SETTING_READ_REQ |
|
847 |
* ISI message. |
|
848 |
* @param TUint8 aTraId: a transaction identification |
|
849 |
* @return TInt: error code |
|
850 |
*/ |
|
851 |
TInt ReadHSxPAStatusReq( TUint8 aTraId ); |
|
852 |
||
853 |
/** |
|
854 |
* Breaks GSS_HSXPA_USER_SETTING_READ_RESP ISI message |
|
855 |
* @param const TIsiReceiveC& aIsiMessage: the incoming message |
|
856 |
* @return void |
|
857 |
*/ |
|
858 |
void ReadHSxPAStatusResp( const TIsiReceiveC& aIsiMessage ); |
|
859 |
||
860 |
/** |
|
861 |
* Breaks received GSS_HSXPA_SETTING_IND ISI messages |
|
862 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
863 |
* @return void : None |
|
864 |
*/ |
|
865 |
void HSxPASettingInd( const TIsiReceiveC& aIsiMsg ); |
|
866 |
||
867 |
/** |
|
868 |
* Construct a NET_NEIGHBOUR_CELLS_REQ message and send it through phonet. |
|
869 |
* @param TUint8 aTraId: a transaction identification |
|
870 |
* @return TInt: error code |
|
871 |
*/ |
|
872 |
TInt NetNeighbourCellsReq( const TUint8 aTraId ); |
|
873 |
||
874 |
/** |
|
875 |
* Breaks received NET_NEIGHBOUR_CELLS_RESP ISI messages. |
|
876 |
* @param const TIsiReceiveC& aIsiMsg: The received ISI message |
|
877 |
* @return void: None |
|
878 |
*/ |
|
879 |
void NetNeighbourCellsResp( const TIsiReceiveC& aIsiMessage ); |
|
880 |
||
881 |
/** |
|
882 |
* Breaks received NET_REG_STATUS_IND or NET_REG_STATUS_IND |
|
883 |
* message and checks if enhanced cell information is chaged |
|
884 |
* ( => needs to be requested/updated). |
|
885 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
886 |
* @return void: None |
|
887 |
*/ |
|
888 |
void CheckECIDInfo( const TIsiReceiveC& aIsiMessage ); |
|
889 |
||
890 |
// Not suppoted for S60 ver 3.2 |
|
891 |
#if ( NCP_COMMON_S60_VERSION_SUPPORT != S60_VERSION_32 ) |
|
892 |
||
893 |
/** |
|
894 |
* Construct a GSS_CS_SERVICE_REQ message including selected |
|
895 |
* band mode and send it through phonet. |
|
896 |
* @param TUint8 aTransId: Transaction Id |
|
897 |
* @param RMmCustomAPI::TNetworkModeCaps: System network mode to set. |
|
898 |
* @param RMmCustomAPI::TBandSelection: Selected band mode. |
|
899 |
* @return TInt: KErrNone / Error value from phonet |
|
900 |
*/ |
|
901 |
TInt GssCsServiceSetBandReq( |
|
902 |
TUint8 aTransId, |
|
903 |
RMmCustomAPI::TNetworkModeCaps aNetworkModeCaps, |
|
904 |
RMmCustomAPI::TBandSelection aBandSelection ); |
|
905 |
||
906 |
/** |
|
907 |
* Construct a GSS_CS_SERVICE_REQ message to get selected |
|
908 |
* band mode. |
|
909 |
* @param TUint8 aTransId: Transaction Id |
|
910 |
* @return TInt: KErrNone / Error value from phonet |
|
911 |
*/ |
|
912 |
TInt GssCsServiceGetBandReq( TUint8 aTransId ); |
|
913 |
||
914 |
/** |
|
915 |
* Breaks received GSS_SELECTED_BANDS_READ operation. |
|
916 |
* @param const TIsiReceiveC& aIsiMessage: The received ISI message |
|
917 |
* @return void: None |
|
918 |
*/ |
|
919 |
void CompleteGetBandSelection( const TIsiReceiveC& aIsiMessage ); |
|
920 |
||
921 |
#endif // NCP_COMMON_S60_VERSION_SUPPORT |
|
922 |
||
923 |
/** |
|
924 |
* Construcst PERM_PM_RECORD_READ_REQ message sends it through |
|
925 |
* phonet. |
|
926 |
* @param TUint8 aTransId: Transaction id. |
|
927 |
* @return TInt: KErrNone / Error value from phonet. |
|
928 |
*/ |
|
929 |
TInt ReadLifeTimerFromPermanentMemory( const TUint8 aTransId ); |
|
930 |
||
931 |
/** |
|
932 |
* Breaks a PERM_PM_RECORD_READ_RESP ISI-message. |
|
933 |
* @param const TIsiReceiveC& aIsiMessage: Received isi message. |
|
934 |
* @return void: none |
|
935 |
*/ |
|
936 |
void LifeTimerFromPermanentMemoryReadResponse( |
|
937 |
const TIsiReceiveC& aIsiMessage ); |
|
938 |
||
939 |
/** |
|
940 |
* Construcst PERM_PM_RECORD_WRITE_REQ message sends it through |
|
941 |
* phonet. |
|
942 |
* @param TUint8 aTransId: Transaction id. |
|
943 |
* @return TInt: KErrNone / Error value from phonet / KErrNotReady if PMM |
|
944 |
* has not been able to be read. |
|
945 |
*/ |
|
946 |
TInt WriteLifeTimerToPermanentMemory( |
|
947 |
const TUint8 aTransId, |
|
948 |
TTimeIntervalSeconds aTime ); |
|
949 |
||
950 |
/** |
|
951 |
* Breaks a PERM_PM_RECORD_WRITE_RESP ISI-message. |
|
952 |
* @param const TIsiReceiveC& aIsiMessage: Received isi message. |
|
953 |
* @return void: none |
|
954 |
*/ |
|
955 |
void LifeTimerToPermanentMemoryWriteResponse( |
|
956 |
const TIsiReceiveC& aIsiMessage ); |
|
957 |
||
958 |
/** |
|
959 |
* Reads total call life timer value and returns it in complete. |
|
960 |
* If |
|
961 |
* @param none |
|
962 |
* @return TInt: KErrNone / KErrNotReady if PMM has not been able to be |
|
963 |
* read. |
|
964 |
*/ |
|
965 |
TInt GetTotalLifeTimerValue(); |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
966 |
|
0 | 967 |
/** |
968 |
* Constructs and sends AUTHENTICATE APDU to the UICC |
|
969 |
* @param aDataPackage: data containing authentication parameters |
|
970 |
* @return TInt: KErrNone / Error value from phonet |
|
971 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
972 |
TInt CMmCustomMessHandler::UiccSendAuthenticateApdu( |
0 | 973 |
const CMmDataPackage& aDataPackage ); |
974 |
||
975 |
||
976 |
/** |
|
977 |
* Constructs RUN GSM ALGORITHM APDU. Used when authentication |
|
978 |
* is done for ICC card |
|
979 |
* @param aParams: parameter where the apdu is constructed |
|
980 |
* @param aRand: RAND value inserted to the APDU |
|
981 |
* @param aTraId: tr id used in UICC request |
|
982 |
* @return void: none |
|
983 |
*/ |
|
984 |
void UiccCreateRunGsmAlgorithmApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
985 |
TUiccSendApdu& aParams, |
0 | 986 |
const TDesC8& aRand, |
987 |
TUiccTrId aTraId ); |
|
988 |
||
989 |
/** |
|
990 |
* Handles response APDU for RUN GSM ALGORITHM APDU |
|
991 |
* @param aTraId: transaction id of received message |
|
992 |
* @param aStatus: status of the response |
|
993 |
* @param aFileData: response apdu |
|
994 |
* @return void: none |
|
995 |
*/ |
|
996 |
void UiccRunGsmAlgorithmApduResp( |
|
997 |
TInt aTraId, |
|
998 |
TInt aStatus, |
|
999 |
const TDesC8& aFileData ); |
|
1000 |
||
1001 |
/** |
|
1002 |
* Constructs GSM context AUTHENTICATE APDU |
|
1003 |
* @param params: parameter where the apdu is constructed |
|
1004 |
* @param aDataPackage: data containing authentication parameters |
|
1005 |
* @return void: none |
|
1006 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1007 |
void UiccCreateGsmSecurityContextApdu( |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1008 |
TUiccSendApdu& params, |
0 | 1009 |
const CMmDataPackage& aDataPackage ); |
1010 |
||
1011 |
/** |
|
1012 |
* Handles response APDU for GSM security context AUTHENTICATE APDU |
|
1013 |
* @param aTraId: transaction id of received message |
|
1014 |
* @param aStatus: status of the response |
|
1015 |
* @param aFileData: response apdu |
|
1016 |
* @return void: none |
|
1017 |
*/ |
|
1018 |
void UiccGsmSecurityContextApduResp( |
|
1019 |
TInt aTraId, |
|
1020 |
TInt aStatus, |
|
1021 |
const TDesC8& aFileData ); |
|
1022 |
||
1023 |
/** |
|
1024 |
* Constructs 3G security context AUTHENTICATE APDU |
|
1025 |
* @param aParams: parameter where the apdu is constructed |
|
1026 |
* @param aRand: RAND value inserted to the APDU |
|
1027 |
* @param aAuth: AUTH value inserted to the APDU |
|
1028 |
* @param aTraId: tr id used in UICC request |
|
1029 |
* @return void: none |
|
1030 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1031 |
void UiccCreate3GSecurityContextApdu( |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1032 |
TUiccSendApdu& aParams, |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1033 |
const TDesC8& aRand, |
0 | 1034 |
const TDesC8& aAuth, |
1035 |
TUiccTrId aTraId ); |
|
1036 |
||
1037 |
/** |
|
1038 |
* Handles response APDU for 3G security context AUTHENTICATE APDU |
|
1039 |
* @param aTraId: transaction id of received message |
|
1040 |
* @param aStatus: status of the response |
|
1041 |
* @param aFileData: response apdu |
|
1042 |
* @return void: none |
|
1043 |
*/ |
|
1044 |
void Uicc3GSecurityContextApduResp( |
|
1045 |
TInt aTraId, |
|
1046 |
TInt aStatus, |
|
1047 |
const TDesC8& aFileData ); |
|
1048 |
||
1049 |
/** |
|
1050 |
* Constructs GBA security context AUTHENTICATE APDU (bootstrapping mode) |
|
1051 |
* @param aParams: parameter where the apdu is constructed |
|
1052 |
* @param aDataPackage: data containing authentication parameters |
|
1053 |
* @return void: none |
|
1054 |
*/ |
|
1055 |
void UiccCreateGBABootstrappingApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1056 |
TUiccSendApdu& aParams, |
0 | 1057 |
const CMmDataPackage& aDataPackage ); |
1058 |
||
1059 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1060 |
* Handles response APDU for GBA security context AUTHENTICATE |
0 | 1061 |
* APDU (bootstrapping mode) |
1062 |
* @param aTraId: transaction id of received message |
|
1063 |
* @param aStatus: status of the response |
|
1064 |
* @param aFileData: response apdu |
|
1065 |
* @return void: none |
|
1066 |
*/ |
|
1067 |
void UiccGBABootstrappingApduResp( |
|
1068 |
TInt aTraId, |
|
1069 |
TInt aStatus, |
|
1070 |
const TDesC8& aFileData ); |
|
1071 |
||
1072 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1073 |
* Starts GBA bootstrap operation by reading elementary file EFgba. After reading |
0 | 1074 |
* is done, B-Tid and keylifetime is updated to EFgba |
1075 |
* @param aDataPackage: data containing parameters going to be written |
|
1076 |
* to the EFgba |
|
1077 |
* @return void: none |
|
1078 |
*/ |
|
1079 |
void UiccGBABootstrapUpdate( |
|
1080 |
const CMmDataPackage& aDataPackage ); |
|
1081 |
||
1082 |
/** |
|
1083 |
* Handles response for EFgba read operation |
|
1084 |
* @param aStatus: status of the response |
|
1085 |
* @param aFileData: file data |
|
1086 |
* @return void: none |
|
1087 |
*/ |
|
1088 |
void UiccGBABootstrapReadResp( |
|
1089 |
TInt aStatus, |
|
1090 |
const TDesC8& aFileData ); |
|
1091 |
||
1092 |
/** |
|
1093 |
* Handles response for EFgba write operation |
|
1094 |
* @param aStatus: status of the response |
|
1095 |
* @return void: none |
|
1096 |
*/ |
|
1097 |
void UiccGBABootstrapUpdateResp( TInt aStatus ); |
|
1098 |
||
1099 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1100 |
* Constructs GBA security context AUTHENTICATE APDU |
0 | 1101 |
* (NAF derivation mode) |
1102 |
* @param aParams: parameter where the apdu is constructed |
|
1103 |
* @param aDataPackage: data containing authentication parameters |
|
1104 |
* @return void: none |
|
1105 |
*/ |
|
1106 |
void UiccCreateGBABootstrapNafDerivationApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1107 |
TUiccSendApdu& aParams, |
0 | 1108 |
const CMmDataPackage& aDataPackage ); |
1109 |
||
1110 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1111 |
* Handles response APDU for GBA security context AUTHENTICATE |
0 | 1112 |
* APDU (NAF derivation mode) |
1113 |
* @param aTraId: transaction id of received message |
|
1114 |
* @param aStatus: status of the response |
|
1115 |
* @param aFileData: response apdu |
|
1116 |
* @return void: none |
|
1117 |
*/ |
|
1118 |
void UiccGBANafDerivationApduResp( |
|
1119 |
TInt aTraId, |
|
1120 |
TInt aStatus, |
|
1121 |
const TDesC8& aFileData ); |
|
1122 |
||
1123 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1124 |
* Constructs MBMS security context AUTHENTICATE APDU |
0 | 1125 |
* (MSK Update Mode) |
1126 |
* @param params: parameter where the apdu is constructed |
|
1127 |
* @param aDataPackage: data containing authentication parameters |
|
1128 |
* @return void: none |
|
1129 |
*/ |
|
1130 |
void UiccCreateMbmsMskUpdateApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1131 |
TUiccSendApdu& params, |
0 | 1132 |
const CMmDataPackage& aDataPackage ); |
1133 |
||
1134 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1135 |
* Handles response APDU for MBMS security context AUTHENTICATE |
0 | 1136 |
* APDU (MSK Update Mode) |
1137 |
* @param aTraId: transaction id of received message |
|
1138 |
* @param aStatus: status of the response |
|
1139 |
* @param aFileData: response apdu |
|
1140 |
* @return void: none |
|
1141 |
*/ |
|
1142 |
void UiccMbmsMskUpdateApduResp( |
|
1143 |
TInt aStatus, |
|
1144 |
const TDesC8& aFileData ); |
|
1145 |
||
1146 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1147 |
* Constructs MBMS security context AUTHENTICATE APDU |
0 | 1148 |
* (MTK Generation Mode) |
1149 |
* @param params: parameter where the apdu is constructed |
|
1150 |
* @param aDataPackage: data containing authentication parameters |
|
1151 |
* @return void: none |
|
1152 |
*/ |
|
1153 |
void UiccCreateMbmsMtkGenerationApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1154 |
TUiccSendApdu& params, |
0 | 1155 |
const CMmDataPackage& aDataPackage ); |
1156 |
||
1157 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1158 |
* Handles response APDU for MBMS security context AUTHENTICATE |
0 | 1159 |
* APDU (MTK Generation Mode) |
1160 |
* @param aStatus: status of the response |
|
1161 |
* @param aFileData: response apdu |
|
1162 |
* @return void: none |
|
1163 |
*/ |
|
1164 |
void UiccMbmsMtkGenerationApduResp( |
|
1165 |
TInt aStatus, |
|
1166 |
const TDesC8& aFileData ); |
|
1167 |
||
1168 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1169 |
* Constructs MBMS security context AUTHENTICATE APDU |
0 | 1170 |
* (MSK Deletion Mode) |
1171 |
* @param params: parameter where the apdu is constructed |
|
1172 |
* @param aDataPackage: data containing authentication parameters |
|
1173 |
* @return void: none |
|
1174 |
*/ |
|
1175 |
void UiccCreateMbmsMskDeletionApdu( |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1176 |
TUiccSendApdu& params, |
0 | 1177 |
const CMmDataPackage& aDataPackage ); |
1178 |
||
1179 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1180 |
* Handles response APDU for MBMS security context AUTHENTICATE |
0 | 1181 |
* APDU (MSK Deletion Mode) |
1182 |
* @param aStatus: status of the response |
|
1183 |
* @param aFileData: response apdu |
|
1184 |
* @return void: none |
|
1185 |
*/ |
|
1186 |
void UiccMbmsMskDeletionApduResp( |
|
1187 |
TInt aStatus, |
|
1188 |
const TDesC8& aFileData ); |
|
1189 |
||
1190 |
/** |
|
1191 |
* Constructs APDU to get first block of authenticate response data |
|
1192 |
* in case of odd ins code |
|
1193 |
* @return void: none |
|
1194 |
*/ |
|
1195 |
void CMmCustomMessHandler::UiccCreateFirstBlockOfAuthRespApdu( TUiccTrId aTrId ); |
|
1196 |
||
1197 |
/** |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1198 |
* Maps sw1 and sw2 from response authenticate apdu to result |
0 | 1199 |
* @param sw1: status of the response |
1200 |
* @param sw2: response apdu |
|
1201 |
* @return TUint8: command result |
|
1202 |
*/ |
|
1203 |
TUint8 MapSw1Sw2ToAuthenticateResult( TUint8 sw1, TUint8 sw2 ); |
|
1204 |
||
1205 |
/** |
|
1206 |
* Validates received apdu |
|
1207 |
* @param aTraId: Identifies the apdu |
|
1208 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1209 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1210 |
* otherwise KApduNok |
1211 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1212 |
TUint8 ValidateReceivedAuthenticateApdu( |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1213 |
TInt aTraId, |
0 | 1214 |
const TDesC8& aApdu ); |
1215 |
||
1216 |
/** |
|
1217 |
* Validates received gsm security context apdu for authenticate |
|
1218 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1219 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1220 |
* otherwise KApduNok |
1221 |
*/ |
|
1222 |
TUint8 ValidateGsmSecurityContextApduResp( const TDesC8& aApdu ); |
|
1223 |
||
1224 |
/** |
|
1225 |
* Validates received 3G security context apdu for authenticate |
|
1226 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1227 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1228 |
* otherwise KApduNok |
1229 |
*/ |
|
1230 |
TUint8 Validate3GSecurityContextApduResp( const TDesC8& aApdu ); |
|
1231 |
||
1232 |
/** |
|
1233 |
* Validates received GBA security context apdu (GBA bootstrapping mode) |
|
1234 |
* for authenticate |
|
1235 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1236 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1237 |
* otherwise KApduNok |
1238 |
*/ |
|
1239 |
TUint8 ValidateGBABootstrappingApduResp( const TDesC8& aApdu ); |
|
1240 |
||
1241 |
/** |
|
1242 |
* Validates received GBA security context apdu (GBA NAF derivation mode) |
|
1243 |
* for authenticate |
|
1244 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1245 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1246 |
* otherwise KApduNok |
1247 |
*/ |
|
1248 |
TUint8 ValidateGBANafDerivationApduResp( const TDesC8& aApdu ); |
|
1249 |
||
1250 |
/** |
|
1251 |
* Validates received RUN GSM ALGORITHM apdu for authenticate |
|
1252 |
* @param aApdu: APDU to be verified |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1253 |
* @return TUint8: KApduOk if verified successfully, |
0 | 1254 |
* otherwise KApduNok |
1255 |
*/ |
|
1256 |
TUint8 ValidateRunGsmAlgorithmApduResp( const TDesC8& aApdu ); |
|
1257 |
||
1258 |
/** |
|
1259 |
* Handles MBMS operation data from received MSK Update |
|
1260 |
* authenticate APDU |
|
1261 |
* @param aMskUpdate: parameters from MBMS operation data are |
|
1262 |
* inserted to aMskUpdate |
|
1263 |
* @param aMbmsData: MBMS data got from MSK Update authenticate |
|
1264 |
* APDU |
|
1265 |
* @return void: none |
|
1266 |
*/ |
|
1267 |
void UiccMskUpdateHandleMbmsOperationData( |
|
1268 |
RMmCustomAPI::TSimAuthenticationMgvMskUpdate& aMskUpdate, |
|
1269 |
TDesC8& aMbmsData ); |
|
1270 |
||
1271 |
/** |
|
1272 |
* Handles OMA BCAST operation data from received authenticate |
|
1273 |
* APDU |
|
1274 |
* @param aMskUpdate: parameters from MBMS operation data are |
|
1275 |
* inserted to aMskUpdate |
|
1276 |
* @param aMbmsData: APDU data |
|
1277 |
* @return void: none |
|
1278 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1279 |
void UiccMskUpdateHandleOMABcastOperationData( |
0 | 1280 |
RMmCustomAPI::TSimAuthenticationMgvMskUpdate& aMskUpdate, |
1281 |
TDesC8& aMbmsData ); |
|
1282 |
||
1283 |
/** |
|
1284 |
* Handles MBMS operation data from received MTK Generation |
|
1285 |
* authenticate APDU |
|
1286 |
* @param aMskUpdate: parameters from MBMS operation data are |
|
1287 |
* inserted to aMskUpdate |
|
1288 |
* @param aMbmsData: APDU data |
|
1289 |
* @return void: none |
|
1290 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1291 |
void UiccMtkGenHandleMbmsOperationData( |
0 | 1292 |
RMmCustomAPI::TSimAuthenticationMgvMtkGeneration& aMtkGen, |
1293 |
TDesC8& aMbmsData ); |
|
1294 |
||
1295 |
/** |
|
1296 |
* Handles OMA BCAST operation data from received MTK Generation |
|
1297 |
* authenticate APDU |
|
1298 |
* @param aMtkGen: parameters from MBMS operation data are |
|
1299 |
* inserted to aMtkGen |
|
1300 |
* @param aMbmsData: APDU data |
|
1301 |
* @return void: none |
|
1302 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1303 |
void UiccMtkGenHandleOMABcastOperationData( |
0 | 1304 |
RMmCustomAPI::TSimAuthenticationMgvMtkGeneration& aMtkGen, |
1305 |
TDesC8& aMbmsData ); |
|
1306 |
||
1307 |
/** |
|
1308 |
* Finds tlv objects from BER TLV object |
|
1309 |
* @param aTlvTag: tag of teh tlv object to be search |
|
1310 |
* @param aBerTlv: BER TLV object where to search |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1311 |
* @param aTlvObject: tlv object data is copied to this |
0 | 1312 |
* parameter, if it's found |
1313 |
* @return TBool: ETrue if tlv object found, otherwise EFalse |
|
1314 |
*/ |
|
1315 |
TBool FindTlvObject( |
|
1316 |
TUint8 aTlvTag, |
|
1317 |
const TDesC8& aBerTlv, |
|
1318 |
TDes8& aTlvObject ); |
|
1319 |
||
1320 |
/** |
|
1321 |
* calculates the UMTS Ciphering Key (CK) from the GSM |
|
1322 |
* Ciphering Key (Kc). This is done by using the c4 algorithm defined in |
|
1323 |
* 3GPP TS 33.102 v3.8.0 (Release 1999). |
|
1324 |
* @param aCk: Result is inserted to this parameter |
|
1325 |
* @param aKc: Kc which is used in calculation |
|
1326 |
* @return void: none |
|
1327 |
*/ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
1328 |
void DeriveCkFromKc( |
0 | 1329 |
TDes8& aCk, |
1330 |
const TDesC8& aKc ); |
|
1331 |
||
1332 |
/** derives the UMTS Integrity Key (IK) from the GSM |
|
1333 |
* Ciphering Key (Kc). This is done by using the c5 algorithm defined in |
|
1334 |
* 3GPP TS 33.102 v3.8.0 (release 1999). |
|
1335 |
* @param aEapAka: Result is inserted to this parameter |
|
1336 |
* @param aKc: Kc which is used in calculation |
|
1337 |
* @return void: none |
|
1338 |
*/ |
|
1339 |
void DeriveIkFromKc( |
|
1340 |
TDes8& aIk, |
|
1341 |
const TDesC8& aKc ); |
|
1342 |
||
1343 |
/** Handles the IMS authentication |
|
1344 |
* @param aDataPackage: data containing authentication parameters |
|
1345 |
* @return TInt: KErrNone / Error value from phonet |
|
1346 |
*/ |
|
1347 |
TInt UiccHandleImsAuthentication( const CMmDataPackage& aDataPackage ); |
|
1348 |
||
1349 |
/** |
|
1350 |
* Handles response for ISim application activation |
|
1351 |
* @param aStatus: status of the response |
|
1352 |
* @return void: none |
|
1353 |
*/ |
|
1354 |
void UiccHandleIsimActivationResp( TInt aStatus ); |
|
1355 |
||
1356 |
protected: // Data |
|
1357 |
||
1358 |
// Pointer to the PhonetSender |
|
1359 |
CMmPhoNetSender* iPhoNetSender; |
|
1360 |
||
1361 |
private: // Data |
|
1362 |
||
1363 |
// Pointer to the Message router |
|
1364 |
CMmMessageRouter* iMessageRouter; |
|
1365 |
||
1366 |
// Pointer to the Net message handler |
|
1367 |
CMmNetMessHandler* iNetMessHandler; |
|
1368 |
||
1369 |
// Pointer to the Security message handler |
|
1370 |
CMmSecurityMessHandler* iSecurityMessHandler; |
|
1371 |
||
1372 |
// Release cause value sent |
|
1373 |
TUint8 iReleaseCauseValueSent; |
|
1374 |
||
1375 |
// List of Ciphering values, for buffering purpose |
|
1376 |
RArray<TCiphListEntry> *iListOfCiphValues; |
|
1377 |
||
1378 |
// Is indication a refresh indication |
|
1379 |
TBool iIsRefresh; |
|
1380 |
||
1381 |
// Emergency number checking mode |
|
1382 |
RMmCustomAPI::TCheckMode iUsedEmergencyNbrCheckMode; |
|
1383 |
||
1384 |
// Lenght of the emergency number to be checked |
|
1385 |
TInt iEmergencyNumberLength; |
|
1386 |
||
1387 |
// Buffer to hold RAND_PARAMS subblock data |
|
1388 |
TBuf8<20> iRandBuf; |
|
1389 |
||
1390 |
// Buffer to hold AUTN_PARAMS subblock data |
|
1391 |
TBuf8<20> iAutnBuf; |
|
1392 |
||
1393 |
// Buffer to hold B-Tid data |
|
1394 |
TBuf8<256> iBTidBuf; |
|
1395 |
||
1396 |
// Buffer to hold keylifetime data |
|
1397 |
TBuf8<256> iKeyLifetimeBuf; |
|
1398 |
||
1399 |
// Buffer to hold SIM_SB_AM_GBA_NAF_ID_ID subblock data |
|
1400 |
TBuf8<254> iNafIdBuf; |
|
1401 |
||
1402 |
// Buffer to hold SIM_SB_IMS_PRIVATE_USER_ID subblock data |
|
1403 |
TBuf8<254> iImpiBuf; |
|
1404 |
||
1405 |
// Buffer for Mikey data. |
|
1406 |
RMmCustomAPI::TMikey iMikey; |
|
1407 |
||
1408 |
// Buffer for key domain id data |
|
1409 |
RMmCustomAPI::TKeyDomainId iKeyDomainId; |
|
1410 |
||
1411 |
// Buffer for key group id data |
|
1412 |
RMmCustomAPI::TKeyGroupId iKeyGroupIdPart; |
|
1413 |
||
1414 |
// Viag Home Zone Parameters |
|
1415 |
RMmCustomAPI::TViagParams iViagParams; |
|
1416 |
||
1417 |
// Cb msg ids max count |
|
1418 |
TInt iCbMsgIdsMaxCount; |
|
1419 |
||
1420 |
// Saves the SIM CB topic number for deletion |
|
1421 |
TUint iSimCBTopicToBeDeleted; |
|
1422 |
||
1423 |
// Is the SIM topic is being deleted (ETrue ) or not (EFalse) |
|
1424 |
TBool iTopicInSimMemoryDelete; |
|
1425 |
||
1426 |
// Enhanced Cell Information |
|
1427 |
TECIDInfo iECIDInfo; |
|
1428 |
||
1429 |
// Is ECIDInfo requested |
|
1430 |
TBool iECIDInfoRequested; |
|
1431 |
||
1432 |
// Call Life Timer; |
|
1433 |
TInt iCallLifeTimer; |
|
1434 |
||
1435 |
// Conter for record retries from PMM during read. |
|
1436 |
TUint8 iPMMReadRetryCounter; |
|
1437 |
||
1438 |
// Pointer to UICC message handler |
|
1439 |
CMmUiccMessHandler* iMmUiccMessHandler; |
|
1440 |
||
1441 |
//keeps track... |
|
1442 |
TUint8 iSapApduIfState; |
|
1443 |
||
1444 |
// is Isim application already activated |
|
1445 |
TBool iIsimApplActivated; |
|
1446 |
||
1447 |
public: // Friend classes |
|
1448 |
//None |
|
1449 |
protected: // Friend classes |
|
1450 |
//None |
|
1451 |
private: // Friend classes |
|
1452 |
//None |
|
1453 |
}; |
|
1454 |
||
1455 |
#endif // _CMMCUSTOMMESSHANDLER_H |
|
1456 |
||
1457 |
// End of File |