bluetooth/btstack/eirman/eirmanager.cpp
changeset 32 f72906e669b4
parent 0 29b1cd4cb562
equal deleted inserted replaced
31:b9d1744dc449 32:f72906e669b4
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   167 		iNotifiees[aTag].iRequiredBytes = 0;
   167 		iNotifiees[aTag].iRequiredBytes = 0;
   168 		iNotifiees[aTag].iOfferedBytes = 0;
   168 		iNotifiees[aTag].iOfferedBytes = 0;
   169 		}
   169 		}
   170 	}
   170 	}
   171 
   171 
   172 TInt CEirManager::SetData(TEirTag aTag, TDesC8& aData, TEirDataMode aEirDataMode)
   172 TInt CEirManager::SetData(TEirTag aTag, const TDesC8& aData, TEirDataMode aEirDataMode)
   173 	{
   173 	{
   174 	LOG_FUNC
   174 	LOG_FUNC
   175 	LOG1(_L("CEirManager::SetData tag = %d"), aTag);
   175 	LOG1(_L("CEirManager::SetData tag = %d"), aTag);
   176 	
   176 	
   177 	if(!iLinkMgrProtocol.IsExtendedInquiryResponseSupportedLocally())
   177 	if(!iLinkMgrProtocol.IsExtendedInquiryResponseSupportedLocally())