williamr@2
|
1 |
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
2 |
// All rights reserved.
|
williamr@2
|
3 |
// This component and the accompanying materials are made available
|
williamr@4
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
williamr@2
|
5 |
// which accompanies this distribution, and is available
|
williamr@4
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@2
|
7 |
//
|
williamr@2
|
8 |
// Initial Contributors:
|
williamr@2
|
9 |
// Nokia Corporation - initial contribution.
|
williamr@2
|
10 |
//
|
williamr@2
|
11 |
// Contributors:
|
williamr@2
|
12 |
//
|
williamr@2
|
13 |
// Description:
|
williamr@2
|
14 |
// Publish and Subscribe keys and categories.
|
williamr@2
|
15 |
// Allows clients to observe various events published by the Bluetooth subsystem,
|
williamr@2
|
16 |
// and for clients to influence some parameters in the Bluetooth subsystem
|
williamr@2
|
17 |
//
|
williamr@2
|
18 |
//
|
williamr@2
|
19 |
|
williamr@2
|
20 |
|
williamr@2
|
21 |
#ifndef BT_SUBSCRIBE_H
|
williamr@2
|
22 |
#define BT_SUBSCRIBE_H
|
williamr@2
|
23 |
|
williamr@4
|
24 |
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
|
williamr@4
|
25 |
#include <bt_subscribe_partner.h>
|
williamr@4
|
26 |
#endif
|
williamr@4
|
27 |
|
williamr@4
|
28 |
#include <bt_subscribe_keybase.h>
|
williamr@4
|
29 |
|
williamr@2
|
30 |
#include <e32property.h>
|
williamr@2
|
31 |
|
williamr@2
|
32 |
// P&S Categories
|
williamr@2
|
33 |
|
williamr@2
|
34 |
/**
|
williamr@2
|
35 |
KPropertyUidBluetoothCategory
|
williamr@2
|
36 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
37 |
Symbian OS platforms.
|
williamr@2
|
38 |
|
williamr@2
|
39 |
@publishedAll
|
williamr@2
|
40 |
@deprecated
|
williamr@2
|
41 |
*/
|
williamr@2
|
42 |
const TUid KPropertyUidBluetoothCategory = {KUidSystemCategoryValue};
|
williamr@2
|
43 |
|
williamr@2
|
44 |
/**
|
williamr@2
|
45 |
KPropertyUidBluetoothControlCategory
|
williamr@2
|
46 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
47 |
Symbian OS platforms.
|
williamr@2
|
48 |
|
williamr@2
|
49 |
@publishedAll
|
williamr@2
|
50 |
@deprecated
|
williamr@2
|
51 |
*/
|
williamr@2
|
52 |
const TUid KPropertyUidBluetoothControlCategory = {KUidSystemCategoryValue};
|
williamr@2
|
53 |
|
williamr@2
|
54 |
// P&S Keys
|
williamr@2
|
55 |
|
williamr@2
|
56 |
//-------------
|
williamr@2
|
57 |
|
williamr@2
|
58 |
/**
|
williamr@2
|
59 |
KPropertyKeyBluetoothGetLocalDeviceAddress
|
williamr@2
|
60 |
The key to observe the device address of the local Bluetooth hardware
|
williamr@2
|
61 |
The P&S value will contain a descriptor of the device address
|
williamr@2
|
62 |
@publishedAll
|
williamr@2
|
63 |
@released
|
williamr@2
|
64 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
65 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
66 |
*/
|
williamr@2
|
67 |
const TUint KPropertyKeyBluetoothGetLocalDeviceAddress = (KUidBluetoothPubSubKeyBase + 0);
|
williamr@2
|
68 |
|
williamr@2
|
69 |
/**
|
williamr@2
|
70 |
KPropertyKeyBluetoothLocalDeviceAddress
|
williamr@2
|
71 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
72 |
Symbian OS platforms.
|
williamr@2
|
73 |
@publishedAll
|
williamr@2
|
74 |
@deprecated
|
williamr@2
|
75 |
*/
|
williamr@2
|
76 |
const TUint KPropertyKeyBluetoothLocalDeviceAddress = KPropertyKeyBluetoothGetLocalDeviceAddress;
|
williamr@2
|
77 |
|
williamr@2
|
78 |
//-------------
|
williamr@2
|
79 |
|
williamr@2
|
80 |
/**
|
williamr@2
|
81 |
KPropertyKeyBluetoothGetPHYCount
|
williamr@2
|
82 |
The key to observe the the number of Bluetooth physical links attached to the local device
|
williamr@2
|
83 |
The P&S value will contain the number of physical links
|
williamr@2
|
84 |
@publishedAll
|
williamr@2
|
85 |
@released
|
williamr@2
|
86 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
87 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
88 |
*/
|
williamr@2
|
89 |
const TUint KPropertyKeyBluetoothGetPHYCount = (KUidBluetoothPubSubKeyBase + 1);
|
williamr@2
|
90 |
|
williamr@2
|
91 |
/**
|
williamr@2
|
92 |
KPropertyKeyBluetoothPHYCount
|
williamr@2
|
93 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
94 |
Symbian OS platforms.
|
williamr@2
|
95 |
@publishedAll
|
williamr@2
|
96 |
@deprecated
|
williamr@2
|
97 |
*/
|
williamr@2
|
98 |
const TUint KPropertyKeyBluetoothPHYCount = KPropertyKeyBluetoothGetPHYCount;
|
williamr@2
|
99 |
|
williamr@2
|
100 |
//-------------
|
williamr@2
|
101 |
|
williamr@2
|
102 |
/**
|
williamr@2
|
103 |
KPropertyKeyBluetoothGetConnectingStatus
|
williamr@2
|
104 |
The key to observe whether the local device is paging another device (i.e. is connecting a physical link)
|
williamr@2
|
105 |
The P&S value will contain a boolean: ETrue if connecting, otherwise EFalse
|
williamr@2
|
106 |
@publishedAll
|
williamr@2
|
107 |
@released
|
williamr@2
|
108 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
109 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
110 |
*/
|
williamr@2
|
111 |
const TUint KPropertyKeyBluetoothGetConnectingStatus = (KUidBluetoothPubSubKeyBase + 2);
|
williamr@2
|
112 |
|
williamr@2
|
113 |
/**
|
williamr@2
|
114 |
KPropertyKeyBluetoothConnecting
|
williamr@2
|
115 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
116 |
Symbian OS platforms.
|
williamr@2
|
117 |
@publishedAll
|
williamr@2
|
118 |
@deprecated
|
williamr@2
|
119 |
*/
|
williamr@2
|
120 |
const TUint KPropertyKeyBluetoothConnecting = KPropertyKeyBluetoothGetConnectingStatus;
|
williamr@2
|
121 |
|
williamr@2
|
122 |
//-------------
|
williamr@2
|
123 |
|
williamr@2
|
124 |
/**
|
williamr@2
|
125 |
KPropertyKeyBluetoothGetScanningStatus
|
williamr@2
|
126 |
The key to observe what scans the Bluetooth hardware is currently performing
|
williamr@2
|
127 |
The P&S value contains an integer with the scan value as published in the Bluetooth Core Specification
|
williamr@2
|
128 |
|
williamr@2
|
129 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
130 |
KPropertyKeyBluetoothScanning with the category KPropertyUidBluetoothCategory in a non-secure
|
williamr@2
|
131 |
Symbian OS platform.
|
williamr@2
|
132 |
|
williamr@2
|
133 |
@see Bluetooth Core Specification
|
williamr@2
|
134 |
@publishedAll
|
williamr@2
|
135 |
@released
|
williamr@2
|
136 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
137 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
138 |
*/
|
williamr@2
|
139 |
const TUint KPropertyKeyBluetoothGetScanningStatus = (KUidBluetoothPubSubKeyBase + 3);
|
williamr@2
|
140 |
|
williamr@2
|
141 |
/**
|
williamr@2
|
142 |
KPropertyKeyBluetoothSetScanningStatus
|
williamr@2
|
143 |
The key to control what scans the Bluetooth hardware is currently performing
|
williamr@2
|
144 |
The P&S value contains an integer with the scan value as published in the Bluetooth Core Specification
|
williamr@2
|
145 |
|
williamr@2
|
146 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
147 |
KPropertyKeyBluetoothScanning with the category KPropertyUidBluetoothControlCategory in a non-secure
|
williamr@2
|
148 |
Symbian OS platform.
|
williamr@2
|
149 |
|
williamr@2
|
150 |
@see Bluetooth Core Specification
|
williamr@2
|
151 |
@publishedAll
|
williamr@2
|
152 |
@released
|
williamr@2
|
153 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
154 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
155 |
*/
|
williamr@2
|
156 |
const TUint KPropertyKeyBluetoothSetScanningStatus = (KUidBluetoothPubSubKeyBase + 4);
|
williamr@2
|
157 |
|
williamr@2
|
158 |
//-------------
|
williamr@2
|
159 |
|
williamr@2
|
160 |
/**
|
williamr@2
|
161 |
KPropertyKeyBluetoothGetLimitedDiscoverableStatus
|
williamr@2
|
162 |
The key to observe whether the local device is in Limited Discoverable mode
|
williamr@2
|
163 |
The P&S value will contain a boolean: ETrue if in limited discoverable mode, otherwise EFalse
|
williamr@2
|
164 |
|
williamr@2
|
165 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
166 |
KPropertyKeyBluetoothLimitedDiscoverable with the category KPropertyUidBluetoothCategory in a non-secure
|
williamr@2
|
167 |
Symbian OS platform.
|
williamr@2
|
168 |
|
williamr@2
|
169 |
@publishedAll
|
williamr@2
|
170 |
@released
|
williamr@2
|
171 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
172 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
173 |
*/
|
williamr@2
|
174 |
const TUint KPropertyKeyBluetoothGetLimitedDiscoverableStatus = (KUidBluetoothPubSubKeyBase + 5);
|
williamr@2
|
175 |
|
williamr@2
|
176 |
/**
|
williamr@2
|
177 |
KPropertyKeyBluetoothSetLimitedDiscoverableStatus
|
williamr@2
|
178 |
The key to control whether the local device is in Limited Discoverable mode
|
williamr@2
|
179 |
The P&S value will contain a boolean: ETrue if in limited discoverable mode, otherwise EFalse
|
williamr@2
|
180 |
|
williamr@2
|
181 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
182 |
KPropertyKeyBluetoothLimitedDiscoverable with the category KPropertyUidBluetoothControlCategory in a non-secure
|
williamr@2
|
183 |
Symbian OS platform.
|
williamr@2
|
184 |
|
williamr@2
|
185 |
@publishedAll
|
williamr@2
|
186 |
@released
|
williamr@2
|
187 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
188 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
189 |
*/
|
williamr@2
|
190 |
|
williamr@2
|
191 |
const TUint KPropertyKeyBluetoothSetLimitedDiscoverableStatus = (KUidBluetoothPubSubKeyBase + 6);
|
williamr@2
|
192 |
|
williamr@2
|
193 |
|
williamr@2
|
194 |
//-------------
|
williamr@2
|
195 |
|
williamr@2
|
196 |
/**
|
williamr@2
|
197 |
KPropertyKeyBluetoothGetDeviceClass
|
williamr@2
|
198 |
The key to observe the class of device of the local device
|
williamr@2
|
199 |
The P&S value will contain an integer of the local device class.
|
williamr@2
|
200 |
|
williamr@2
|
201 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
202 |
KPropertyKeyBluetoothDeviceClass with the category KPropertyUidBluetoothCategory in a non-secure
|
williamr@2
|
203 |
Symbian OS platform.
|
williamr@2
|
204 |
|
williamr@2
|
205 |
@see Bluetooth Core Specification
|
williamr@2
|
206 |
@publishedAll
|
williamr@2
|
207 |
@released
|
williamr@2
|
208 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
209 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
210 |
*/
|
williamr@2
|
211 |
const TUint KPropertyKeyBluetoothGetDeviceClass = (KUidBluetoothPubSubKeyBase + 7);
|
williamr@2
|
212 |
|
williamr@2
|
213 |
/**
|
williamr@2
|
214 |
KPropertyKeyBluetoothSetDeviceClass
|
williamr@2
|
215 |
The key to set the class of device of the local device
|
williamr@2
|
216 |
The P&S value will contain an integer of the local device class.
|
williamr@2
|
217 |
|
williamr@2
|
218 |
The use of this key is equivalent in a secure Symbian OS platform to the use of the key
|
williamr@2
|
219 |
KPropertyKeyBluetoothDeviceClass with the category KPropertyUidBluetoothControlCategory in a non-secure
|
williamr@2
|
220 |
Symbian OS platform.
|
williamr@2
|
221 |
|
williamr@2
|
222 |
@see Bluetooth Core Specification
|
williamr@2
|
223 |
@publishedAll
|
williamr@2
|
224 |
@released
|
williamr@2
|
225 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
226 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
227 |
*/
|
williamr@2
|
228 |
const TUint KPropertyKeyBluetoothSetDeviceClass = (KUidBluetoothPubSubKeyBase + 8);
|
williamr@2
|
229 |
|
williamr@2
|
230 |
//-------------
|
williamr@2
|
231 |
|
williamr@2
|
232 |
/**
|
williamr@2
|
233 |
KPropertyKeyBluetoothSetAFHHostChannelClassification
|
williamr@2
|
234 |
The key to send an AFH Host Channel Classification to the local Bluetooth hardware
|
williamr@2
|
235 |
The P&S value will contain a descriptor containing the AFH Host Channel Classification
|
williamr@2
|
236 |
bit set. A bit which is set to zero instructs the local Bluetooth hardware
|
williamr@2
|
237 |
not to hop to the frequency represented by that bit in a connection in which
|
williamr@2
|
238 |
it is master and which is using AFH. Also, if the local Bluetooth hardware is slave in a
|
williamr@2
|
239 |
connection, which is using AFH, an AFH Host Channel Classification may be used to advise
|
williamr@2
|
240 |
the remote master what frequencies to avoid.
|
williamr@2
|
241 |
|
williamr@2
|
242 |
NB. THIS IS SUPPORTED ONLY IN VERSION 9.0 AND THEREAFTER. The same functionality can be
|
williamr@2
|
243 |
accessed in 8.1 also through the use of the KPropertyKeyBluetoothAFHHostChannelClassification
|
williamr@2
|
244 |
key in conjunction with category KPropertyUidBluetoothControlCategory.
|
williamr@2
|
245 |
|
williamr@2
|
246 |
@see TBTAFHHostChannelClassification
|
williamr@2
|
247 |
@publishedAll
|
williamr@2
|
248 |
@released
|
williamr@2
|
249 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
250 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
251 |
*/
|
williamr@2
|
252 |
const TUint KPropertyKeyBluetoothSetAFHHostChannelClassification = (KUidBluetoothPubSubKeyBase + 9);
|
williamr@2
|
253 |
|
williamr@2
|
254 |
/**
|
williamr@2
|
255 |
KPropertyKeyBluetoothAFHHostChannelClassification
|
williamr@2
|
256 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
257 |
Symbian OS platforms.
|
williamr@2
|
258 |
|
williamr@2
|
259 |
@publishedAll
|
williamr@2
|
260 |
@deprecated
|
williamr@2
|
261 |
*/
|
williamr@2
|
262 |
const TUint KPropertyKeyBluetoothAFHHostChannelClassification = KPropertyKeyBluetoothSetAFHHostChannelClassification;
|
williamr@2
|
263 |
|
williamr@2
|
264 |
//-------------
|
williamr@2
|
265 |
|
williamr@2
|
266 |
/**
|
williamr@2
|
267 |
KPropertyKeyBluetoothGetRegistryTableChange
|
williamr@2
|
268 |
The key to observe changes in the Bluetooth Registry
|
williamr@2
|
269 |
The P&S value will contain an integer describing which of the tables in the Bluetooth Registry changed
|
williamr@2
|
270 |
see further in this header file.
|
williamr@2
|
271 |
This property is written to only by the Symbian OS Bluetooth sub-system.
|
williamr@2
|
272 |
@publishedAll
|
williamr@2
|
273 |
@released
|
williamr@2
|
274 |
@capability LocalServices Needed for read access to this property
|
williamr@2
|
275 |
*/
|
williamr@2
|
276 |
const TUint KPropertyKeyBluetoothGetRegistryTableChange = (KUidBluetoothPubSubKeyBase + 11);
|
williamr@2
|
277 |
|
williamr@2
|
278 |
/**
|
williamr@2
|
279 |
KPropertyKeyBluetoothRegistryTableChange
|
williamr@2
|
280 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
281 |
Symbian OS platforms.
|
williamr@2
|
282 |
|
williamr@2
|
283 |
@publishedAll
|
williamr@2
|
284 |
@deprecated
|
williamr@2
|
285 |
*/
|
williamr@2
|
286 |
const TUint KPropertyKeyBluetoothRegistryTableChange = KPropertyKeyBluetoothGetRegistryTableChange;
|
williamr@2
|
287 |
|
williamr@2
|
288 |
//-------------
|
williamr@2
|
289 |
|
williamr@2
|
290 |
// Some keys have values that are "wellknown" - these are enumerated here
|
williamr@2
|
291 |
// RegistryTableChanges
|
williamr@2
|
292 |
|
williamr@2
|
293 |
//-------------
|
williamr@2
|
294 |
|
williamr@2
|
295 |
/**
|
williamr@2
|
296 |
KRegistryChangeRemoteTable
|
williamr@2
|
297 |
@see KPropertyKeyBluetoothGetRegistryTableChange
|
williamr@2
|
298 |
The value in the KPropertyKeyBluetoothGetRegistryTableChange key if the Remote device table changed
|
williamr@2
|
299 |
@publishedAll
|
williamr@2
|
300 |
@released
|
williamr@2
|
301 |
*/
|
williamr@2
|
302 |
const TUint KRegistryChangeRemoteTable = (KUidBluetoothPubSubKeyBase + 12);
|
williamr@2
|
303 |
|
williamr@2
|
304 |
//-------------
|
williamr@2
|
305 |
|
williamr@2
|
306 |
/**
|
williamr@2
|
307 |
KRegistryChangeLocalTable
|
williamr@2
|
308 |
@see KPropertyKeyBluetoothGetRegistryTableChange
|
williamr@2
|
309 |
The value in the KPropertyKeyBluetoothGetRegistryTableChange key if the Local device table changed
|
williamr@2
|
310 |
@publishedAll
|
williamr@2
|
311 |
@released
|
williamr@2
|
312 |
*/
|
williamr@2
|
313 |
const TUint KRegistryChangeLocalTable = (KUidBluetoothPubSubKeyBase + 13);
|
williamr@2
|
314 |
|
williamr@2
|
315 |
//-------------
|
williamr@2
|
316 |
|
williamr@2
|
317 |
/**
|
williamr@2
|
318 |
KRegistryChangeCSYTable
|
williamr@2
|
319 |
@see KPropertyKeyBluetoothGetRegistryTableChange
|
williamr@2
|
320 |
The value in the KPropertyKeyBluetoothGetRegistryTableChange key if the CSY-settings table changed
|
williamr@2
|
321 |
@publishedAll
|
williamr@2
|
322 |
@released
|
williamr@2
|
323 |
*/
|
williamr@2
|
324 |
const TUint KRegistryChangeCSYTable = (KUidBluetoothPubSubKeyBase + 14);
|
williamr@2
|
325 |
|
williamr@2
|
326 |
//-------------
|
williamr@2
|
327 |
|
williamr@2
|
328 |
/**
|
williamr@2
|
329 |
KPropertyKeyBluetoothGetDeviceName
|
williamr@2
|
330 |
The key to observe the name of device of the local device
|
williamr@2
|
331 |
The P&S value will be of type EText and contain the local device name in Unicode.
|
williamr@2
|
332 |
At all times the name must have a length <= KHCILocalDeviceNameMaxLength (defined in hciconsts.h).
|
williamr@2
|
333 |
@see Bluetooth Core Specification
|
williamr@2
|
334 |
@publishedAll
|
williamr@2
|
335 |
@released
|
williamr@2
|
336 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
337 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
338 |
*/
|
williamr@2
|
339 |
const TUint KPropertyKeyBluetoothGetDeviceName = (KUidBluetoothPubSubKeyBase + 15);
|
williamr@2
|
340 |
|
williamr@2
|
341 |
/**
|
williamr@2
|
342 |
KPropertyKeyBluetoothSetDeviceName
|
williamr@2
|
343 |
The key to set the name of device of the local device
|
williamr@2
|
344 |
The P&S value will be of type EText and contain the local device name in Unicode.
|
williamr@2
|
345 |
At all times the name must have a length <= KHCILocalDeviceNameMaxLength (defined in hciconsts.h).
|
williamr@2
|
346 |
@see Bluetooth Core Specification
|
williamr@2
|
347 |
@publishedAll
|
williamr@2
|
348 |
@released
|
williamr@2
|
349 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
350 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
351 |
*/
|
williamr@2
|
352 |
const TUint KPropertyKeyBluetoothSetDeviceName = (KUidBluetoothPubSubKeyBase + 16);
|
williamr@2
|
353 |
|
williamr@2
|
354 |
//-------------
|
williamr@2
|
355 |
|
williamr@2
|
356 |
/**
|
williamr@2
|
357 |
KPropertyKeyBluetoothGetCorruptRegistryResetIndication
|
williamr@2
|
358 |
This key is intended to be used by the UI to be informed when a corrupt
|
williamr@2
|
359 |
Bluetooth registry has been detected so that the UI can inform the user
|
williamr@2
|
360 |
that all of the pairings they have made have been lost.
|
williamr@2
|
361 |
|
williamr@2
|
362 |
The P&S value will either be 0 or give the tick count, as given by
|
williamr@2
|
363 |
User::TickCount(), at the time which the corrupt Bluetooth Registry has
|
williamr@2
|
364 |
been restored or replaced. If the key is 0 this means that the Bluetooth
|
williamr@2
|
365 |
registry has not been found to be corrupt since the device was turned on.
|
williamr@2
|
366 |
@publishedAll
|
williamr@2
|
367 |
@released
|
williamr@2
|
368 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
369 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
370 |
*/
|
williamr@2
|
371 |
const TUint KPropertyKeyBluetoothGetCorruptRegistryResetIndication = (KUidBluetoothPubSubKeyBase + 17);
|
williamr@2
|
372 |
|
williamr@2
|
373 |
/**
|
williamr@2
|
374 |
KPropertyKeyBluetoothCorruptRegistryReset
|
williamr@2
|
375 |
This is a deprecated constant, maintained for source compatibility with non-secured
|
williamr@2
|
376 |
Symbian OS platforms.
|
williamr@2
|
377 |
|
williamr@2
|
378 |
@publishedAll
|
williamr@2
|
379 |
@deprecated
|
williamr@2
|
380 |
*/
|
williamr@2
|
381 |
const TUint KPropertyKeyBluetoothCorruptRegistryReset = KPropertyKeyBluetoothGetCorruptRegistryResetIndication;
|
williamr@2
|
382 |
|
williamr@2
|
383 |
//-------------
|
williamr@2
|
384 |
|
williamr@2
|
385 |
/**
|
williamr@2
|
386 |
KPropertyKeyBluetoothGetAcceptPairedOnlyMode
|
williamr@2
|
387 |
This key is intended to be used by the UI to discover whether a device will accept all connections or only paired ones.
|
williamr@2
|
388 |
The P&S value will contain a boolean: ETrue - the stack will only to accept connection requests from paired devices.
|
williamr@2
|
389 |
EFalse - the stack will accept connection requests from both paired and unpaired devices.
|
williamr@2
|
390 |
@publishedAll
|
williamr@2
|
391 |
@released
|
williamr@2
|
392 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
393 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
394 |
*/
|
williamr@2
|
395 |
const TUint KPropertyKeyBluetoothGetAcceptPairedOnlyMode = (KUidBluetoothPubSubKeyBase + 18);
|
williamr@2
|
396 |
|
williamr@2
|
397 |
/**
|
williamr@2
|
398 |
KPropertyKeyBluetoothSetAcceptPairedOnlyMode
|
williamr@2
|
399 |
The key to set the mode for handling connection requests
|
williamr@2
|
400 |
The P&S value will contain a boolean: ETrue - the user wishes ONLY to accept connection requests from paired devices.
|
williamr@2
|
401 |
EFalse - the user wishes to accept connection requests from both paired and unpaired devices.
|
williamr@2
|
402 |
@publishedAll
|
williamr@2
|
403 |
@released
|
williamr@2
|
404 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
405 |
@capability NetworkControl Needed for both read and write access to this property
|
williamr@2
|
406 |
*/
|
williamr@2
|
407 |
const TUint KPropertyKeyBluetoothSetAcceptPairedOnlyMode = (KUidBluetoothPubSubKeyBase + 19);
|
williamr@2
|
408 |
|
williamr@2
|
409 |
/**
|
williamr@2
|
410 |
KPropertyKeyBluetoothHostResolverActive
|
williamr@2
|
411 |
The key is intended to be used by the UI to discover whether the device is attempting to do a discovery
|
williamr@2
|
412 |
If the device is attempting a discovery activities such as streaming of AV data will be affected
|
williamr@2
|
413 |
The P&S value will contain a boolean: ETrue - the stack is attempting a discovery/discovery+rnr
|
williamr@2
|
414 |
EFalse - the stack is curently not attempting a discovery
|
williamr@2
|
415 |
@publishedAll
|
williamr@2
|
416 |
@released
|
williamr@2
|
417 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
418 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
419 |
*/
|
williamr@2
|
420 |
const TUint KPropertyKeyBluetoothHostResolverActive = (KUidBluetoothPubSubKeyBase + 20);
|
williamr@2
|
421 |
|
williamr@2
|
422 |
|
williamr@2
|
423 |
/**
|
williamr@2
|
424 |
KPropertyKeyBluetoothGetSimplePairingDebugMode
|
williamr@2
|
425 |
The key is intended to be used by a UI to provide an indication to the user of the device that the
|
williamr@2
|
426 |
Symbian simple pairing debug mode has been enabled.
|
williamr@2
|
427 |
As this mode should only be being used by engineers, and provides a potential security risk for
|
williamr@2
|
428 |
end users the UI should make obvious to an end-user that they have entered this mode and what it
|
williamr@2
|
429 |
means for them.
|
williamr@2
|
430 |
@capability LocalServices Needed for both read and write access to this property
|
williamr@2
|
431 |
@capability NetworkControl Needed for write access to this property
|
williamr@2
|
432 |
*/
|
williamr@2
|
433 |
const TUint KPropertyKeyBluetoothGetSimplePairingDebugMode = (KUidBluetoothPubSubKeyBase + 22);
|
williamr@2
|
434 |
|
williamr@2
|
435 |
|
williamr@2
|
436 |
#endif //BT_SUBSCRIBE_H
|