btservices_plat/bluetooth_local_variation_api/inc/btengdomaincrkeys.h
changeset 0 f63038272f30
child 21 53b7818cd282
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Bluetooth Engine domain central repository key definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTENG_DOMAIN_CR_KEYS_H
       
    20 #define BTENG_DOMAIN_CR_KEYS_H
       
    21 
       
    22 
       
    23 #include <btserversdkcrkeys.h>
       
    24 
       
    25 
       
    26 /**  Bluetooth Engine CenRep Uid */
       
    27 const TUid KCRUidBluetoothEngine = { 0x10204DAB };
       
    28 
       
    29 
       
    30 /**
       
    31  * CenRep key for storing Bluetooth feature settings.
       
    32  * Indicates if Bluetooth Headset Profile is supported or not.
       
    33  *
       
    34  * Possible integer values:
       
    35  * 0 Headset Profile not supported
       
    36  * 1 Headset Profile supported
       
    37  *
       
    38  * Default value: 1 
       
    39  */
       
    40 const TUint32 KBTHspSupported = 0x00000001;
       
    41 
       
    42 
       
    43 /**  Enumeration for Headset profile support */
       
    44 enum TBTHspSupported
       
    45     {
       
    46     EBTHspNotSupported = 0,
       
    47     EBTHspSupported
       
    48     };
       
    49 
       
    50 
       
    51 /**
       
    52  * CenRep key for storing Bluetooth feature settings.
       
    53  * Product specific settings for activating BT in offline mode.
       
    54  *
       
    55  * Possible integer values:
       
    56  * 0 BT activation disabled in offline mode
       
    57  * 1 BT activation enabled in offline mode
       
    58  *
       
    59  * Default value: 1
       
    60  */
       
    61 const TUint32 KBTEnabledInOffline = 0x00000002;
       
    62 
       
    63 
       
    64 /**  Enumeration for Bluetooth activation in offline mode */
       
    65 enum TBTEnabledInOfflineMode
       
    66     {
       
    67     EBTDisabledInOfflineMode = 0,
       
    68     EBTEnabledInOfflineMode
       
    69     };
       
    70 
       
    71 
       
    72 /**
       
    73  * CenRep key for storing Bluetooth feature settings.
       
    74  * Indicates if eSCO is supported.
       
    75  *
       
    76  * Possible integer values:
       
    77  * 0 eSCO not supported
       
    78  * 1 eSCO not supported
       
    79  *
       
    80  * Default value: 0
       
    81  */
       
    82 const TUint32 KBTEScoSupportedLV = 0x00000003;
       
    83 
       
    84 
       
    85 /**  Enumeration for eSCO support */
       
    86 enum TBTEScoSupported
       
    87     {
       
    88     EBTEScoNotSupported = 0,
       
    89     EBTEScoSupported
       
    90     };
       
    91 
       
    92 
       
    93 /**
       
    94  * CenRep key for storing Bluetooth feature settings.
       
    95  * Indicates if device selection/passkey setting by means 
       
    96  * other than user input is enabled.
       
    97  *
       
    98  * Possible integer values:
       
    99  * 0 Out-of-band setting is disabled
       
   100  * 1 Out-of-band setting is enabled
       
   101  *
       
   102  * Default value: 0
       
   103  */
       
   104 const TUint32 KBTOutbandDeviceSelectionLV = 0x00000004;
       
   105 
       
   106 
       
   107 /**  Enumeration for out-of-band selection mode */
       
   108 enum TBTOutbandSelection
       
   109     {
       
   110     EBTOutbandDisabled = 0,
       
   111     EBTOutbandEnabled
       
   112     };
       
   113 
       
   114 
       
   115 /**
       
   116  * CenRep key for storing Bluetooth feature settings.
       
   117  * Stores the Bluetooth Vendor ID.
       
   118  *
       
   119  * The integer value is specified by the Bluetooth SIG, and used for the 
       
   120  * Device Identification Profile. It needs to be pre-set by each product.
       
   121  */
       
   122 const TUint32 KBTVendorID = 0x00000005;
       
   123 
       
   124 
       
   125 /**
       
   126  * CenRep key for storing Bluetooth feature settings.
       
   127  * Stores the Bluetooth Product ID.
       
   128  *
       
   129  * The integer value is used for the Device Identification Profile. It is 
       
   130  * product-specific, and the values are managed by the company 
       
   131  * (as identified by the Vendor ID) It needs to be pre-set by each product.
       
   132  */
       
   133 const TUint32 KBTProductID = 0x00000006;
       
   134 
       
   135 /**
       
   136  * CenRep key for storing Bluetooth feature settings.
       
   137  * Indicates if supports remote volume control over AVRCP Controller.
       
   138  *
       
   139  * Possible integer values:
       
   140  * 0  supported
       
   141  * 1  supported
       
   142  *
       
   143  * Default value: 1
       
   144  */
       
   145 const TUint32 KBTAvrcpVolCTLV = 0x00000007;
       
   146 
       
   147 /**  Enumeration for remote volume control AVRCP Controller support */
       
   148 enum TBTAvrcpVolCTSupported
       
   149     {
       
   150     EBTAvrcpVolCTNotSupported = 0,
       
   151     EBTAvrcpVolCTSupported
       
   152     };
       
   153     
       
   154     
       
   155 /**
       
   156  * CenRep key for default folder for file receiving.
       
   157  * Indicates where receving files will be saved.
       
   158  
       
   159  * Possible integer values:
       
   160  * 0  supported
       
   161  * 1  supported
       
   162  *
       
   163  * Default value: Received files\\
       
   164  */
       
   165 const TUint32 KLCReceiveFolder = 0x0000000A;
       
   166 
       
   167 /**
       
   168  * CenRep key for storing Bluetooth feature settings.
       
   169  * Indicates support of automatic disconnection when audio link opening fails
       
   170  *
       
   171  * Possible integer values:
       
   172  * 0 disabled;
       
   173  * 1 enabled.
       
   174  *
       
   175  * Default value: 1 in S60 3.2, and 0 since S60 5.0
       
   176  */
       
   177 const TUint32 KBTDisconnectIfAudioOpenFailsLV = 0x00000010;
       
   178 
       
   179 /**  Enumeration for automatic disconnection activation/deactivation */
       
   180 enum TBTAutoDisconnectIfAudioOpenFails
       
   181     {
       
   182     EBTNotDisconnectIfAudioOpenFails = 0,
       
   183     EBTDisconnectIfAudioOpenFails = 1
       
   184     };
       
   185 
       
   186 /**  Bluetooth Local Device Address CenRep UID */
       
   187 const TUid KCRUidBluetoothLocalDeviceAddress = { 0x10204DAA };
       
   188 
       
   189 /**
       
   190  * CenRep key for storing the Bluetooth local device address.
       
   191  *
       
   192  * Default value (in string format): ""
       
   193  */
       
   194 const TUint32 KBTLocalDeviceAddress = 0x00000001;
       
   195 
       
   196 
       
   197 #endif // BTENG_DOMAIN_CR_KEYS_H