equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef __BTSAP_DOMAIN_PS_KEYS_H__ |
|
18 #define __BTSAP_DOMAIN_PS_KEYS_H__ |
|
19 |
|
20 const TUid KPSUidBluetoothSapConnectionState = {0x10204DB1}; |
|
21 |
|
22 /** |
|
23 * Information about the state of the BTSap connection |
|
24 * |
|
25 * Possible integer values: |
|
26 * 0 (EBTSapNotConnected) Not connected |
|
27 * 1 (EBTSapConnecting) Connection under negotiation |
|
28 * 2 (EBTSapConnected) Connected |
|
29 * |
|
30 * Default value: 0 (EBTSapNotConnected) |
|
31 * |
|
32 * (Shared data key: KSapState) |
|
33 */ |
|
34 const TUint KBTSapConnectionState = 0x00000001; |
|
35 |
|
36 // Enumeration that defines the different SAP connection states |
|
37 enum TBTSapState |
|
38 { |
|
39 EBTSapNotConnected = 0, |
|
40 EBTSapConnecting = 1, |
|
41 EBTSapConnected = 2, |
|
42 EBTSapAccepted = 3, |
|
43 EBTSapRejected = 4 |
|
44 }; |
|
45 |
|
46 #endif // __BTSAP_DOMAIN_PS_KEYS_H__ |