bluetoothengine/btaudioman/src/BTAccServer.cpp
changeset 1 6a1fe72036e3
parent 0 f63038272f30
child 6 6a29d5ad0713
--- a/bluetoothengine/btaudioman/src/BTAccServer.cpp	Mon Jan 18 20:28:57 2010 +0200
+++ b/bluetoothengine/btaudioman/src/BTAccServer.cpp	Tue Jan 26 12:06:42 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -58,9 +58,8 @@
     delete iAccMan;  
     delete iTimer;
     iSessions.Close();
-    
-    RProperty::Delete( KPSUidBluetoothEnginePrivateCategory, KBTATCodec );
-    
+    RProperty::Delete( KPSUidBluetoothEnginePrivateCategory, KBTHfpATCommand );
+    RProperty::Delete( KPSUidBluetoothEnginePrivateCategory, KBTHfpATResponse );
     TRACE_FUNC
     }
 
@@ -152,7 +151,11 @@
     iAccMan->LoadServicesL();
     
     User::LeaveIfError(RProperty::Define(KPSUidBluetoothEnginePrivateCategory,
-                                         KBTATCodec, RProperty::EByteArray,
+                                         KBTHfpATCommand, RProperty::EByteArray,
+                                         KBTEngPSKeyReadPolicy,
+                                         KBTEngPSKeyWritePolicy));
+    User::LeaveIfError(RProperty::Define(KPSUidBluetoothEnginePrivateCategory,
+                                         KBTHfpATResponse, RProperty::EByteArray,
                                          KBTEngPSKeyReadPolicy,
                                          KBTEngPSKeyWritePolicy));
     }