equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 |
19 |
39 #include <tisi.h> |
39 #include <tisi.h> |
40 #include <gpdsisi.h> |
40 #include <gpdsisi.h> |
41 //#include <permisi.h> To be done in CPS |
41 //#include <permisi.h> To be done in CPS |
42 #include <uiccisi.h> |
42 #include <uiccisi.h> |
43 |
43 |
44 #include "osttracedefinitions.h" |
44 #include "OstTraceDefinitions.h" |
45 #ifdef OST_TRACE_COMPILER_IN_USE |
45 #ifdef OST_TRACE_COMPILER_IN_USE |
46 #include "cmmnetmesshandlertraces.h" |
46 #include "cmmnetmesshandlerTraces.h" |
47 #endif |
47 #endif |
48 |
48 |
49 // EXTERNAL DATA STRUCTURES |
49 // EXTERNAL DATA STRUCTURES |
50 //None |
50 //None |
51 |
51 |
331 void CMmNetMessHandler::ConstructL() |
331 void CMmNetMessHandler::ConstructL() |
332 { |
332 { |
333 TFLOGSTRING("TSY: CMmNetMessHandler::ConstructL()"); |
333 TFLOGSTRING("TSY: CMmNetMessHandler::ConstructL()"); |
334 OstTrace0( TRACE_NORMAL, CMMNETMESSHANDLER_CONSTRUCTL, "CMmNetMessHandler::ConstructL" ); |
334 OstTrace0( TRACE_NORMAL, CMMNETMESSHANDLER_CONSTRUCTL, "CMmNetMessHandler::ConstructL" ); |
335 |
335 |
336 iNetOperatorNameHandler = CMmNetOperatorNameHandler::NewL( this ); |
336 iNetOperatorNameHandler = CMmNetOperatorNameHandler::NewL( |
|
337 this, |
|
338 iMmUiccMessHandler ); |
337 |
339 |
338 // Delay timer for completion of Packet transfer state |
340 // Delay timer for completion of Packet transfer state |
339 iDelayTimer = CDelayTimer::NewL( this ); |
341 iDelayTimer = CDelayTimer::NewL( this ); |
340 |
342 |
341 // Selection method is at this point unknown |
343 // Selection method is at this point unknown |
393 // ----------------------------------------------------------------------------- |
395 // ----------------------------------------------------------------------------- |
394 // |
396 // |
395 TInt CMmNetMessHandler::ProcessUiccMsg( |
397 TInt CMmNetMessHandler::ProcessUiccMsg( |
396 TInt aTraId, |
398 TInt aTraId, |
397 TInt aStatus, |
399 TInt aStatus, |
|
400 TUint8 /*aDetails*/, |
398 const TDesC8& aFileData ) |
401 const TDesC8& aFileData ) |
399 { |
402 { |
400 TFLOGSTRING3("TSY: CMmNetMessHandler::ProcessUiccMsg, transaction ID: %d, status: %d", aTraId, aStatus ); |
403 TFLOGSTRING3("TSY: CMmNetMessHandler::ProcessUiccMsg, transaction ID: %d, status: %d", aTraId, aStatus ); |
401 OstTraceExt2( TRACE_NORMAL, CMMNETMESSHANDLER_PROCESSUICCMSG, "CMmNetMessHandler::ProcessUiccMsg;aTraId=%d;aStatus=%d", aTraId, aStatus ); |
404 OstTraceExt2( TRACE_NORMAL, CMMNETMESSHANDLER_PROCESSUICCMSG, "CMmNetMessHandler::ProcessUiccMsg;aTraId=%d;aStatus=%d", aTraId, aStatus ); |
402 |
405 |
699 { |
702 { |
700 iNetOperatorNameHandler->PermPmRecordReadResp( |
703 iNetOperatorNameHandler->PermPmRecordReadResp( |
701 aIsiMessage ); |
704 aIsiMessage ); |
702 } |
705 } |
703 break; |
706 break; |
704 } |
707 } |
705 default: |
708 default: |
706 { |
709 { |
707 // No appropriate handler methods for ISI-message found. |
710 // No appropriate handler methods for ISI-message found. |
708 TFLOGSTRING("TSY: CMmNetMessHandler::ReceiveMessageL - no handler for the PERMANENT_DATA message id"); |
711 TFLOGSTRING("TSY: CMmNetMessHandler::ReceiveMessageL - no handler for the PERMANENT_DATA message id"); |
709 OstTrace0( TRACE_NORMAL, DUP5_CMMNETMESSHANDLER_RECEIVEMESSAGEL, "CMmNetMessHandler::ReceiveMessageL - no handler for the PERMANENT_DATA message id" ); |
712 OstTrace0( TRACE_NORMAL, DUP5_CMMNETMESSHANDLER_RECEIVEMESSAGEL, "CMmNetMessHandler::ReceiveMessageL - no handler for the PERMANENT_DATA message id" ); |
3075 OstTrace0( TRACE_NORMAL, CMMNETMESSHANDLER_INITIALIZEONSANDOPLREADING, "CMmNetMessHandler::InitializeOnsAndOplReading" ); |
3078 OstTrace0( TRACE_NORMAL, CMMNETMESSHANDLER_INITIALIZEONSANDOPLREADING, "CMmNetMessHandler::InitializeOnsAndOplReading" ); |
3076 |
3079 |
3077 // Set iNetMessageHandlingOngoing flag to ETrue. |
3080 // Set iNetMessageHandlingOngoing flag to ETrue. |
3078 iNetMessageHandlingOngoing = ETrue; |
3081 iNetMessageHandlingOngoing = ETrue; |
3079 |
3082 |
|
3083 // Start Operator Name String (ONS Name) reading. |
|
3084 iNetOperatorNameHandler->UiccOperatorReq(); |
|
3085 |
|
3086 // Start Operator PLMN List (OPL) rules reading by reading the record count |
|
3087 iNetOperatorNameHandler->UiccReadOplRecordCount(); |
3080 } |
3088 } |
3081 |
3089 |
3082 // --------------------------------------------------------------------------- |
3090 // --------------------------------------------------------------------------- |
3083 // CMmNetMessHandler::GetMessageRouter |
3091 // CMmNetMessHandler::GetMessageRouter |
3084 // Gets pointer to CMmMessageRouter object. |
3092 // Gets pointer to CMmMessageRouter object. |