bluetoothmgmt/bluetoothclientlib/inc/bt_sock.h
changeset 33 4e80e1b997a8
parent 0 29b1cd4cb562
child 35 14e279d2bbb7
--- a/bluetoothmgmt/bluetoothclientlib/inc/bt_sock.h	Mon May 03 13:34:38 2010 +0300
+++ b/bluetoothmgmt/bluetoothclientlib/inc/bt_sock.h	Mon Jul 12 07:03:47 2010 +0300
@@ -191,6 +191,7 @@
 // private tokens for use by RBTBaseband facade and stack
 _LIT8(KDisconnectOnePhysicalLink, "1");		/*!< Specifes one physical link should be disconnected */
 _LIT8(KDisconnectAllPhysicalLinks, "A");	/*!< Specifes all physical links should be disconnected */
+_LIT8(KDisconnectAllPhysicalLinksForPowerOff, "P");	/*!< Specifes all physical links should be disconnected for power off*/
 
 // HCI Ioctls
 /** Add SCO connnection Ioctl
@@ -614,6 +615,7 @@
 const static TInt KErrRfcommParameterNegotiationFailure = KRFErrorBase-7;	/*!< RFCOMM parameter negotiation failure error code. */
 const static TInt KErrRfcommNotListening = KRFErrorBase-8;					/*!< RFCOMM not listening error code. */
 const static TInt KErrRfcommNoMoreServerChannels = KRFErrorBase-9;			/*!< RFCOMM no more server channels available error code. */
+const static TInt KErrRfcommMuxChannelErrored = KRFErrorBase-10;			/*!< RFCOMM Mux channel errored */
 
 //RFCOMMIoctls
 
@@ -1533,6 +1535,7 @@
 	IMPORT_C void CancelCreateConnection();
 	IMPORT_C TInt Disconnect(const TBTDevAddr& aDevAddr);
 	IMPORT_C TInt DisconnectAll();
+	IMPORT_C TInt DisconnectAllForPowerOff();
 	
 	IMPORT_C TInt Broadcast(const TDesC8& aData);
 	IMPORT_C TInt ReadRaw(TDes8& aData);