51
|
1 |
/*
|
|
2 |
* Copyright (c) 2005 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: CR keys for fotaserver
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef FOTASERVER_PRIVATE_KEYS_H
|
|
21 |
#define FOTASERVER_PRIVATE_KEYS_H
|
|
22 |
|
|
23 |
// CONSTANTS
|
|
24 |
|
|
25 |
// FS key UID
|
|
26 |
const TUid KCRUidFotaServer = { 0x102072C4 };
|
|
27 |
|
|
28 |
// Device manager key UID
|
|
29 |
const TUid KPSUidNSmlDMSyncApp = {0x101f6de5};
|
|
30 |
// Whether update agent should be simulated by FS
|
|
31 |
const TUint32 KSimulateUpdateAgent = 0x00000001;
|
|
32 |
|
|
33 |
//Flag to enable/disable the feature ,.."Send Generic alert after device reboots"
|
|
34 |
//Allowed values 1 , 0
|
|
35 |
const TUint32 KGenericAlertResendAfterBoot = 0x00000002;
|
|
36 |
|
|
37 |
//Flag to configure number of retries for sending GA in failure cases.
|
|
38 |
|
|
39 |
const TUint32 KGenericAlertRetries = 0x00000003;
|
|
40 |
|
|
41 |
//Determines state of fota update.
|
|
42 |
//0 - Default , no action taken.
|
|
43 |
//1 - Firmware update/GA
|
|
44 |
//2. Download Interrupted
|
|
45 |
|
|
46 |
const TUint32 KFotaUpdateState = 0x00000004;
|
|
47 |
|
|
48 |
//Determines whether the Fota Monitory Service is enabled or not.
|
|
49 |
//0 (default ) - Feature OFF
|
|
50 |
//1 - Feature ON
|
|
51 |
|
|
52 |
const TUint32 KFotaMonitoryServiceEnabled = 0x00000005;
|
|
53 |
|
|
54 |
/*
|
|
55 |
* This key is used to determine the maximum number of postpones allowed for a FOTA Update.
|
|
56 |
* Default value : 3
|
|
57 |
*/
|
|
58 |
|
|
59 |
const TUint32 KFOTAMaxPostponeCount = 0x00000006;
|
|
60 |
|
|
61 |
|
|
62 |
/*
|
|
63 |
* This key is used to determine the number of postpones done by the user for a particular FOTA Update.
|
|
64 |
* Default value : 0
|
|
65 |
*/
|
|
66 |
|
|
67 |
const TUint32 KFOTAUserPostponeCount = 0x00000007;
|
|
68 |
|
|
69 |
const TUint32 KUpdateRequesterUid = 0x0000008;
|
|
70 |
|
|
71 |
const TUint32 KFOTADownloadRestartCount = 0x0000009;
|
|
72 |
|
|
73 |
#endif // FOTASERVER_PRIVATE_KEYS_H
|
|
74 |
|
|
75 |
// End of File
|