epoc32/include/bt_subscribe.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // 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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    16 // and for clients to influence some parameters in the Bluetooth subsystem
    16 // and for clients to influence some parameters in the Bluetooth subsystem
    17 // 
    17 // 
    18 //
    18 //
    19 
    19 
    20 
    20 
    21 
       
    22 
       
    23 #ifndef BT_SUBSCRIBE_H
    21 #ifndef BT_SUBSCRIBE_H
    24 #define BT_SUBSCRIBE_H
    22 #define BT_SUBSCRIBE_H
    25 
    23 
       
    24 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    25 #include <bt_subscribe_partner.h>
       
    26 #endif
       
    27 
       
    28 #include <bt_subscribe_keybase.h>
       
    29 
    26 #include <e32property.h>
    30 #include <e32property.h>
    27 
       
    28 /**
       
    29 @publishedAll
       
    30 @released
       
    31 */
       
    32 const TInt KUidBluetoothPubSubKeyBase = 0x10203637;	//	Range of 32 values registered
       
    33 
    31 
    34 // P&S Categories
    32 // P&S Categories
    35  
    33  
    36 /**
    34 /**
    37 KPropertyUidBluetoothCategory
    35 KPropertyUidBluetoothCategory
   264 const TUint KPropertyKeyBluetoothAFHHostChannelClassification = KPropertyKeyBluetoothSetAFHHostChannelClassification;
   262 const TUint KPropertyKeyBluetoothAFHHostChannelClassification = KPropertyKeyBluetoothSetAFHHostChannelClassification;
   265 
   263 
   266 //-------------
   264 //-------------
   267 
   265 
   268 /**
   266 /**
   269 KPropertyKeyBluetoothSetAFHChannelAssessmentMode
       
   270 The key to send the Bluetooth AFH Channel Assessment Mode to the local Bluetooth hardware.
       
   271 If AFH Channel Assessment Mode is on, then the local hardware will keep checking what 
       
   272 channels are busy and so should be avoided in a connection using AFH.
       
   273 The P&S value will contain a boolean: ETrue if AFH Channel Assessment Mode is required, 
       
   274 EFalse if not.
       
   275 The hardware is likely to support this either never, in master role only, 
       
   276 or in both master and slave roles.
       
   277 The default setting of AFH Channel Assessment Mode in the hardware is 'on' 
       
   278 whenever the hardware can support it.
       
   279 @publishedPartner
       
   280 @released
       
   281 @capability LocalServices	Needed for both read and write access to this property
       
   282 @capability NetworkControl	Needed for both read and write access to this property
       
   283 */
       
   284 const TUint KPropertyKeyBluetoothSetAFHChannelAssessmentMode = (KUidBluetoothPubSubKeyBase + 10);
       
   285 
       
   286 /**
       
   287 KPropertyKeyBluetoothAFHChannelAssessmentMode
       
   288 This is a deprecated constant, maintained for source compatibility with non-secured 
       
   289 Symbian OS platforms.
       
   290 
       
   291 @publishedPartner
       
   292 @deprecated
       
   293 */
       
   294 const TUint KPropertyKeyBluetoothAFHChannelAssessmentMode = KPropertyKeyBluetoothSetAFHChannelAssessmentMode;
       
   295 
       
   296 //-------------
       
   297 
       
   298 /**
       
   299 KPropertyKeyBluetoothGetRegistryTableChange
   267 KPropertyKeyBluetoothGetRegistryTableChange
   300 The key to observe changes in the Bluetooth Registry
   268 The key to observe changes in the Bluetooth Registry
   301 The P&S value will contain an integer describing which of the tables in the Bluetooth Registry changed
   269 The P&S value will contain an integer describing which of the tables in the Bluetooth Registry changed
   302 see further in this header file.
   270 see further in this header file.
   303 This property is written to only by the Symbian OS Bluetooth sub-system.
   271 This property is written to only by the Symbian OS Bluetooth sub-system.
   449 @capability LocalServices	Needed for both read and write access to this property
   417 @capability LocalServices	Needed for both read and write access to this property
   450 @capability NetworkControl	Needed for write access to this property
   418 @capability NetworkControl	Needed for write access to this property
   451 */
   419 */
   452 const TUint KPropertyKeyBluetoothHostResolverActive = (KUidBluetoothPubSubKeyBase + 20); 
   420 const TUint KPropertyKeyBluetoothHostResolverActive = (KUidBluetoothPubSubKeyBase + 20); 
   453 
   421 
   454 /**
       
   455 KPropertyKeyBluetoothSetSimplePairingDebugMode
       
   456 The key is intended to be used by a platform to set the stack into simple pairing debug mode.
       
   457 Once enabled (by setting to ETrue) then it cannot be disabled, the mode will remain set until
       
   458 the Bluetooth stack has been restarted.
       
   459 When the Symbian simple pairing debug mode is enabled then the stack will instruct the hardware
       
   460 to generate debug link keys for use with air traffic capture.
       
   461 When the Symbian simple pairing debug mode is disabled a remote device attempting to make a 
       
   462 connection with a debug link key will be rejected for secure reasons. 
       
   463 @publishedPartner
       
   464 @released
       
   465 @capability LocalServices	Needed for both read and write access to this property
       
   466 @capability CommDD			Needed for write access to this property
       
   467 */
       
   468 const TUint KPropertyKeyBluetoothSetSimplePairingDebugMode = (KUidBluetoothPubSubKeyBase + 21);
       
   469 
   422 
   470 /**
   423 /**
   471 KPropertyKeyBluetoothGetSimplePairingDebugMode
   424 KPropertyKeyBluetoothGetSimplePairingDebugMode
   472 The key is intended to be used by a UI to provide an indication to the user of the device that the
   425 The key is intended to be used by a UI to provide an indication to the user of the device that the
   473 Symbian simple pairing debug mode has been enabled.
   426 Symbian simple pairing debug mode has been enabled.