bluetooth/btexample/example/btproperties/BTProperties.cpp
changeset 47 a1b8f5cc021e
parent 42 206564d58f40
equal deleted inserted replaced
42:206564d58f40 47:a1b8f5cc021e
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-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".
   198 
   198 
   199 void CDeviceNameSubscriber::RunL()
   199 void CDeviceNameSubscriber::RunL()
   200 	{
   200 	{
   201 	Start();
   201 	Start();
   202 	
   202 	
   203 	TBuf16<KHCILocalDeviceNameMaxLength> val;
   203 	TBuf16<KMaxBluetoothNameLen> val;
   204 	iProperty.Get(val);
   204 	iProperty.Get(val);
   205 
   205 
   206 	iTest.Printf(_L("%S = %S\n"), &iString, &val);
   206 	iTest.Printf(_L("%S = %S\n"), &iString, &val);
   207 	}
   207 	}
   208 
   208