2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Bluetooth Engine SDK central repository key definitions.
15 * The file name is kept as before for compatibility reasons.
20 #ifndef BTSERVER_SDK_CR_KEYS_H
21 #define BTSERVER_SDK_CR_KEYS_H
25 * @file btserversdkcrkeys.h
27 * The API provides the BT power state central repository key that is updated by
28 * the S60 BT Server. The key provides up-to-date information on the BT
29 * HW power state. Any application may monitor to the cenrep key that is
30 * updated to receive notifications of any change in state.
32 * The key UID is #KCRUidBluetoothPowerState and following key is provided:
36 /** Bluetooth Power Mode UID */
37 const TUid KCRUidBluetoothPowerState = { 0x10204DA9 };
40 * The cenrep key for storing the Bluetooth power mode.
42 * Valid values are defined by the enum #TBTPowerStateValue
44 * Possible values are:
45 * 0 Bluetooth chip is not powered/in sleep mode
46 * 1 Bluetooth chip is powered up and fully functional
50 * @see TBTPowerStateValue
52 const TUint32 KBTPowerState = 0x00000001;
55 /** Enumeration for Bluetooth power mode values */
56 enum TBTPowerStateValue
61 #endif // BTSERVER_SDK_CR_KEYS_H