|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Publish and Subscribe keys and categories. |
|
15 // Allows clients to observe various events published by the Bluetooth subsystem, |
|
16 // and for clients to influence some parameters in the Bluetooth subsystem |
|
17 // |
|
18 // |
|
19 |
|
20 |
|
21 #ifndef BT_SUBSCRIBE_PARTNER_H |
|
22 #define BT_SUBSCRIBE_PARTNER_H |
|
23 |
|
24 #include <bt_subscribe_keybase.h> |
|
25 |
|
26 /** |
|
27 KPropertyKeyBluetoothSetAFHChannelAssessmentMode |
|
28 The key to send the Bluetooth AFH Channel Assessment Mode to the local Bluetooth hardware. |
|
29 If AFH Channel Assessment Mode is on, then the local hardware will keep checking what |
|
30 channels are busy and so should be avoided in a connection using AFH. |
|
31 The P&S value will contain a boolean: ETrue if AFH Channel Assessment Mode is required, |
|
32 EFalse if not. |
|
33 The hardware is likely to support this either never, in master role only, |
|
34 or in both master and slave roles. |
|
35 The default setting of AFH Channel Assessment Mode in the hardware is 'on' |
|
36 whenever the hardware can support it. |
|
37 @publishedPartner |
|
38 @released |
|
39 @capability LocalServices Needed for both read and write access to this property |
|
40 @capability NetworkControl Needed for both read and write access to this property |
|
41 */ |
|
42 const TUint KPropertyKeyBluetoothSetAFHChannelAssessmentMode = (KUidBluetoothPubSubKeyBase + 10); |
|
43 |
|
44 /** |
|
45 KPropertyKeyBluetoothAFHChannelAssessmentMode |
|
46 This is a deprecated constant, maintained for source compatibility with non-secured |
|
47 Symbian OS platforms. |
|
48 |
|
49 @publishedPartner |
|
50 @deprecated |
|
51 */ |
|
52 const TUint KPropertyKeyBluetoothAFHChannelAssessmentMode = KPropertyKeyBluetoothSetAFHChannelAssessmentMode; |
|
53 |
|
54 /** |
|
55 KPropertyKeyBluetoothSetSimplePairingDebugMode |
|
56 The key is intended to be used by a platform to set the stack into simple pairing debug mode. |
|
57 Once enabled (by setting to ETrue) then it cannot be disabled, the mode will remain set until |
|
58 the Bluetooth stack has been restarted. |
|
59 When the Symbian simple pairing debug mode is enabled then the stack will instruct the hardware |
|
60 to generate debug link keys for use with air traffic capture. |
|
61 When the Symbian simple pairing debug mode is disabled a remote device attempting to make a |
|
62 connection with a debug link key will be rejected for secure reasons. |
|
63 @publishedPartner |
|
64 @released |
|
65 @capability LocalServices Needed for both read and write access to this property |
|
66 @capability CommDD Needed for write access to this property |
|
67 */ |
|
68 const TUint KPropertyKeyBluetoothSetSimplePairingDebugMode = (KUidBluetoothPubSubKeyBase + 21); |
|
69 |
|
70 #endif //BT_SUBSCRIBE_PARTNER_H |