|
1 /* |
|
2 * Copyright (c) 2007-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 |
|
18 |
|
19 |
|
20 #ifndef EPOS_DEFAULTPROXYPRIVATECRKEYS_H |
|
21 #define EPOS_DEFAULTPROXYPRIVATECRKEYS_H |
|
22 |
|
23 /** |
|
24 * @file epos_defaultproxyprivatecrkeys.h |
|
25 * |
|
26 * A private Central Repository API for storing configuration parameters |
|
27 * like UID of last working GPS PSY. These parameters control functionality |
|
28 * of the Default Proxy. |
|
29 */ |
|
30 |
|
31 |
|
32 /** |
|
33 * Default Proxy Configuration API CenRep UID. |
|
34 */ |
|
35 const TUid KCRUidDefaultProxyConfiguration = { 0x101f7a7f }; |
|
36 |
|
37 /** |
|
38 * Contains the UID of last time working PSY that based on GPS technology. |
|
39 * |
|
40 * The format of this key is string. |
|
41 */ |
|
42 const TUint32 KDefaultProxyLastWorkingGpsPsy = 0x10000001; |
|
43 |
|
44 /** |
|
45 * Maximum timeshift value when a GPS PSY is in ready or active state. If a |
|
46 * GPS PSY is in ready or active state and it can't give a fix information |
|
47 * within timeshift value, default proxy will try next PSY. |
|
48 * |
|
49 * The format of this key is integer. |
|
50 */ |
|
51 const TUint32 KDefaultProxyTimeshiftInActiveOrReady = 0x10000002; |
|
52 |
|
53 /** |
|
54 * Maximum timeshift value when a GPS PSY is in other state than ready or |
|
55 * active state. If a GPS PSY is not in active or ready state, and it failed |
|
56 * to give a fix within this timeshift value, default proxy will try next PSY. |
|
57 * |
|
58 * The format of this key is integer. |
|
59 */ |
|
60 const TUint32 KDefaultProxyTimeshiftNotInActiveOrReady = 0x10000003; |
|
61 |
|
62 /** |
|
63 * Timeout value to change PSY fix state to unknown when a GPS PSY is |
|
64 * not used any more( no location request on going). |
|
65 */ |
|
66 const TUint32 KDefaultProxyPsyStateUnknownTimeout = 0x10000004; |
|
67 |
|
68 /** |
|
69 * Default proxy will check the external GPS periodically. This value defines |
|
70 * the periodic length that default proxy shall check the external GPS device. |
|
71 */ |
|
72 const TUint32 KDefaultProxyExternalGPSCheckingTimeout = 0x10000005; |
|
73 |
|
74 /** |
|
75 * If there is no more location request received in default proxy, default |
|
76 * proxy will start the cleanup timer. When cleanup timer expires, default |
|
77 * proxy will cancel all location request that has been issued. |
|
78 */ |
|
79 const TUint32 KDefaultProxyCleanupTimeout = 0x10000006; |
|
80 |
|
81 |
|
82 #endif // EPOS_DEFAULTPROXYPRIVATECRKEYS_H |
|
83 |
|
84 // End of File |