bluetooth/btstack/linkmgr/hcifacade.cpp
branchRCL_3
changeset 56 015fa7494bd2
parent 45 99439b07e980
equal deleted inserted replaced
49:10183c6d2913 56:015fa7494bd2
   173 		hciClientUsageCallback->MhcucSetClientUsage(*this);
   173 		hciClientUsageCallback->MhcucSetClientUsage(*this);
   174 		}
   174 		}
   175 
   175 
   176 	iAFHTimer=CAFHTimer::NewL(*this);
   176 	iAFHTimer=CAFHTimer::NewL(*this);
   177 	
   177 	
       
   178 	// Read low power mode override timeout from the configuration file
       
   179 	_LIT(KLPMSection, "lowpowermodeconfiguration");
       
   180 	_LIT(KLPMTag, "overridelpmtimeout_microseconds");
       
   181 
       
   182 	TUint overrideLPMTimeout = 0;
       
   183 	TRAP(err, overrideLPMTimeout = iHciUtil->GetValueFromFileL(KLPMSection, KLPMTag));
       
   184 	
       
   185 	if (err == KErrNone)
       
   186 		{
       
   187 		// LPM override timeout found, pass the value into link manager
       
   188 		iLinkMgrProtocol.SetOverrideLPMTimeout(overrideLPMTimeout);
       
   189 		}
       
   190 	
   178 	iLastPowerState = EBTOn;
   191 	iLastPowerState = EBTOn;
   179 	
   192 	
   180 	// used later to ensure that we have enough data to call SetEventMask
   193 	// used later to ensure that we have enough data to call SetEventMask
   181 	iReadLocalSupportedFeaturesComplete = EFalse;
   194 	iReadLocalSupportedFeaturesComplete = EFalse;
   182 	iReadLocalVersionComplete           = EFalse;
   195 	iReadLocalVersionComplete           = EFalse;