bluetoothengine/btnotif/inc/btnotifclientserver.h
branchRCL_3
changeset 56 9386f31cc85b
parent 55 613943a21004
child 61 269724087bed
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : btnotifclientserver.h
       
     4 *  Part of     : bluetoothengine / btnotif
       
     5 *  Description : Definitions for the btnotif client-server interface.
       
     6 *
       
     7 *  Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     8 *  All rights reserved.
       
     9 *  This component and the accompanying materials are made available
       
    10 *  under the terms of "Eclipse Public License v1.0"
       
    11 *  which accompanies this distribution, and is available
       
    12 *  at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    13 *
       
    14 *  Initial Contributors:
       
    15 *  Nokia Corporation - initial contribution.
       
    16 *
       
    17 *  Contributors:
       
    18 *  Nokia Corporation
       
    19 * ============================================================================
       
    20 * Template version: 4.2
       
    21 */
       
    22 
       
    23 #ifndef BTNOTIFCLIENTSERVER_H
       
    24 #define BTNOTIFCLIENTSERVER_H
       
    25 
       
    26 /**  BTNotif server name */
       
    27 _LIT( KBTNotifServerName, "btnotifsrv" );
       
    28 
       
    29 /**  btnotifsrv Uid3 for creating the server process */
       
    30 const TUid KBTNotifServerUid3 = { 0x20026FED };
       
    31 
       
    32 /**  
       
    33  *   BTNotif server version numbers; 
       
    34  *   Major version number is 2 to distinguish 
       
    35  *   from old btnotif architecture.
       
    36  */
       
    37 const TInt KBTNotifServerVersionMajor = 2;
       
    38 const TInt KBTNotifServerVersionMinor = 0;
       
    39 const TInt KBTNotifServerVersionBuild = 0;
       
    40 
       
    41 /**  
       
    42  *   Opcodes used in the client-server interface 
       
    43  *   for identifying the requested command.
       
    44  */
       
    45 enum TBTNotifServerRequest
       
    46     {
       
    47     EBTNotifMinValue = 9,
       
    48     EBTNotifStartSyncNotifier,
       
    49     EBTNotifStartAsyncNotifier,
       
    50     EBTNotifCancelNotifier,
       
    51     EBTNotifUpdateNotifier,
       
    52     EBTNotifPrepareDiscovery = 43,
       
    53     EBTNotifPairDevice,
       
    54     EBTNotifCancelPairDevice,
       
    55     };
       
    56 
       
    57 /**  
       
    58  *   Message slots Opcodes used in the client-server interface 
       
    59  *   for identifying the requested command.
       
    60  */
       
    61 enum TBTNotifServerRequestSlot
       
    62     {
       
    63     EBTNotifSrvUidSlot,
       
    64     EBTNotifSrvParamSlot,
       
    65     EBTNotifSrvReplySlot
       
    66     };
       
    67 
       
    68 #endif // T_BTNOTIFCLIENTSERVER_H