Esempio n. 1
0
TInt CNifPDPContextTNif::HandleQosSet(TDes8& aConfig)
	{
	// Update local record.
	TContextParameters& opt = *(TContextParameters*)aConfig.Ptr();
	CopyQosReqParameter(opt);

	// Get the Qos Profile Name.
	const TDesC8& name=CfgFile()->ItemValue(KQosProfileName, KDefaultName);
	iQosProfileName.Copy(name);

	// Get the Qos Setting Duration.
	TInt qosDuration;
	const CTestConfigItem* item = CfgFile()->Item(KContextQosSetEntry);
	TInt err=CTestConfig::GetElement(item->Value(), KStdDelimiter, 1, qosDuration);		// The 3rd parameter (3) represents the index of the variable on the config file line
	if (err!=KErrNone)
		qosDuration=KDefaultQosSettingTime;

	// Start Timer to set Qos.
	TimerCancel();
	TimerAfter(qosDuration*1000);	

	// Update the return data.
	opt.iReasonCode = KErrNone; 				// we need to set this to success 
	// Update the local data copy.	
	iParameter.iReasonCode = KErrNone;
	return KErrNone;
	};
Esempio n. 2
0
TInt CNifPDPContextTNif::HandlePDPCreate(TDes8& aConfig)
	{
	RPacketContext::TProtocolType pdpType;
	iNif->FirstExistingPDPContext()->ContextPDPType(pdpType);

	// Context creation is synchronous call.
	const TDesC8& contextName=CfgFile()->ItemValue(KContextName, KDefaultName);
	iContextName.Copy(contextName);

	RPacketContext::TGSNAddress name;
	iNif->FirstExistingPDPContext()->ContextAPNName(name);

	// Update the return data.
	TContextParameters& opt = *(TContextParameters*)aConfig.Ptr();
	opt.iContextConfig.SetPdpType(pdpType);
	opt.iContextType=ESecondaryContext;
	opt.iContextConfig.SetAccessPointName(name);
	opt.iReasonCode = KErrNone;				// we need to set this to success IDO

	// Update the local data copy.	
	iParameter.iContextConfig.SetPdpType(pdpType);
	iParameter.iContextType=ESecondaryContext;
	iParameter.iContextConfig.SetAccessPointName(name);

	//TODO: We need to start a timer as well to simulate the creation
	// if telephony decides the creation is Asyn call.

	// Start Timer to new PDP .
	TimerCancel();
	TimerAfter(2000*1000);

	return KErrNone;
	};
Esempio n. 3
0
TInt CNifPDPContextTNif::HandleContextActivate(TDes8& aConfig)
	{
	TContextParameters& opt = *(TContextParameters*)aConfig.Ptr();
	if (iParameter.iContextInfo.iStatus ==  RPacketContext::EStatusActivating)
	{
		opt.iReasonCode = KErrInUse;				// we need to set this to success 
		return KErrGeneral;
	}
	else if(iParameter.iContextInfo.iStatus ==  RPacketContext::EStatusActive)
	{
		opt.iReasonCode = KErrInUse;
		return KErrGeneral;
	}
	
	// Get the Activation Duration.
	TInt activateDuration;
	const CTestConfigItem* item = CfgFile()->Item(KContextActivateEntry);
	TInt err=CTestConfig::GetElement(item->Value(), KStdDelimiter, 1, activateDuration);		// The 3rd parameter (3) represents the index of the variable on the config file line
	if (err!=KErrNone)
		activateDuration=KDefaultActivationTime;

	// Start Timer to activate the PDP context.
	TimerCancel();
	TimerAfter(activateDuration*1000);

	// Update the return data.
	opt.iReasonCode = KErrNone;				// we need to set this to success IDO
	opt.iContextInfo.iStatus = RPacketContext::EStatusActivating;
	// Update the local data copy.	
	iParameter.iReasonCode = KErrNone;
	
	return KErrNone;
	};
Esempio n. 4
0
TInt CNifPDPContextTNif::HandlePDPDelete(TDes8& aConfig)
	{
	// Get the Activation Duration.
	TInt deleteDuration;

	const CTestConfigItem* item = CfgFile()->Item(KContextDeleteEntry);
	TInt err=CTestConfig::GetElement(item->Value(), KStdDelimiter, 1, deleteDuration);		// The 3rd parameter (3) represents the index of the variable on the config file line
	if (err!=KErrNone)
		deleteDuration=KDefaultDeletionTime;
//leteDuration=KDefaultDeletionTime;
	// Start Timer to delete the PDP context.
	TimerCancel();
	TimerAfter(deleteDuration*1000);
	// Update the return data.
	TContextParameters& opt = *(TContextParameters*)aConfig.Ptr();
	opt.iReasonCode = KErrNone;				// we need to set this to success IDO
	// Update the local data copy.	
	iParameter.iReasonCode = KErrNone;
	return KErrNone;
	};
Esempio n. 5
0
BOOL CGrfDoc::OnNewDocument()
  {
  if (!DocRoot::OnNewDocument())
    return False;
  if (gs_pPrj && !gs_pPrj->bDoingLoad)
    {
    if (gs_License.GraphicWindowsAllowed()!=CK_InfiniteGrfs && CWindowLists::GetGrfWndCount()>gs_License.GraphicWindowsAllowed())
      {
      LogWarning("SysCAD", 0, "Cannot open new graphics window, license allows maximum of %d", gs_License.GraphicWindowsAllowed());
      return False;
      }
    }

  //KGA 6/6/96: Assume that flowsheet cmds and ONE model engine is required.
  //In the future, when this changes a dialog box can be placed here to
  //let the user choose which cmds must be opened and model engine/library dll
  //must be loaded.
  Strng Cmd("ACTIVATE FLWSHEET_CMDS \r");
  gs_pCmd->ProcessAStr(Cmd());
  if (CfgFile())
    {
    Cmd.Set("OPEN ENGINE %s \r", CfgFile());
    gs_pCmd->ProcessAStr(Cmd());
    }

#if WITHGRFDOCFRAME
  const int DelimitPrefixLen=8;
  if (gs_pPrj->m_sGrfFrameName.XStrICmp("None")==0)
    {
    }
  else if (gs_pPrj->m_sGrfFrameName.XStrNICmp("Extents-", DelimitPrefixLen)==0)
    {
    struct CPt {int XSgn, YSgn, XPt, YPt;} Pts[]=
      {
        {+1, +1,   0,   0},
        {+1, -1,   0, 297},
        {-1, -1, 419, 297},
        {-1, +1, 419,   0},
      };
    struct CScl {LPCTSTR Nm; float Scl;} Scls[]=
      {
        {"A5", 0.5f},
        {"A4", 0.7071f},
        {"A3", 1.0f},
        {"A2", 1.4142f},
        {"A1", 2.0f},
        {0}
      };
    int Len=10;
    float Scl=1;
    for (int i=0; Scls[i].Nm; i++)
      if (_stricmp(gs_pPrj->m_sGrfFrameName()+DelimitPrefixLen, Scls[i].Nm)==0)
        {
        Scl=Scls[i].Scl;
        break;
        }

    for (int i=0; i<4; i++)
      {
      CPt &P=Pts[i];
      C3_CURVE TheCurve = NULL;
      PT3 Pos;
      Pos[0]=P.XPt*Scl;
      Pos[1]=P.YPt*Scl+P.YSgn*Len;
      Pos[2]=0;
      TheCurve = GCB.pDrw->Add_PLine_Start(Pos);
      Pos[0]=P.XPt*Scl;
      Pos[1]=P.YPt*Scl;
      Pos[2]=0;
      GCB.pDrw->Add_PLine_Vertex(TheCurve, Pos);
      Pos[0]=P.XPt*Scl+P.XSgn*Len;
      Pos[1]=P.YPt*Scl;
      Pos[2]=0;
      GCB.pDrw->Add_PLine_Vertex(TheCurve, Pos);
      }

    gs_pCmd->ProcessAStr("zoom view all\r");
    }
  else
    {
    Strng GrpLib(gs_pPrj->m_sDefGrpLib);
    GrpLib.FnExpand();

    CNeutralImportExport NImport;
    NImport.SetImportOrigin(CDblTriPt(0,0,0), CDblTriPt(1,1,1));
    NImport.SetImportFilter(gs_pPrj->m_sGrfFrameName());
    NImport.SetImportTagFixups(eFixup_ReplaceTag, "Frame", "", NULL, NULL);
    bool OK=NImport.DoImportGroup(eNDB_Graphics, this, GrpLib(), GrpLib());
    if (OK)
      gs_pCmd->ProcessAStr("zoom view all\r");
    else
      LogWarning("Graphics Doc", 0, "Frame %s not Inserted", gs_pPrj->m_sGrfFrameName()); 
    }
#endif
  return True;
  }
TVerdict CSimUSimRel6TestsTestStepBase::doTestStepPreambleL()
	{
	__UHEAP_MARK;

	iActiveScheduler=new(ELeave) CActiveScheduler();
	CActiveScheduler::Install(iActiveScheduler);

	TInt ret = iTelServer.Connect();
	if (ret!=KErrNone)
		{
		INFO_PRINTF1(_L("Failed to connect to telephony server"));
		delete iActiveScheduler;
		User::Leave(ret);
		}
   	ret=iTelServer.LoadPhoneModule(KSimtsyName);
	if (ret!=KErrNone)
		{
		INFO_PRINTF1(_L("Failed to load phone module"));
		iTelServer.Close();
		delete iActiveScheduler;
		User::Leave(ret);
		}
	
	CreateConfigFileL(_L("c:\\config3.txt"));
 	SetTestNumberL(46);
	(void)User::LeaveIfError(iFs.Connect());
 	iConfigFile=CTestConfig::NewLC(iFs,KConfigFileDir,KConfigFilename);

	TInt testNumber;
	testNumber=46;
	iSectionName.Format(KSectionNameFormat,testNumber);
	if(iConfigFile->Section(iSectionName)==NULL)
		{
		CleanupStack::Pop();
		User::Leave(KErrNotFound);
		}
	CleanupStack::Pop();	// iConfigFile pointer is safely stored as a member variable

    iVoiceMailIds=new(ELeave) CArrayFixFlat<RMobilePhone::TMobilePhoneVoicemailIdsV8>(KUsimGranularity);
	iMessageWaiting=new(ELeave) CArrayFixFlat<RMobilePhone::TMobilePhoneMessageWaitingV8>(KUsimGranularity);
 	iWlanData=new(ELeave) CArrayFixFlat<RMobilePhone::TUsimWlanDataV8>(KUsimGranularity);
 	iWlanSid=new(ELeave) CArrayFixFlat<RMobilePhone::TWlanSIDV8>(KUsimGranularity);
 	iPreferredNetworks=new(ELeave) CArrayFixFlat<RMobilePhone::TMobilePreferredNetworkEntryV3>(KUsimGranularity);
 	TInt count;
	count=CfgFile()->ItemCount(KUsimMailBoxIdInfo);
	const CTestConfigItem* item=NULL;
	TInt i;
	for(i=0;i<count;i++)
		{
		item=CfgFile()->Item(KUsimMailBoxIdInfo,i);
		if(!item)
			break;

		TInt voice,data,fax,other,video;
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,0,voice);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for voice identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,1,data);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for data identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,2,fax);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for fax identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,3,other);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for other identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,4,video);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for video identifier"));
			continue;
			}
		RMobilePhone::TMobilePhoneVoicemailIdsV8 mailboxIdInfo;
		
		mailboxIdInfo.iVoice=voice;
		mailboxIdInfo.iData=data;
		mailboxIdInfo.iFax=fax;
		mailboxIdInfo.iOther=other;	
		mailboxIdInfo.iVideo=video;
		iVoiceMailIds->AppendL(mailboxIdInfo);
		}

	count=CfgFile()->ItemCount(KUsimMessageWaitingIdInfo);
	item=NULL;
	for(i=0;i<count;i++)
		{
		item=CfgFile()->Item(KUsimMessageWaitingIdInfo,i);
		if(!item)
			break;

		TInt displayStatus,voiceMsgs,auxVoiceMsgs,dataMsgs,faxMsgs,emailMsgs,otherMsgs,videoMsgs;
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,0,displayStatus);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Display Status identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,1,voiceMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Voice Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,2,auxVoiceMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Auxillary Voice Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,3,dataMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Data Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,4,faxMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Fax Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,5,emailMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Email Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,6,otherMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Other Messages identifier"));
			continue;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,7,videoMsgs);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Video Messages identifier"));
			continue;
			}
		RMobilePhone::TMobilePhoneMessageWaitingV8 messageWaiting;
		
		messageWaiting.iDisplayStatus = RMobilePhone::TMobilePhoneIndicatorDisplay(displayStatus);
		messageWaiting.iVoiceMsgs = voiceMsgs;
		messageWaiting.iAuxVoiceMsgs = auxVoiceMsgs;
		messageWaiting.iDataMsgs = dataMsgs;
		messageWaiting.iFaxMsgs = faxMsgs;
		messageWaiting.iEmailMsgs = emailMsgs;
		messageWaiting.iOtherMsgs = otherMsgs;
		messageWaiting.iVideoMsgs = videoMsgs;
		iMessageWaiting->AppendL(messageWaiting);
		}
	
	count=CfgFile()->ItemCount(KUsimWlanDataInfo);
	item=NULL;
	RMobilePhone::TUsimWlanDataV8 wlanData;
	for(i=0;i<count;i++)
		{
		item=CfgFile()->Item(KUsimWlanDataInfo,i);
		if(!item)
			break;

		TPtrC8 FieldsUsed,Pseudonym,ReauthenticationId,MasterKey,Counter;
		if(i==0)
			{
			wlanData.iFieldsUsed=SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS;
			}
		else
			{
			wlanData.iFieldsUsed=SIMTSY_PHONE_WLAN_LIST_DATA_FLAGS1;	
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,1,Pseudonym);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Pseudonym identifier"));
			continue;
			}
		else
			{
			wlanData.iPseudonym.Copy(Pseudonym);
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,2,ReauthenticationId);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Reauthentication identifier"));
			continue;
			}
		else
			{
			wlanData.iReauthenticationId.Copy(ReauthenticationId);
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,3,MasterKey);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Master Key identifier"));
			continue;
			}
		else
			{
			wlanData.iMasterKey.Copy(MasterKey);
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,4,Counter);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Counter identifier"));
			continue;
			}
		else
			{
			wlanData.iCounter.Copy(Counter);
			}
		iWlanData->AppendL(wlanData);
		}
	
	count=CfgFile()->ItemCount(KUsimWlanSidInfo);
	item=NULL;
	RMobilePhone::TWlanSIDV8 wlanSid;
	for(i=0;i<count;i++)
		{
		item=CfgFile()->Item(KUsimWlanSidInfo,i);
		if(!item)
			break;

		TPtrC8 wlanSidBuf;
		TInt userDef;
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,0,wlanSidBuf);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Wlan SID identifier"));
			continue;
			}
		else 
			{
			wlanSid.iWSID.Copy(wlanSidBuf);
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,1,userDef);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for User Defined identifier"));
			continue;
			}
		else
			{
			wlanSid.iUserDefined=userDef;
			}
		iWlanSid->AppendL(wlanSid);
		}
	
	count=CfgFile()->ItemCount(KUsimPreferredNetworksInfo);
	item=NULL;
	RMobilePhone::TMobilePreferredNetworkEntryV3 networkEntry;
	for(i=0;i<count;i++)
		{
		item=CfgFile()->Item(KUsimPreferredNetworksInfo,i);
		if(!item)
			break;

		TPtrC8 accessId,countryCode,networkId;
		TInt userDef;
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,1,userDef);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for User Defined identifier"));
			continue;
			}
		else
			{
			networkEntry.iUserDefined=userDef;
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,2,countryCode);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Country code identifier"));
			continue;
			}
		else
			{
			networkEntry.iCountryCode.Copy(countryCode);
			}
		ret=CTestConfig::GetElement(item->Value(),KStdDelimiter,3,networkId);
		if(ret!=KErrNone)
			{
			INFO_PRINTF1(_L("Failed to get the value for Network Id identifier"));
			continue;
			}
		else
			{
			networkEntry.iNetworkId.Copy(networkId);
			}
		iPreferredNetworks->AppendL(networkEntry);
		}
			
	//Open the session
	ret = iPhone.Open(iTelServer,KPhoneName);
	INFO_PRINTF2(_L("Result: %d"),ret); 
	TESTL(ret == KErrNone); 
  	INFO_PRINTF1(_L("Opened phone object"));
	return TestStepResult();
	}
Esempio n. 7
0
TInt CNifPDPContextTNif::HandleTFTModify(TDes8& aConfig)
	{
	// Get the Activation Duration.
	RPacketContext::TPacketFilterV2 iFilter;

	TInt tftmodify;
	const CTestConfigItem* item = CfgFile()->Item(KContextTFTModifyEntry);
	TInt err=CTestConfig::GetElement(item->Value(), KStdDelimiter, 1, tftmodify);		// The 3rd parameter (3) represents the index of the variable on the config file line
	if (err!=KErrNone)
		tftmodify=KDefaultTFTModifyTime;

	// Start Timer to modfidy activation
	TimerCancel();
	TimerAfter(tftmodify*1000);
	// Update the return data.
	TContextParameters& opt = *(TContextParameters*)aConfig.Ptr();
	opt.iReasonCode = KErrNone;				// we need to set this to success IDO
	// Update the local data copy.	
	
//	iParameter = opt;
	iParameter.iReasonCode = KErrNone;
	iParameter.iTFTOperationCode = opt.iTFTOperationCode;
	/**
	The individual operations will be performed according to the 
	operation code provided
	*/
	TTFTInfo aTFT,bTFT;
	if (iParameter.iTFTOperationCode == KAddFilters) 
		{
		iParameter.iContextConfig.GetTFTInfo(aTFT);

		opt.iContextConfig.GetTFTInfo(bTFT);
		bTFT.SetToFirst();
		bTFT.NextPacketFilter(iFilter);
		aTFT.AddPacketFilter(iFilter);
		iParameter.iContextConfig.SetTFTInfo(aTFT);	
		// update the Result
		opt.iReasonCode = KErrNone;
		iParameter.iReasonCode = KErrNone; 
		}
	else if (iParameter.iTFTOperationCode == KRemoveFilters) 
		{
		iParameter.iContextConfig.GetTFTInfo(aTFT);

		opt.iContextConfig.GetTFTInfo(bTFT);
		bTFT.SetToFirst();
		bTFT.NextPacketFilter(iFilter);
		aTFT.RemovePacketFilter(iFilter);
		iParameter.iContextConfig.SetTFTInfo(aTFT);	
		// update the Result
		opt.iReasonCode = KErrNone;
		iParameter.iReasonCode = KErrNone;
		}
	else if (iParameter.iTFTOperationCode == KAddSblpParameter)
		{
		
		iParameter.iContextConfig.GetTFTInfo(aTFT);

		opt.iContextConfig.GetTFTInfo(bTFT);
		bTFT.SetToFirst();
		bTFT.NextPacketFilter(iFilter);
		aTFT.AddPacketFilter(iFilter);
		/**
		These addition is for handling SBLP Parameters inside the TFT as per the 
		requirements of PREQ634.
		Currently only one SblpParameters ( consisting of one MAT and multiple associated
		Flow Identifires ). Later when R6 will be implemented this code needs to change to
		support the Multiple SBLP Parameter. However the infrastructure of Multiple SBLP is 
		already in place as iSblpParams uses RPointerArray
		*/
		RPacketContext::CTFTMediaAuthorizationV3 * aMAT = 	RPacketContext::CTFTMediaAuthorizationV3::NewL();
		/**
		Store it in RPointerArray to get it cleaned which destructing
		*/
		iSblpParams.AppendL(aMAT);
		/**
		Get the SBLP Parameters
		*/ 
		bTFT.GetSblpToken(*aMAT);
		/**
		Add SBLP Parameters to bTft; 		
		*/
		aTFT.AddSblpToken(iSblpParams[0]->iAuthorizationToken,iSblpParams[0]->iFlowIds);	
		iParameter.iContextConfig.SetTFTInfo(aTFT);	
		// update the Result
		opt.iReasonCode = KErrNone;
		iParameter.iReasonCode = KErrNone;
		
				
		//checking the values against PDPContext.txt and return result accordingly
		// Initialise the section in configuration file.
		TBuf8<KMaxName>		iSectionName1;   // SBLP section names
		
		TBool matFound = ETrue;
		TBool validToken = ETrue;
     	for (TInt sblpContextId = 0; matFound; sblpContextId++)
       	{
			
			iSectionName1.Format(KSBLPSectionNameFormat, sblpContextId);
			if(iNif->CfgFile()->Section(iSectionName1)==NULL)
			{
				matFound = EFalse;
				break;	
			}
			validToken = ETrue;
       		//comparing Authorisation token, if doesnt match exit
			TInt numberOfFlowIdsReceived = iSblpParams[0]->iFlowIds.Count();			
			
			const CTestConfigSection* sblpCfgSection = iNif->CfgFile()->Section(iSectionName1);
			const TDesC8& authorizationToken=sblpCfgSection->ItemValue(KAuthorizationToken,KDefaultAuthorizationToken);	
			if(authorizationToken.Compare(iSblpParams[0]->iAuthorizationToken) != 0)
				{
				LOG(_LIT(string1,"Media Authorisation does not match\n"));
				LOG(PdpLog::Printf(string1);)
				validToken = EFalse;
				}