bluetoothengine/bteng/inc/btengprivatecrkeys.h
changeset 0 f63038272f30
child 13 b6f55cd40afd
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 private central repository key definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTENG_PRIVATE_CR_KEYS_H
       
    20 #define BTENG_PRIVATE_CR_KEYS_H
       
    21 
       
    22 
       
    23 #include <btengdomaincrkeys.h>
       
    24 
       
    25 
       
    26 /**  Bluetooth Discoverability Settings CenRep UID */
       
    27 const TUid KCRUidBTEngPrivateSettings = { 0x10204DAC };
       
    28 
       
    29 
       
    30 /**
       
    31  * CenRep key for storing Bluetooth visibility settings.
       
    32  * Stores the Bluetooth visibility mode.
       
    33  *
       
    34  * Possible integer values (the value are as published 
       
    35  * in the Bluetooth Core Specification):
       
    36  * ( 0x00 No scanning (no scans enabled)
       
    37  * 0x01 Inquiry scan only (inquiry Scan enabled, page scan disabled) )
       
    38  * 0x02 Hidden mode (page scan enabled, inquiry scan disabled)
       
    39  * 0x03 General discoverability mode (Page enabled, inquiry scan enabled)
       
    40  * 0x100 Temporarily visibile (first value after reserved range)
       
    41  *
       
    42  * Default value: 3
       
    43  *
       
    44  */
       
    45 const TUint32 KBTDiscoverable =	0x00000001;
       
    46 
       
    47 
       
    48 /**
       
    49  * CenRep key for storing Bluetooth local device name settings.
       
    50  * Stores the local name status (if the user has changed the 
       
    51  * local device name).
       
    52  *
       
    53  * Possible integer values:
       
    54  * 0 User has not changed local device name
       
    55  * 1 User has set the local deive name
       
    56  *
       
    57  * Default value: 0
       
    58  */
       
    59 const TUint32 KBTLocalNameChanged = 0x00000002;
       
    60 
       
    61 
       
    62 /**  Enumeration for local name changed status */
       
    63 enum TBTLocalNameStatus
       
    64     {
       
    65     EBTLocalNameDefault = 0,
       
    66     EBTLocalNameSet
       
    67     };
       
    68 
       
    69 
       
    70 /**
       
    71  * CenRep key for storing Bluetooth SIM Access Profile settings.
       
    72  * Stores the Bluetooth SIM Access Profile state.
       
    73  *
       
    74  * Possible integer values:
       
    75  * 0 SAP disabled
       
    76  * 1 SAP enabled
       
    77  *
       
    78  * Default value: 0
       
    79  */
       
    80 const TUint32 KBTSapEnabled	= 0x00000003;
       
    81 
       
    82 const TUint32 KBtHidKeyboardLayout = 0x00000004;
       
    83 
       
    84 /**  Enumeration for Bluetooth SAP setting */
       
    85 enum TBTSapMode
       
    86     {
       
    87     EBTSapDisabled = 0,
       
    88     EBTSapEnabled
       
    89     };
       
    90 
       
    91 
       
    92 #endif // BTENG_PRIVATE_CR_KEYS_H