williamr@2: /* williamr@2: * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: Bluetooth Engine SDK central repository key definitions. williamr@2: * The file name is kept as before for compatibility reasons. williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef BTSERVER_SDK_CR_KEYS_H williamr@2: #define BTSERVER_SDK_CR_KEYS_H williamr@2: williamr@2: williamr@2: /** williamr@2: * @file btserversdkcrkeys.h williamr@2: * williamr@2: * The API provides the BT power state central repository key that is updated by williamr@2: * the S60 BT Server. The key provides up-to-date information on the BT williamr@2: * HW power state. Any application may monitor to the cenrep key that is williamr@2: * updated to receive notifications of any change in state. williamr@2: * williamr@2: * The key UID is #KCRUidBluetoothPowerState and following key is provided: williamr@2: * - #KBTPowerState williamr@2: */ williamr@2: williamr@2: /** Bluetooth Power Mode UID */ williamr@2: const TUid KCRUidBluetoothPowerState = { 0x10204DA9 }; williamr@2: williamr@2: /** williamr@2: * The cenrep key for storing the Bluetooth power mode. williamr@2: * williamr@2: * Valid values are defined by the enum #TBTPowerStateValue williamr@2: * williamr@2: * Possible values are: williamr@2: * 0 Bluetooth chip is not powered/in sleep mode williamr@2: * 1 Bluetooth chip is powered up and fully functional williamr@2: * williamr@2: * Default value: 0 williamr@2: * williamr@2: * @see TBTPowerStateValue williamr@2: */ williamr@2: const TUint32 KBTPowerState = 0x00000001; williamr@2: williamr@2: williamr@2: /** Enumeration for Bluetooth power mode values */ williamr@2: enum TBTPowerStateValue williamr@2: { williamr@2: EBTPowerOff, williamr@2: EBTPowerOn williamr@2: }; williamr@2: #endif // BTSERVER_SDK_CR_KEYS_H