bluetoothengine/btnotif/inc/btnotifclientserver.h
changeset 19 43824b19ee35
child 31 a0ea99b6fa53
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetoothengine/btnotif/inc/btnotifclientserver.h	Fri May 14 16:01:46 2010 +0300
@@ -0,0 +1,69 @@
+/*
+* ============================================================================
+*  Name        : btnotifclientserver.h
+*  Part of     : bluetoothengine / btnotif
+*  Description : Definitions for the btnotif client-server interface.
+*
+*  Copyright © 2009 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"
+*  which accompanies this distribution, and is available
+*  at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+*  Initial Contributors:
+*  Nokia Corporation - initial contribution.
+*
+*  Contributors:
+*  Nokia Corporation
+* ============================================================================
+* Template version: 4.2
+*/
+
+#ifndef BTNOTIFCLIENTSERVER_H
+#define BTNOTIFCLIENTSERVER_H
+
+/**  BTNotif server name */
+_LIT( KBTNotifServerName, "btnotifsrv" );
+
+/**  btnotifsrv Uid3 for creating the server process */
+const TUid KBTNotifServerUid3 = { 0x20026FED };
+
+/**  
+ *   BTNotif server version numbers; 
+ *   Major version number is 2 to distinguish 
+ *   from old btnotif architecture.
+ */
+const TInt KBTNotifServerVersionMajor = 2;
+const TInt KBTNotifServerVersionMinor = 0;
+const TInt KBTNotifServerVersionBuild = 0;
+
+/**  
+ *   Opcodes used in the client-server interface 
+ *   for identifying the requested command.
+ */
+enum TBTNotifServerRequest
+    {
+    EBTNotifMinValue = 9,
+    EBTNotifStartSyncNotifier,
+    EBTNotifStartAsyncNotifier,
+    EBTNotifCancelNotifier,
+    EBTNotifUpdateNotifier,
+    // Commands moved from BTEngine server.
+    EBTEngPrepareDiscovery = 43,
+    EBTEngPairDevice,
+    EBTEngCancelPairDevice,
+    };
+
+/**  
+ *   Message slots Opcodes used in the client-server interface 
+ *   for identifying the requested command.
+ */
+enum TBTNotifServerRequestSlot
+    {
+    EBTNotifSrvUidSlot,
+    EBTNotifSrvParamSlot,
+    EBTNotifSrvReplySlot
+    };
+
+#endif // T_BTNOTIFCLIENTSERVER_H