adaptationlayer/tsy/simatktsy_dll/src/satmessaging.cpp
changeset 8 6295dc2169f3
parent 5 8ccc39f9d787
child 9 8486d82aef45
equal deleted inserted replaced
7:fa67e03b87df 8:6295dc2169f3
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   242         GetTransactionId() );
   242         GetTransactionId() );
   243 
   243 
   244     //Initalize flag, this is used to check if proactiveCommand is ongoing
   244     //Initalize flag, this is used to check if proactiveCommand is ongoing
   245     iSatTimer->SetProactiveCommandOnGoingStatus( EFalse );
   245     iSatTimer->SetProactiveCommandOnGoingStatus( EFalse );
   246 
   246 
   247     // Request access technology type
   247 
   248     iSatMessHandler->NetRatReq( GetTransactionId() );
       
   249 
   248 
   250 #ifdef INFO_PP_SIM_OLD_POLL_INTERVAL
   249 #ifdef INFO_PP_SIM_OLD_POLL_INTERVAL
   251     // Check old poll interval is supported by ME's Product Profile
   250     // Check old poll interval is supported by ME's Product Profile
   252     iSatMessHandler->InfoPpReadReq( INFO_PP_SIM_OLD_POLL_INTERVAL );
   251     iSatMessHandler->InfoPpReadReq( INFO_PP_SIM_OLD_POLL_INTERVAL );
   253 #endif
   252 #endif
  2061     OstTrace0( TRACE_NORMAL, CTSYSATMESSAGING_DATADOWNLOADRECEIVEDL, "CTsySatMessaging::DataDownloadReceivedL" );
  2060     OstTrace0( TRACE_NORMAL, CTSYSATMESSAGING_DATADOWNLOADRECEIVEDL, "CTsySatMessaging::DataDownloadReceivedL" );
  2062     iSatDataDownload->MessageReceivedL( aIsiMessage );
  2061     iSatDataDownload->MessageReceivedL( aIsiMessage );
  2063     }
  2062     }
  2064 
  2063 
  2065 // -----------------------------------------------------------------------------
  2064 // -----------------------------------------------------------------------------
  2066 // CTsySatMessaging::MoSmsControlReceived
  2065 // CTsySatMessaging::MoSmsControlReceivedL
  2067 // Processes ISI messages that are relevant for MoSm control
  2066 // Processes ISI messages that are relevant for MoSm control
  2068 // (other items were commented in a header).
  2067 // (other items were commented in a header).
  2069 // -----------------------------------------------------------------------------
  2068 // -----------------------------------------------------------------------------
  2070 //
  2069 //
  2071 void CTsySatMessaging::MoSmsControlReceived
  2070 void CTsySatMessaging::MoSmsControlReceivedL
  2072         (
  2071         (
  2073         const TIsiReceiveC& aIsiMessage
  2072         const TIsiReceiveC& aIsiMessage
  2074         )
  2073         )
  2075     {
  2074     {
  2076     OstTrace0( TRACE_NORMAL, CTSYSATMESSAGING_MOSMSCONTROLRECEIVED, "CTsySatMessaging::MoSmsControlReceived" );
  2075     TFLOGSTRING("TSY: CTsySatMessaging::MoSmsControlReceivedL");
       
  2076     OstTrace0( TRACE_NORMAL, CTSYSATMESSAGING_MOSMSCONTROLRECEIVEDL, "CTsySatMessaging::MoSmsControlReceivedL" );
  2077     if ( iSatMoSmsCtrl->IsActivated() )
  2077     if ( iSatMoSmsCtrl->IsActivated() )
  2078         {
  2078         {
  2079         iSatMoSmsCtrl->MessageReceived( aIsiMessage );
  2079         iSatMoSmsCtrl->MessageReceivedL( aIsiMessage );
  2080         }
  2080         }
  2081     }
  2081     }
  2082 
  2082 
  2083 // -----------------------------------------------------------------------------
  2083 // -----------------------------------------------------------------------------
  2084 // CTsySatMessaging::IsMoSmControlBySimActivated
  2084 // CTsySatMessaging::IsMoSmControlBySimActivated